From aac62c89dae1092836a91d1b6ae6bd7127fe676a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Fern=C3=A1ndez?= Date: Fri, 13 Dec 2024 11:41:18 +0100 Subject: [PATCH] UnifiedHistory: Create feature toggle (#97922) --- .../configure-grafana/feature-toggles/index.md | 1 + .../grafana-data/src/types/featureToggles.gen.ts | 1 + pkg/services/featuremgmt/registry.go | 7 +++++++ pkg/services/featuremgmt/toggles_gen.csv | 1 + pkg/services/featuremgmt/toggles_gen.go | 4 ++++ pkg/services/featuremgmt/toggles_gen.json | 13 +++++++++++++ 6 files changed, 27 insertions(+) diff --git a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md index 1d10f7f7530..6d5fc19c45d 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -227,6 +227,7 @@ Experimental features might be changed or removed without prior notice. | `crashDetection` | Enables browser crash detection reporting to Faro. | | `jaegerBackendMigration` | Enables querying the Jaeger data source without the proxy | | `alertingNotificationsStepMode` | Enables simplified step mode in the notifications section | +| `unifiedHistory` | Displays the navigation history so the user can navigate back to previous pages | ## Development feature toggles diff --git a/packages/grafana-data/src/types/featureToggles.gen.ts b/packages/grafana-data/src/types/featureToggles.gen.ts index 7241d05eaa7..e1674056da5 100644 --- a/packages/grafana-data/src/types/featureToggles.gen.ts +++ b/packages/grafana-data/src/types/featureToggles.gen.ts @@ -243,4 +243,5 @@ export interface FeatureToggles { alertingNotificationsStepMode?: boolean; feedbackButton?: boolean; elasticsearchCrossClusterSearch?: boolean; + unifiedHistory?: boolean; } diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index a59e0bdd43e..da25af3ad8e 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -1682,6 +1682,13 @@ var ( Stage: FeatureStagePublicPreview, Owner: awsDatasourcesSquad, }, + { + Name: "unifiedHistory", + Description: "Displays the navigation history so the user can navigate back to previous pages", + Stage: FeatureStageExperimental, + Owner: grafanaFrontendPlatformSquad, + FrontendOnly: true, + }, } ) diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index b7b6d1c3662..90ae1baaee2 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -224,3 +224,4 @@ azureMonitorEnableUserAuth,GA,@grafana/partner-datasources,false,false,false alertingNotificationsStepMode,experimental,@grafana/alerting-squad,false,false,true feedbackButton,experimental,@grafana/grafana-operator-experience-squad,false,false,false elasticsearchCrossClusterSearch,preview,@grafana/aws-datasources,false,false,false +unifiedHistory,experimental,@grafana/grafana-frontend-platform,false,false,true diff --git a/pkg/services/featuremgmt/toggles_gen.go b/pkg/services/featuremgmt/toggles_gen.go index 2fe1fb9c22a..963de702c4e 100644 --- a/pkg/services/featuremgmt/toggles_gen.go +++ b/pkg/services/featuremgmt/toggles_gen.go @@ -906,4 +906,8 @@ const ( // FlagElasticsearchCrossClusterSearch // Enables cross cluster search in the Elasticsearch datasource FlagElasticsearchCrossClusterSearch = "elasticsearchCrossClusterSearch" + + // FlagUnifiedHistory + // Displays the navigation history so the user can navigate back to previous pages + FlagUnifiedHistory = "unifiedHistory" ) diff --git a/pkg/services/featuremgmt/toggles_gen.json b/pkg/services/featuremgmt/toggles_gen.json index 3a0d9740432..1371db06c74 100644 --- a/pkg/services/featuremgmt/toggles_gen.json +++ b/pkg/services/featuremgmt/toggles_gen.json @@ -3463,6 +3463,19 @@ "expression": "true" } }, + { + "metadata": { + "name": "unifiedHistory", + "resourceVersion": "1734085219453", + "creationTimestamp": "2024-12-13T10:20:19Z" + }, + "spec": { + "description": "Displays the navigation history so the user can navigate back to previous pages", + "stage": "experimental", + "codeowner": "@grafana/grafana-frontend-platform", + "frontend": true + } + }, { "metadata": { "name": "unifiedRequestLog",