grafana/public/app/routes
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
..
routes.tsx Frontend Routing: Always render standalone plugin pages using the <AppRootPage> (#57771) 2022-11-07 15:19:31 +01:00
utils.test.ts Panel: Embed URL is now correctly generated for a panel in the home dashboard (#44706) 2022-02-02 13:38:23 +00:00
utils.ts Navigation: Landing pages behind feature toggles (#54576) 2022-09-05 10:07:13 +01:00