mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 10:03:33 -06:00
* feat(Connections): create sub-pages wrapped by `<Page>` * feat(Connections): rename the Connections page and update routes * feat(Connections): use new url for editing datasources * refactor(Connections): remove unused tab components * feat(Connections): update routes and nav titles * tests: fix tests for Connections * tests: fix typo in backend tests
23 lines
874 B
TypeScript
23 lines
874 B
TypeScript
// The ID of the app plugin that we render under that "Cloud Integrations" tab
|
|
export const CLOUD_ONBOARDING_APP_ID = 'grafana-easystart-app';
|
|
|
|
// The ID of the main nav-tree item (the main item in the NavIndex)
|
|
export const ROUTE_BASE_ID = 'connections';
|
|
|
|
export const ROUTES = {
|
|
Base: `/${ROUTE_BASE_ID}`,
|
|
|
|
// Your Connections
|
|
YourConnections: `/${ROUTE_BASE_ID}/your-connections`,
|
|
|
|
// Your Connections / Datasources
|
|
DataSources: `/${ROUTE_BASE_ID}/your-connections/datasources`,
|
|
DataSourcesNew: `/${ROUTE_BASE_ID}/your-connections/datasources/new`,
|
|
DataSourcesEdit: `/${ROUTE_BASE_ID}/your-connections/datasources/edit/:uid`,
|
|
DataSourcesDashboards: `/${ROUTE_BASE_ID}/datasources/edit/:uid/dashboards`,
|
|
|
|
// Connect Data
|
|
ConnectData: `/${ROUTE_BASE_ID}/connect-data`,
|
|
DataSourcesDetails: `/${ROUTE_BASE_ID}/connect-data/datasources/:id`,
|
|
} as const;
|