Commit Graph

1088 Commits

Author SHA1 Message Date
Patrik Oldsberg 592ca02612 Merge branch 'master' into gitops-profiles 2020-06-09 23:24:34 +02:00
Patrik Oldsberg c53bafc5f9 v0.1.1-alpha.7 2020-06-09 14:24:56 +02:00
Ben Lambert 00d33f93e4 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-09 13:28:40 +02:00
Fredrik Adelöw 4d7b28e89c Merge pull request #1199 from spotify/freben/unregister
Unbreak the unregister dialog after catalog changes
2020-06-09 10:33:15 +02:00
Fredrik Adelöw 5f56f981b5 Unbreak the unregister dialog after catalog changes 2020-06-09 10:18:38 +02:00
Marcus Eide e9a2444c9a 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-09 09:39:27 +02:00
Stefan Ålund 920f496a7f Use service theme (#1197)
* Use service theme

* Theme spacing

* breadcrumbs
2020-06-08 20:45:26 +02:00
Benjamin Rowell 056c794451 Make DismissibleBanner persistently dismissed #1153 (#1168)
* Enables DismissableBanner instance in localstorage

When dismissed, a string representation of the DismissableBanner
is sent to localstorage using the storageapi, to allow persistance in
a user session.

* Adds tests and cleans up DismissableBanner changes

DismissbleBanner now has an id prop. This prop is used when
adding a dismissed banner instance to web storage.

The namespace dismissed banners are added to is now set to
"notifications".

Removed refrences to old settings.

Added a test to check web storage functionality.

Updates CatalogPage to add id prop.

Updates CatalogPage test to ensure storageApiRef is valid.

* Updates DismissableBanner stories to include id.

* Adds ApiProvider to DismissableBanner stories.

* Trigger CI

* Removed jest calls and replaced with ErrorApi.

* Updates imports to @backstage/core
2020-06-08 20:16:51 +02:00
Patrik Oldsberg 2bbdf644c8 Merge pull request #1203 from spotify/rugvip/apimocks
packages/test-utils: added MockErrorApi and include in all test apps
2020-06-08 18:57:08 +02:00
Patrik Oldsberg 47d3f04bb7 Merge pull request #1201 from spotify/rugvip/nestapis
packages/core-api,test-utils
2020-06-08 18:21:01 +02:00
Patrik Oldsberg b5b95138f4 packages/test-utils: initial test registry with ErrorApi mock + tests 2020-06-08 18:00:19 +02:00
Patrik Oldsberg c01fe79642 packages/test-utils: added MockErrorApi 2020-06-08 18:00:19 +02:00
Patrik Oldsberg 676c4af4fd package/test-utils: provide renderInTestApp + act wrapping + docs + tests 2020-06-08 17:57:49 +02:00
Fredrik Adelöw f4ed330002 Deal with breaks in table titles (#1198) 2020-06-08 16:37:12 +02:00
Patrik Oldsberg f55959b680 packages/core-api: added .with() as another way to construct ApiRegistries 2020-06-08 16:09:07 +02:00
Patrik Oldsberg 076409a7b3 Merge pull request #1146 from spotify/rugvip/main
packages/cli: use publishConfig for publish config
2020-06-08 15:50:52 +02:00
Patrik Oldsberg 60bb2a5f9c Merge pull request #1172 from spotify/rugvip/runconf
docker,packages/config-loader: add support for runtime config injection from env
2020-06-08 15:25:07 +02:00
Patrik Oldsberg f44c609244 Merge pull request #1139 from spotify/rugvip/bundleconfig
packages/cli: fix handling of public dir and hook it up to config
2020-06-08 15:24:06 +02:00
Fredrik Adelöw 74ad89f8e3 Merge pull request #1158 from spotify/freben/location-processors-3
RFC: Improve the way that locations are read
2020-06-08 15:07:29 +02:00
Patrik Oldsberg f0ba4fb892 Merge pull request #1127 from spotify/rugvip/config
packages/cli,core-api: move config reading and loading into separate packages
2020-06-08 14:21:36 +02:00
Patrik Oldsberg 6567f241b5 packages/core-api: make ApiProvider forward APIs from parent context 2020-06-08 12:06:24 +02:00
Stefan Ålund 23c57bd1a3 Minor tweaks to catalog UI (#1176)
* Minor tweaks to catalog UI

* Review feedback

* Use styles instead
2020-06-08 11:58:44 +02:00
Stefan Ålund bea471e74c Fix backend startup instructions (#1188)
* Fix backend startup instructions

* Update README.md
2020-06-08 10:28:09 +02:00
Stefan Ålund 5726b40ee3 Changed order of backend install instructions 2020-06-08 09:53:14 +02:00
Stefan Ålund 6682c9fb76 Fix backend not starting (#1185)
Fixes https://github.com/spotify/backstage/issues/1177
2020-06-08 09:10:00 +02:00
Burhanuddin Udaipurwala 66db572355 fix page reload when clicking on logo (#1178) 2020-06-08 09:00:45 +02:00
Stefan Ålund cd5590a21b Add background color for tabs (#1170)
* Add background color for tabs

* Use BackstageTheme

* Use paper instead

* Use standard theme
2020-06-07 20:30:50 +02:00
Ben Lambert c7ab517652 chore(navigation/tabs): fixing prop type validation (#1173) 2020-06-07 16:15:09 +02:00
Fredrik Adelöw 61a02be0f4 Add logging and fix last bug 2020-06-06 22:11:42 +02:00
Fredrik Adelöw d68e4f2bd0 Switch to using generators 2020-06-06 22:11:42 +02:00
Fredrik Adelöw fe16d8ee8d chore(catalog-backend): make LocationReader, that runs a chain of processors 2020-06-06 22:09:32 +02:00
Patrik Oldsberg 650779412c packages/config-loader: add build- and dev-time config through env + tests 2020-06-06 17:06:47 +02:00
Patrik Oldsberg c40a2a5e61 packages/core-api: move router component inside app and configure it with base path 2020-06-06 17:06:18 +02:00
Patrik Oldsberg 2edcd94793 packages/cli: open browser at correct path when serving bundle 2020-06-06 15:54:48 +02:00
blam b08c5919f4 Merge branch 'master' of github.com:spotify/backstage into sebastianq/component-navigation
* 'master' of github.com:spotify/backstage:
  packages/cli: avoid duplicate dependency warning in E2E test
  build(deps): [security] bump websocket-extensions from 0.1.3 to 0.1.4
  fix: import from package
  fix: type checking
  fix: tests
  Ran yarn install
  fix: show list of components in removal dialog
  fix: github actions
  fix: make locations fetching work
  feature: extract getLocationById method, wrap location fetching in useAsync
2020-06-06 14:54:24 +02:00
Patrik Oldsberg f5ed538789 Merge pull request #1164 from spotify/rugvip/nowarn
packages/cli: avoid duplicate dependency warning in E2E test
2020-06-06 12:53:51 +02:00
Patrik Oldsberg 18c1eb3835 packages/cli: avoid duplicate dependency warning in E2E test 2020-06-06 12:37:28 +02:00
blam 72a7c73e9f feat(Catalog/tabs): added some sample tabs for now 2020-06-05 17:40:24 +02:00
Nikita Nek Dudnik e2c6864055 Merge remote-tracking branch 'origin' into ndudnik/unregister-component 2020-06-05 14:57:16 +02:00
Nikita Nek Dudnik 10980727a7 fix: github actions 2020-06-05 14:14:07 +02:00
blam 241dc49797 chore(Catalog/Navigation): Added some basic tabs to the subheader grid area 2020-06-05 14:05:01 +02:00
Patrik Oldsberg e396996792 Merge pull request #1140 from spotify/auth-frontend-state
Auth frontend state
2020-06-05 11:48:16 +02:00
Ivan Shmidt e5f856abb3 Merge pull request #1111 from spotify/mob/register-unregister-components
Register component flow
2020-06-05 11:07:25 +02:00
Patrik Oldsberg 1bf9cffd1e packages/cli: remove separate tsconfig 2020-06-05 10:23:20 +02:00
Patrik Oldsberg f4a75ee650 packages/cli: use cli to build cli 2020-06-05 09:28:54 +02:00
Patrik Oldsberg 8edc391c06 packages/cli: clean dist dir before building 2020-06-05 01:27:27 +02:00
Patrik Oldsberg 576c8b07ab packages/cli: always treat nodejs builtins as external, bit disallow infrontend code 2020-06-05 01:27:27 +02:00
Patrik Oldsberg 75e91b2c82 packages/cli: support dynamic imports of package code 2020-06-05 01:27:18 +02:00
Patrik Oldsberg 49d67d997a packages/cli: copy public dir during bundle 2020-06-04 18:09:24 +02:00
Patrik Oldsberg 945362723d packages/cli,app: read config to template html and set up public path 2020-06-04 18:09:24 +02:00