From d935e6ff57176d058309fe4a99d547b087a8b508 Mon Sep 17 00:00:00 2001 From: Dmitry Filimonov Date: Wed, 16 Aug 2023 01:38:26 -0700 Subject: [PATCH] Navigation: Remove "preview" from Pyroscope Profiles nav item (#73070) * Pyroscope: Mark profiles as GA (removes "preview") * update --- pkg/services/navtree/navtreeimpl/applinks.go | 2 +- .../components/AppChrome/MegaMenu/navBarItem-translations.ts | 2 +- public/locales/en-US/grafana.json | 2 +- public/locales/pseudo-LOCALE/grafana.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/services/navtree/navtreeimpl/applinks.go b/pkg/services/navtree/navtreeimpl/applinks.go index b91449707bb..bff1d923fcb 100644 --- a/pkg/services/navtree/navtreeimpl/applinks.go +++ b/pkg/services/navtree/navtreeimpl/applinks.go @@ -254,7 +254,7 @@ func (s *ServiceImpl) readNavigationSettings() { s.navigationAppConfig = map[string]NavigationAppConfig{ "grafana-k8s-app": {SectionID: navtree.NavIDMonitoring, SortWeight: 1, Text: "Kubernetes"}, "grafana-app-observability-app": {SectionID: navtree.NavIDMonitoring, SortWeight: 2, Text: "Application (preview)"}, - "grafana-pyroscope-app": {SectionID: navtree.NavIDMonitoring, SortWeight: 3, Text: "Profiles (preview)"}, + "grafana-pyroscope-app": {SectionID: navtree.NavIDMonitoring, SortWeight: 3, Text: "Profiles"}, "grafana-kowalski-app": {SectionID: navtree.NavIDMonitoring, SortWeight: 4, Text: "Frontend"}, "grafana-synthetic-monitoring-app": {SectionID: navtree.NavIDMonitoring, SortWeight: 5, Text: "Synthetics"}, "grafana-oncall-app": {SectionID: navtree.NavIDAlertsAndIncidents, SortWeight: 1, Text: "OnCall"}, diff --git a/public/app/core/components/AppChrome/MegaMenu/navBarItem-translations.ts b/public/app/core/components/AppChrome/MegaMenu/navBarItem-translations.ts index 4a62b92500e..b240ca379ba 100644 --- a/public/app/core/components/AppChrome/MegaMenu/navBarItem-translations.ts +++ b/public/app/core/components/AppChrome/MegaMenu/navBarItem-translations.ts @@ -131,7 +131,7 @@ export function getNavTitle(navId: string | undefined) { case 'plugin-page-grafana-app-observability-app': return t('nav.application.title', 'Application (preview)'); case 'plugin-page-grafana-pyroscope-app': - return t('nav.profiles.title', 'Profiles (preview)'); + return t('nav.profiles.title', 'Profiles'); case 'plugin-page-grafana-kowalski-app': return t('nav.frontend.title', 'Frontend'); case 'plugin-page-grafana-synthetic-monitoring-app': diff --git a/public/locales/en-US/grafana.json b/public/locales/en-US/grafana.json index 8b58210dc91..5729cde731f 100644 --- a/public/locales/en-US/grafana.json +++ b/public/locales/en-US/grafana.json @@ -454,7 +454,7 @@ "title": "Profile" }, "profiles": { - "title": "Profiles (preview)" + "title": "Profiles" }, "public": { "title": "Public dashboards" diff --git a/public/locales/pseudo-LOCALE/grafana.json b/public/locales/pseudo-LOCALE/grafana.json index 19db8e4f407..c90b329b367 100644 --- a/public/locales/pseudo-LOCALE/grafana.json +++ b/public/locales/pseudo-LOCALE/grafana.json @@ -454,7 +454,7 @@ "title": "Přőƒįľę" }, "profiles": { - "title": "Přőƒįľęş (přęvįęŵ)" + "title": "Přőƒįľęş" }, "public": { "title": "Pūþľįč đäşĥþőäřđş"