Commit Graph

44 Commits

Author SHA1 Message Date
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
Patrik Oldsberg 6f955a5366 packages/dev-utils: add oauthRequestApi factory + dialog 2020-05-31 19:41:09 +02:00
Patrik Oldsberg 43795b8576 packages/dev-utils: added addRootChild to DevAppBuilder 2020-05-31 19:41:09 +02:00
Patrik Oldsberg fe08f81359 packages/dev-utils: update to reflect changes in core and include proper alert display 2020-05-25 22:19:32 +02:00
Patrik Oldsberg a79f120fa5 packages/core: rename NavTargets to RouteRefs 2020-05-25 12:47:44 +02:00
Wojciech Adaszynski 2aacf677e9 Pin sidebar with a button 2020-05-20 16:57:30 +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
Patrik Oldsberg 90aee3b1aa packages/cli,dev-utils: add react hot loading support 2020-05-17 23:30:01 +02:00
Patrik Oldsberg 6b5ac0a8e1 packages/dev-utils: remove redundant theme wrapping 2020-05-15 09:38:59 +02:00
Patrik Oldsberg ce55e67f31 packages/core: refactor createApp to just take options + separate out AppContext 2020-05-15 09:38:01 +02:00
Patrik Oldsberg 14c551c616 packages/dev-utils: add nav targets to the sidebar 2020-05-13 14:58:58 +02:00
Patrik Oldsberg 0fc188d8a4 packages/dev-utils: fix for default api factories being omitted 2020-05-08 18:55:46 +02:00
Patrik Oldsberg 99f9c6863e packages/dev-utils: use doc comments + text fix in README 2020-04-28 14:06:20 +02:00
Patrik Oldsberg 5c797e4f53 packages/dev-utils: default to navigating to the first registered route 2020-04-26 17:26:49 +02:00
Patrik Oldsberg b81ebe7e72 packages/dev-utils: refactor to be more like createApp 2020-04-26 17:26:48 +02:00
Patrik Oldsberg 84877f6bae packages/dev-utils: add test for api factories 2020-04-26 14:19:20 +02:00
Patrik Oldsberg a7d8a03e31 packages: add new dev-utils package 2020-04-26 14:19:19 +02:00