Commit Graph

66 Commits

Author SHA1 Message Date
Johan Haals b1190bf676 await userEvent
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:19:54 +02:00
Dimitris Apostolou aedd4daa66 Fix typos
Signed-off-by: Dimitris Apostolou <dimitris.apostolou@icloud.com>
2022-03-13 14:12:05 +02:00
Patrik Oldsberg 4ce51ab0f1 use precise imports of react-use
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-30 12:53:16 +01:00
Colton Padden cb278fa3ad make Provider required in AppTheme
Signed-off-by: Colton Padden <colton.padden@fastmail.com>
2021-12-20 13:16:52 -05:00
Colton Padden 5d6684f0df release-2021-11-18 packages/core-plugin-api/src/apis/definitions/AppThemeApi.ts:45
Signed-off-by: Colton Padden <colton.padden@fastmail.com>
2021-12-17 15:04:35 -05:00
Colton Padden 46b84f79f8 release-2021-06-01 packages/core-plugin-api/src/routing/RouteRef.ts:118,120,122
Signed-off-by: Colton Padden <colton.padden@fastmail.com>
2021-12-17 15:04:34 -05:00
Fredrik Adelöw dcd1a0c3f4 Do not unpack arguments directly on exported items
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-12-07 19:42:10 +01:00
Patrik Oldsberg 29ef695410 packages,plugins: migrate to using TestApiProvider and Registry
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-11-18 11:28:46 +01:00
Oliver Sand 58a4e67ded Add theme switcher to sidebar of dev app
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-11-12 11:16:19 +01:00
Patrik Oldsberg 0fb57d28e3 dev-utils,test-utils,app: update to use app-defaults
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-11-11 17:26:13 +01:00
Patrik Oldsberg 44976c138c core-app-api, create-app, dev-utils: updates to use withDefaults
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-11-11 17:24:35 +01:00
Patrik Oldsberg 014cbf8cb9 core-app-api: deprecate dependency on core-components
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-11-11 17:24:33 +01:00
Patrik Oldsberg 8142a8ecb2 packages,plugins: add package documentation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 18:47:53 +02:00
Patrik Oldsberg f2e6ecf22b dev-utils: API report warnings cleanup
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-05 23:34:02 +02:00
Patrik Oldsberg be2cd47406 dev-utils: fix busy refresh loop
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-19 00:25:58 +02:00
Fredrik Adelöw 923491eece run prettier formatting
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-09 11:54:38 +02:00
Fidel Coria cedb602a42 custom theme on devApp for single plugin
Signed-off-by: Fidel Coria <fidel.coria@aa.com>
2021-07-19 17:39:52 -05:00
Patrik Oldsberg 9258c54f87 Merge branch 'master' into rugvip/mod 2021-06-22 10:07:18 +02:00
Patrik Oldsberg fa8c234b24 Merge pull request #6124 from backstage/rugvip/noroutes
plugins,dev-utils: remove usage of deprecated route registrations
2021-06-21 23:39:33 +02:00
Patrik Oldsberg d453c05dc3 apply core-imports codemod to all packages and plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:08 +02:00
Patrik Oldsberg 76db86c457 dev-utils: remove support for registered routes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 14:05:00 +02:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
Patrik Oldsberg baf13afd3f dev-utils: fix for scm integrations API factory not being provided
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-05-17 13:20:57 +02:00
Fredrik Adelöw 3385b374bd introduce @backstage/integration-react and its scmIntegrationsApiRef
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-16 18:37:59 +01:00
Andrew Thauer 28adfd3c4c fix: test failures & warnings 2021-02-24 10:12:49 -05:00
Fredrik Adelöw 5aa4ceea6e Make sure to provide dummy routes for all external routes of plugins given to DevApp 2021-02-22 21:52:31 +01:00
Patrik Oldsberg b37501a3d1 catalog: finalize port to new composability API + tweak dev-utils 2021-02-02 15:07:33 +01:00
Patrik Oldsberg 20ca5f179f Update packages/dev-utils/src/devApp/render.tsx
Co-authored-by: Adam Harvey <adam.harvey@dxc.com>
2021-02-02 11:34:48 +01:00
Patrik Oldsberg 6c07b5c6e5 dev-utils: add path option to addPage, switch to render element in route, and skip sidebar item title is not set 2021-02-01 23:46:51 +01:00
Oliver Sand c7b89e1557 Move EntityProvider to plugin-catalog-react 2021-01-29 10:54:10 +01:00
Patrik Oldsberg 5b6533eb76 core-api: rename BackstageRoutes to FlatRoutes 2020-12-28 11:19:52 +01:00
Patrik Oldsberg 920b5a4f54 dev-utils: add a small label with the entity name to EntityGridItems 2020-12-23 18:34:43 +01:00
Patrik Oldsberg 36ffbd71b7 dev-utils: add EntityGridItem for easily displaying various entity cards
Co-authored-by: blam <ben@blam.sh>
2020-12-23 18:34:42 +01:00
Patrik Oldsberg 4f467143c3 dev-utils: use dev index module as root for hot reloading
Co-authored-by: blam <ben@blam.sh>
2020-12-23 18:34:42 +01:00
Patrik Oldsberg 91518a253f dev-utils: add .registerPage for use with extensions
Co-authored-by: blam <ben@blam.sh>
2020-12-23 18:34:42 +01:00
Askar a6a2ca6204 remove React's FC type from codebase (#3527)
* WIP-packages: remove React's FC type from codebase

* remove FC from other directories

* fix build failures

* add types to required packages
2020-12-10 11:23:29 +01:00
Patrik Oldsberg b6557c0988 core-api: update ApiFactory type to correctly infer API type and disallow mismatched implementations 2020-12-04 14:01:31 +01:00
Patrik Oldsberg be104f473b dev-utils: fix deprecated routes not being wrapped in router 2020-09-10 15:36:00 +02:00
Patrik Oldsberg 0178f37706 dev-utils: added test for DevApp 2020-09-08 11:31:49 +02:00
Patrik Oldsberg e7c04aedab dev-utils: remove separate ApiTestRegistry setup 2020-09-08 11:31:47 +02:00
Ivan Shmidt 9988479c61 refactor: address PR comments 2020-09-02 15:57:18 +02:00
Marcus Eide a85ca3123c Add non-legacy routes when in isolation 2020-09-01 10:46:52 +02:00
Patrik Oldsberg ea1a36433d app,core-api: install DiscoveryApi in default app and use it for all auth providers 2020-08-21 00:54:54 +02:00
Patrik Oldsberg 645c7f444b core-api: switch auth provider apiOrigin option to backendUrl 2020-08-19 09:43:36 +02:00
Jaime Mendes fed39a1fa7 Adds Auth0 as IdP 2020-07-19 23:57:53 +01:00
danztran f524bbdea2 plugin/auth-backend: add gitlab oauth 2020-06-28 22:24:47 +07:00
Patrik Oldsberg c6b9d27a71 dev-utils: add google and github auth APIs to default api factories 2020-06-24 00:30:40 +02:00
Patrik Oldsberg 9a37995151 packages/core-api: split AppComponent into AppRouter and AppRoutes 2020-06-16 11:35:35 +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
Ivan Shmidt af56473342 NavLink->Link, NavButton->Button, remove redirects for now 2020-06-04 00:03:34 +02:00