Commit Graph

28 Commits

Author SHA1 Message Date
Fredrik Adelöw 7389f326d9 chore: add import/newline-after-import lint rule 2020-07-02 11:25:04 +02:00
Patrik Oldsberg 46dc28c4b0 plugins/lighthouse: fix CreateAudit test selecting child of button 2020-06-24 19:38:56 +02:00
blam 47766635b6 chore(react-router-v6): Fixing navigation in the lighthouse plugin 2020-06-11 20:20:58 +02:00
blam da493b1fc9 chore(react-router-v6): revert paralell for tests, as my computer stared over 9000 node processes making my machine grind to a machine babbage would have disapointed with 2020-06-11 19:12:58 +02:00
blam 48aacfbe17 Merge branch 'master' of github.com:spotify/backstage into blam/react-router
* 'master' of github.com:spotify/backstage: (89 commits)
  Use URLSearchParams
  Use location?.type once more
  chore(catalog): clean up CatalogTable, use only Entity
  chore(catalog): clean up ComponentPage, use only Entity
  chore(catalog): tweak getEntityByName a bit, handle 404s properly
  chore(catalog/star): only set the cache if there are entries from the response
  chore(catalog/star): added a comment about why we are using a simple cache here
  chore(catalog/star): removing msw dependency, wrong branch
  chore(catalog): consistent use of named exports
  chore(msw): Added msw dependency
  chore(catalog/star): fixing issues with unmocked deps
  chore(catalog/star): adding a simple cache to stop flicker as a stopgap
  chore(catalog/star): reworking how the starring works, it now stores uri sort of references for entities
  fix(core): Tabs useEffect dependency list
  docs: format with prettier (#1218)
  Optional namespace and name as one part of URL
  docs/auth: added overview, oauth description and glossary
  docs: added plantuml generation script
  docs: added prettier config
  Remove deleted UserBadge component from Sidebar story
  ...
2020-06-11 17:36:19 +02:00
blam fada5ab4b0 chore(react-router-v6): Tidying up some more components and moving across to the new API 2020-06-07 14:54:34 +02:00
blam 4fdb1def39 chore(react-router-v6): starting to move things to react-router-v6 2020-06-07 03:07:46 +02:00
Patrik Oldsberg 9f50e7c1b4 packages,plugins: fix lint issues 2020-06-01 16:09:10 +02:00
Patrik Oldsberg e32f5a49ff packages/test-utils: do app wrapping with actual app + remove wrapInThemedTestApp 2020-06-01 13:43:51 +02:00
Adil Alimbetov f72d97dc17 Sidebar logo update (#814)
* Testing logo ux

* Updated logo on sidebar

* removed unused vars

* adjusted types on icon components
2020-05-27 10:13:41 +02:00
Patrik Oldsberg 4e7e0833cc packages/core: add observable consumer to ErrorApi 2020-05-25 22:19:02 +02:00
Patrik Oldsberg 20b48dfed7 packages/core: only export createApiRef + dashes in IDs only factory objects for ApiTestRegistry 2020-05-24 23:09:24 +02:00
Marcus Eide d794c65c2e Use jest.requireMock instead of deprecated require.requireMock 2020-05-19 14:22:15 +02:00
Marcus Eide 0b884d64f6 Fix problem with spread types not allowed 2020-05-19 14:22:14 +02:00
Marcus Eide 324245586f Change import of jest-dom in setupTests.ts according to change in api 2020-05-18 11:11:58 +02:00
Fredrik Adelöw 6424ce2306 Ran prettier everywhere 2020-05-07 07:21:27 +02:00
Sebastian Qvarfordt 425cf93c08 Replacing SortableTable and a few MUI tables with new Table component (#722)
* Befind work of replacing tables with new Table component

* Removed test plugins and fixed test

* Fixed lint issue

* Removed toolbar from lighthouse audit page

* Moved column out of auditstables render function, no no interation with useInterval
2020-05-06 12:58:34 +02:00
Sebastian Qvarfordt 190f11c8f7 Table component with filter and search (#600)
* Initial table component with storybook example

* Moved dependencies to package/core

* Removed dependency to @backstage/core from base package.json

* Clean up some examples and remove type from columns, replacing with property align instead

* Removed more unused stuff and added toggle for filter input

* Fixed some lint issues

* Added example with material-table

* Convert column array passed into MaterialTable Backstage component into MT column array. Allow multiple values in one cell

* Removed subheader from MT

* Nicer double value cell

* Added custom sorting to example

* Cleaned up stories a bit

* Setting field instead of customSort

* Improve styling. Still needs better theme integration

* Using more colors from theme

* Fixed typing issue

* Removed react-table implementation and cleaned up material-table implementation

* Fixed some type issues

* Fixed lint issues
2020-05-04 11:10:35 +02:00
Jose Balanza Martinez ea880db04a Use useInterval() hook to refetch audit status in lighthouse plugin WIP (#623)
* Fix error when using yarn lint

* Update logic for create app

* Add eslint-react-hooks

* Move common utils to utils.ts

* Add AuditListRow that refetches the audit

* Fixed Audit state using a react component

* Change AuditListRow to AuditRow

* Fixed some eslint-react-hooks warnings

* Change AuditListRow to AuditRow

* Merge

* Fixes tests in AuditListTable.test.tsx

* Refactored based on freben's review

* Remove eslint-plugin-react-hooks
2020-04-27 16:59:52 +02:00
Bilawal Hameed 55c0385dc4 fix(lighthouse): corrected import in readme (#641)
* fix(lighthouse): corrected import in readme

* fix(lighthouse): updated docs in Intro component
2020-04-24 16:05:36 +02:00
Stefan Ålund f774c115dc Extract TrendLine from Lighthouse plugin (#532)
* Extract TrendLine from Lighthouse plugin

* Create TrendLine.stories.tsx

* Change lifecycle names

* Made story example smaller

* Review comment

* Update TrendLine.tsx
2020-04-17 08:25:20 +02:00
Patrik Oldsberg d9f34e3fff packages/theme: make BackstageTheme a type and update usages 2020-04-16 11:48:36 +02:00
Patrik Oldsberg c8fb4c153e backstage/theme: make colors private, access through theme instead 2020-04-14 18:45:47 +02:00
blam 0d27c0dfda chore: need to fix the import on the tests 2020-04-09 04:37:06 +02:00
blam 0feee2b1a9 feat: fixes #523. Remove the default export from plugins 2020-04-09 04:36:55 +02:00
Paul Marbach f6d3c5ca4f test: update lint config to extend cli config explicitly for plugins 2020-04-08 12:20:20 -04:00
Paul Marbach 1d6765e044 thank you for the comments, @freben 2020-04-08 12:20:20 -04:00
Paul Marbach 06228b71e9 feat: implement Lighthouse plugin using lighthouse-audit-service 2020-04-08 11:21:20 -04:00