grafana/public/app/features/plugins
Levente Balogh eb3ee35e1c
Frontend Routing: Always render standalone plugin pages using the <AppRootPage> (#57771)
* chore: fix go lint issues

* feat(Routing): route standalone plugin pages to the `AppRoutePage`

* feat(plugin.json): introduce a new field called `isCorePage` for `includes`

* chore: add explanatory comments for types

* refactor(AppRootPage): receive the `pluginId` and `pluginSection` through the props

Now we are able to receive these as props as the pluginId is defined on navLinks
that are registered by plugins.

* chore: update teests for AppRootPage

* fix: remove rebase issue

* tests(applinks): add a test for checking isCorePage plugin page setting

* refactor(applinks): update tests to use FindById() and be more resilient to changes

* fix: Go lint issues

* refactor(routes): use cleaner types when working with plugin nav nodes

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* chore: fix linting issues

* t: remove `isCorePage` field from includes

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2022-11-07 15:19:31 +01:00
..
__mocks__ Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
admin Plugins: Make "README" the default markdown request param (#58264) 2022-11-07 11:16:17 +01:00
components Frontend Routing: Always render standalone plugin pages using the <AppRootPage> (#57771) 2022-11-07 15:19:31 +01:00
sql MySQL: make it possible to add CA cert without using tlsAuth (#58226) 2022-11-07 09:38:42 +01:00
tests Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
all.ts Angular: More isolation and removing of unused components (#41630) 2021-11-15 15:12:45 +01:00
built_in_plugins.ts Profiling: Add Phlare and Parca datasources (#57809) 2022-10-28 13:33:37 +02:00
datasource_srv.ts Dashboard: Reverted the changes of hiding multi-select and all variable in the datasource picker (#53521) 2022-08-10 15:30:00 +02:00
importPanelPlugin.ts PanelRenderer: Improves PanelRenderer performance (#51092) 2022-06-20 14:41:39 +02:00
plugin_loader.ts Plugins: Expose emotion/react to plugins to prevent load failures (#55297) 2022-09-19 16:54:13 +02:00
pluginCacheBuster.ts fix(40639): datasource should not be visible after uninstall (#43625) 2022-01-07 09:54:02 +01:00
pluginPreloader.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
pluginSettings.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
pluginSettings.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
routes.tsx Frontend Routing: Always render standalone plugin pages using the <AppRootPage> (#57771) 2022-11-07 15:19:31 +01:00
utils.test.ts Frontend Routing: Always render standalone plugin pages using the <AppRootPage> (#57771) 2022-11-07 15:19:31 +01:00
utils.ts Frontend Routing: Always render standalone plugin pages using the <AppRootPage> (#57771) 2022-11-07 15:19:31 +01:00