Commit Graph

5898 Commits

Author SHA1 Message Date
blam 6130e11280 Merge branch 'master' of github.com:spotify/backstage into blam/msw
* 'master' of github.com:spotify/backstage: (76 commits)
  Fix incorrect backend path in docs (#1258)
  packages/core-api: temporary solution for giving access to config when creating APIs
  chore(catalog): simplify the filter types a little
  fix(catalog-backend): update the mock-data script to point to new example entities
  renamed example_components to example-components and deleted old exampled
  feat(catalog): add back ability for OR/IN type searches
  Add sample plugins to sidebar (#1243)
  chore(catalog): rename all pages and components to use Entity nomenclature
  fix(catalog): moar clean up
  Updated examples
  fix(catalog): add types and clean up code
  Added owner and lifecycle to catalog table, slightly updated examples
  chore(catalog): the component type is gone
  yarn.lock again...
  fix(catalog): merge errors
  review fixes. i thought about another force update for a moment :D
  move components to separate files
  Use URLSearchParams
  fix(catalog): moar clean up
  fix(catalog): make code intention clear by renaming
  ...
2020-06-11 23:12:27 +02:00
blam 6f80d1b9bb chore(react-router-v6): Fixing what I think is the last of the routing for the application 2020-06-11 21:31:02 +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 7ecfceac0f chore(react-router-v6): made some more progress on getting the tests passing 2020-06-11 18:35:53 +02:00
blam c1a21d53af Merge branch 'master' of github.com:spotify/backstage into blam/react-router
* 'master' of github.com:spotify/backstage: (45 commits)
  chore(catalog): simplify the filter types a little
  fix(catalog-backend): update the mock-data script to point to new example entities
  renamed example_components to example-components and deleted old exampled
  feat(catalog): add back ability for OR/IN type searches
  Add sample plugins to sidebar (#1243)
  chore(catalog): rename all pages and components to use Entity nomenclature
  fix(catalog): moar clean up
  Updated examples
  fix(catalog): add types and clean up code
  Added owner and lifecycle to catalog table, slightly updated examples
  chore(catalog): the component type is gone
  yarn.lock again...
  fix(catalog): merge errors
  review fixes. i thought about another force update for a moment :D
  move components to separate files
  fix(catalog): moar clean up
  fix(catalog): make code intention clear by renaming
  Merge pull request #1214 from spotify/feat/star-components
  Merge pull request #1194 from spotify/freben/backend-common-service
  Merge pull request #1215 from spotify/mob/sidebar-auth
  ...
2020-06-11 17:36:37 +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
Fredrik Adelöw d689f664b8 Merge pull request #1255 from spotify/freben/simple-filters
chore(catalog): simplify the filter types a little
2020-06-11 16:13:45 +02:00
Fredrik Adelöw 469e362881 chore(catalog): simplify the filter types a little 2020-06-11 15:16:25 +02:00
Patrik Oldsberg 8d4e3080e9 Merge pull request #1068 from chanwit/gitops-profiles
New plugin for creating GitOps-managed Kubernetes right from Backstage.
2020-06-11 15:03:27 +02:00
Fredrik Adelöw 5ee0bd47d9 fix(catalog-backend): update the mock-data script to point to new example entities 2020-06-11 14:51:43 +02:00
Sebastian Qvarfordt c413c7f762 Merge pull request #1245 from hooloovooo/add-catalog-data
Added owner and lifecycle to catalog table, updated examples
2020-06-11 14:02:46 +02:00
Fredrik Adelöw 0b710d36f2 Merge pull request #1247 from spotify/freben/multi
feat(catalog): add back ability for OR/IN type searches
2020-06-11 13:18:39 +02:00
Sebastian Qvarfordt 4f43119e19 renamed example_components to example-components and deleted old exampled 2020-06-11 13:15:14 +02:00
Fredrik Adelöw d156a6ca1f feat(catalog): add back ability for OR/IN type searches 2020-06-11 12:36:59 +02:00
Stefan Ålund d0518ee5d9 Add sample plugins to sidebar (#1243)
* Add sample plugins to sidebar

* Update RadarPage.test.tsx
2020-06-11 12:25:15 +02:00
Fredrik Adelöw 1d05fea3c1 chore(catalog): rename all pages and components to use Entity nomenclature 2020-06-11 12:07:17 +02:00
Nikita Dudnik 0b03318cea Merge pull request #1216 from spotify/ndudnik/unregister-entity
Unregister entity
2020-06-11 12:03:53 +02:00
Nikita Nek Dudnik 62b1d6a3ed fix(catalog): moar clean up 2020-06-11 11:55:48 +02:00
Sebastian Qvarfordt 806824f0d9 Updated examples 2020-06-11 11:55:16 +02:00
Nikita Nek Dudnik 94a23357f2 fix(catalog): add types and clean up code 2020-06-11 10:56:35 +02:00
Sebastian Qvarfordt da12712744 Added owner and lifecycle to catalog table, slightly updated examples 2020-06-11 10:56:07 +02:00
Fredrik Adelöw d7d3bbeaeb chore(catalog): the component type is gone 2020-06-11 09:08:31 +02:00
Ivan Shmidt a1a60ad9d1 feat: hmr logic for the backend 2020-06-11 02:51:06 +02:00
Nikita Nek Dudnik e7862589f6 fix(catalog): merge errors 2020-06-11 00:07:02 +02:00
Nikita Nek Dudnik 6802d54c95 Merge branch 'master' into ndudnik/unregister-entity 2020-06-10 23:44:27 +02:00
Fredrik Adelöw a6ec92a50d Use URLSearchParams 2020-06-10 16:49:41 +02:00
Nikita Nek Dudnik ab93732df1 fix(catalog): moar clean up 2020-06-10 16:27:03 +02:00
Nikita Nek Dudnik bbaa3960a8 fix(catalog): make code intention clear by renaming 2020-06-10 16:27:00 +02:00
Ben Lambert 7405df609f Merge pull request #1214 from spotify/feat/star-components
Ability to star items in the catalog table
2020-06-10 16:26:48 +02:00
Fredrik Adelöw 7a1ba7e40f Merge pull request #1194 from spotify/freben/backend-common-service
feat(backend-common): add common code for service shell
2020-06-10 16:26:42 +02:00
Nikita Nek Dudnik a2de864168 Merge pull request #1223 from spotify/freben/named
chore(catalog): consistent use of named exports
2020-06-10 16:26:21 +02:00
Nikita Nek Dudnik 47341133c9 Merge pull request #1156 from spotify/shmidt-i/followup-register-flow
Change URL for the entity view
2020-06-10 16:23:53 +02:00
Sebastian Qvarfordt c3f0759c2d Merge pull request #1213 from hooloovooo/move-edit-metadata-button
Moved edit button in catalog to actions menu
2020-06-10 16:11:04 +02:00
Patrik Oldsberg d5641a9713 Merge pull request #1212 from spotify/rugvip/release
Release v0.1.1-alpha.7
2020-06-10 16:10:56 +02:00
Ben Lambert 32d91af6ce Enable Filtering of the Catalog Page (#1143)
* feat(catalog/Filters): Add ability to render a React component as the count. Good for loading states and async data rendering for counts.

* chore(Catalog/filters): Updating the table so that we use loading states of the table rather than the panel

* chore(Catalog/filters): added some nice things for enabling the filtering with some nice count componeents

* feat(Catalog/filters): Fetch the correct data and added in enum types to make some nice resolvers

* chore(Catalog/filters): Use the new enum type here

* chore(Catalog/filters): Removing the unused import to fix lintig

* chore(Catalog/filters): Addressing some PR comments

* feat(catalog/filters): Making WebStorage return the same instance for the same bucket for subscriptions

* chore(core/Storage): fixing some issues with different instances of the storage and adding tests for it

* chore(catalog/filters): fixing some tests and trying to remove some of the act warnings in the tests
2020-06-10 16:10:50 +02:00
Nikita Nek Dudnik 32486d1bd8 Merge pull request #1199 from spotify/freben/unregister
Unbreak the unregister dialog after catalog changes
2020-06-10 16:10:34 +02:00
Fredrik Adelöw 5a8aee4a5c Use location?.type once more 2020-06-10 16:07:09 +02:00
Fredrik Adelöw 4ba017d1e8 chore(catalog): clean up CatalogTable, use only Entity 2020-06-10 16:07:09 +02:00
Fredrik Adelöw 5a128f3f40 chore(catalog): clean up ComponentPage, use only Entity 2020-06-10 16:05:28 +02:00
Marcus Eide 20486825b8 Documentation: Add guide for how to add an auth provider to the backend (#1145)
* Add guide for how to add a auth provider to the backend

* Move to new docs folder and small corrections

* Split oauth and non-oauth use-cases up and add more info about the verifyFunc

* Move summary to top and add note about non-oauth providers being experimental
2020-06-10 16:04:04 +02:00
Fredrik Adelöw 36d4dfcfa7 chore(catalog): tweak getEntityByName a bit, handle 404s properly 2020-06-10 16:02:18 +02:00
Nikita Nek Dudnik 7a654c6d19 feat(catalog): implement entities with location removal 2020-06-10 14:23:26 +02:00
blam b619490fe0 chore(catalog/star): only set the cache if there are entries from the response 2020-06-10 13:58:50 +02:00
blam 983c119c78 chore(catalog/star): added a comment about why we are using a simple cache here 2020-06-10 13:57:17 +02:00
blam 27879655a7 chore(catalog/star): removing msw dependency, wrong branch 2020-06-10 13:53:55 +02:00
blam f4375dcfe1 Merge branch 'master' of github.com:spotify/backstage into feat/star-components
* 'master' of github.com:spotify/backstage:
  chore(catalog): consistent use of named exports
  fix(core): Tabs useEffect dependency list
  Optional namespace and name as one part of URL
  Remove deleted UserBadge component from Sidebar story
  remove LoggedUserBadge
  make the sidebar pin button show up again
  feat(backend-common): add common code for service shell
  await promise.all when setting isSignedIn
  PinButton wip
  List auth providers in UserSettings
  Collapsible sidebar item for auth providers
  fix(core): lint error
  refactor(core): update tabs
  Fix tests
  /catalog/:namespace?/:kind/:name/
  feat(core): add Tabs component
2020-06-10 12:32:38 +02:00
Fredrik Adelöw 388cb18ed2 Merge pull request #1194 from spotify/freben/backend-common-service
feat(backend-common): add common code for service shell
2020-06-10 11:33:24 +02:00
Fredrik Adelöw 9964044ed6 chore(catalog): consistent use of named exports 2020-06-10 08:36:32 +02:00
blam fb8e8e1351 feat(catalog/msw): Implementing msw for a test with the CatalogApi Client 2020-06-10 02:56:24 +02:00