mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Cloud migration UI: Add migrate-to-cloud route (#83072)
* add migrate-to-cloud route * fix chunk name * gate route behind feature toggle * update permission checks
This commit is contained in:
@@ -118,6 +118,8 @@ export function getNavTitle(navId: string | undefined) {
|
||||
return t('nav.server-settings.title', 'Settings');
|
||||
case 'storage':
|
||||
return t('nav.storage.title', 'Storage');
|
||||
case 'migrate-to-cloud':
|
||||
return t('nav.migrate-to-cloud.title', 'Migrate to Grafana Cloud');
|
||||
case 'upgrading':
|
||||
return t('nav.upgrading.title', 'Stats and license');
|
||||
case 'monitoring':
|
||||
@@ -248,6 +250,11 @@ export function getNavSubTitle(navId: string | undefined) {
|
||||
return t('nav.server-settings.subtitle', 'View the settings defined in your Grafana config');
|
||||
case 'storage':
|
||||
return t('nav.storage.subtitle', 'Manage file storage');
|
||||
case 'migrate-to-cloud':
|
||||
return t(
|
||||
'nav.migrate-to-cloud.subtitle',
|
||||
'Copy data sources, dashboards, and alerts from this installation to a cloud stack'
|
||||
);
|
||||
case 'support-bundles':
|
||||
return t('nav.support-bundles.subtitle', 'Download support bundles');
|
||||
case 'admin':
|
||||
|
||||
Reference in New Issue
Block a user