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 0e5cc17b47c..d4bd70b5da3 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -189,6 +189,7 @@ Experimental features might be changed or removed without prior notice. | `dashboardRestore` | Enables deleted dashboard restore feature | | `alertingCentralAlertHistory` | Enables the new central alert history. | | `azureMonitorPrometheusExemplars` | Allows configuration of Azure Monitor as a data source that can provide Prometheus exemplars | +| `pinNavItems` | Enables pinning of nav items | ## Development feature toggles diff --git a/packages/grafana-data/src/types/featureToggles.gen.ts b/packages/grafana-data/src/types/featureToggles.gen.ts index 82d0ae0dd73..dbc3da4c8f5 100644 --- a/packages/grafana-data/src/types/featureToggles.gen.ts +++ b/packages/grafana-data/src/types/featureToggles.gen.ts @@ -192,4 +192,5 @@ export interface FeatureToggles { alertingCentralAlertHistory?: boolean; pluginProxyPreserveTrailingSlash?: boolean; azureMonitorPrometheusExemplars?: boolean; + pinNavItems?: boolean; } diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index 3539004062d..c44823fa0c8 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -1302,6 +1302,12 @@ var ( Stage: FeatureStageExperimental, Owner: grafanaPartnerPluginsSquad, }, + { + Name: "pinNavItems", + Description: "Enables pinning of nav items", + Stage: FeatureStageExperimental, + Owner: grafanaFrontendPlatformSquad, + }, } ) diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index b757ce9971c..f76fb3ae227 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -173,3 +173,4 @@ preserveDashboardStateWhenNavigating,experimental,@grafana/dashboards-squad,fals alertingCentralAlertHistory,experimental,@grafana/alerting-squad,false,false,true pluginProxyPreserveTrailingSlash,GA,@grafana/plugins-platform-backend,false,false,false azureMonitorPrometheusExemplars,experimental,@grafana/partner-datasources,false,false,false +pinNavItems,experimental,@grafana/grafana-frontend-platform,false,false,false diff --git a/pkg/services/featuremgmt/toggles_gen.go b/pkg/services/featuremgmt/toggles_gen.go index 98a0b580ad0..495ad2d3923 100644 --- a/pkg/services/featuremgmt/toggles_gen.go +++ b/pkg/services/featuremgmt/toggles_gen.go @@ -702,4 +702,8 @@ const ( // FlagAzureMonitorPrometheusExemplars // Allows configuration of Azure Monitor as a data source that can provide Prometheus exemplars FlagAzureMonitorPrometheusExemplars = "azureMonitorPrometheusExemplars" + + // FlagPinNavItems + // Enables pinning of nav items + FlagPinNavItems = "pinNavItems" ) diff --git a/pkg/services/featuremgmt/toggles_gen.json b/pkg/services/featuremgmt/toggles_gen.json index cc4c48e445d..1479474d031 100644 --- a/pkg/services/featuremgmt/toggles_gen.json +++ b/pkg/services/featuremgmt/toggles_gen.json @@ -2250,6 +2250,18 @@ "stage": "experimental", "codeowner": "@grafana/partner-datasources" } + }, + { + "metadata": { + "name": "pinNavItems", + "resourceVersion": "1718017263521", + "creationTimestamp": "2024-06-10T11:01:03Z" + }, + "spec": { + "description": "Enables pinning of nav items", + "stage": "experimental", + "codeowner": "@grafana/grafana-frontend-platform" + } } ] } \ No newline at end of file