Commit Graph

63 Commits

Author SHA1 Message Date
Fredrik Adelöw 38ba897857 v0.1.1-alpha.9 2020-06-17 15:24:54 +02:00
Patrik Oldsberg dbc29358ed v0.1.1-alpha.8 2020-06-12 22:09:21 +02:00
ewnd9 a6b775540f chore(lighthouse): toggle private in package.json 2020-06-12 19:42:58 +03: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
Patrik Oldsberg c53bafc5f9 v0.1.1-alpha.7 2020-06-09 14:24:56 +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 0d1655c65b packages,plugins: use publishConfig to configure published entrypoints 2020-06-04 18:01:15 +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
Patrik Oldsberg d62c6748a0 v0.1.1-alpha.6 2020-05-20 10:49:53 +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 553bfddb8e Bump jest to 26.0.1 2020-05-19 14:22:14 +02:00
Patrik Oldsberg 3c075c3093 Merge pull request #900 from spotify/eide/bump-tl-jest-dom-5-7-0
Manually bump @testing-library/jest-dom from 4.2.4 to 5.7.0
2020-05-18 15:08:17 +02:00
Marcus Eide fb3e003272 Bump testing-library/user-event to 10.2.4 2020-05-18 12:59:58 +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
Marcus Eide 8429710760 Bump testing-library/jest-dom to 5.7.0 2020-05-18 11:11:26 +02:00
Patrik Oldsberg 1dd33e8e33 packages,plugins: remove extra tsconfig files 2020-05-17 23:30:16 +02:00
Patrik Oldsberg fb78fb2da4 packages,plugins: add main:src package.json field to all built packages 2020-05-17 23:29:59 +02:00
Patrik Oldsberg a82d2a523d Merge pull request #864 from spotify/rugvip/srct
packages,plugins: point types to src/ for development
2020-05-14 15:48:34 +02:00
Patrik Oldsberg 682d9ce612 packages,plugins: point types to src/ for development + add pre/post back cli commands 2020-05-14 14:24:19 +02:00
Patrik Oldsberg d10325da29 Merge pull request #860 from spotify/rugvip/cleandist
packages,plugins: only publish .js and .d.ts files in dist
2020-05-14 13:47:50 +02:00
Patrik Oldsberg d76f8714a4 packages,plugins: only publish .js and .d.ts files in dist 2020-05-14 11:32:07 +02:00
Patrik Oldsberg 5553d2dc94 bump react-use to 14.2.0 + add to core 2020-05-14 11:02:53 +02:00
Patrik Oldsberg 2bde9d3854 v0.1.1-alpha.5 2020-05-13 16:28:41 +02:00
dependabot-preview[bot] ab5c7c533c build(deps): bump @types/jest from 24.9.1 to 25.2.1
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.9.1 to 25.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 12:29:29 +00:00
Patrik Oldsberg 1713fac765 packages,plugins: bump react-router-dom to 5.2.0 2020-05-13 13:56:59 +02:00
Patrik Oldsberg 81cb54d52b plugins/lighthouse: add lighthouse api to dev env 2020-05-08 18:53:04 +02:00
Patrik Oldsberg 198bf2d1a6 plugins: applied diff for all plugins to enable plugin:serve 2020-05-08 17:18:36 +02:00
Patrik Oldsberg f913777de9 Merge pull request #761 from spotify/rugvip/adiff
plugins: almost fully sync plugins with templates
2020-05-08 16:06:15 +02:00
Patrik Oldsberg 8fa65fc519 plugins: added diff command to all plugins and templates 2020-05-08 13:26:37 +02:00
Patrik Oldsberg 7f06008496 plugins: almost fully sync plugins with templates 2020-05-08 13:26:27 +02:00
dependabot-preview[bot] e44125e666 build(deps-dev): bump @types/testing-library__jest-dom (#743)
Bumps [@types/testing-library__jest-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/testing-library__jest-dom) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/testing-library__jest-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 08:28:10 +02:00
dependabot-preview[bot] 50a5c52a35 build(deps-dev): bump @types/testing-library__jest-dom (#737)
Bumps [@types/testing-library__jest-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/testing-library__jest-dom) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/testing-library__jest-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-07 17:12:36 +02:00
Fredrik Adelöw c1dd24a100 OCD time: devDependencies consistently below dependencies :) 2020-05-07 08:46:10 +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
Patrik Oldsberg b87d266c74 packages/cli: target modern browsers and switch output to module 2020-05-01 15:55:47 +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
Patrik Oldsberg 3dc707c156 packages: only include dist folder in published packages 2020-04-25 19:42:47 +02:00
Patrik Oldsberg 46803998cd Merge pull request #621 from spotify/rugvip/plugin-serve
Make plugin:serve work and add for home-page plugin + fix declaration maps
2020-04-24 18:50:39 +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
Patrik Oldsberg 7ac528b1ce packages/cli: update eslint config test config to include dev/ and only setupTests directly in src 2020-04-23 00:51:31 +02:00