PinNavItems: Create feature toggle (#88975)

pull/88979/head
Laura Fernández 12 months ago committed by GitHub
parent 4378f89fd9
commit 84b638fb26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md
  2. 1
      packages/grafana-data/src/types/featureToggles.gen.ts
  3. 6
      pkg/services/featuremgmt/registry.go
  4. 1
      pkg/services/featuremgmt/toggles_gen.csv
  5. 4
      pkg/services/featuremgmt/toggles_gen.go
  6. 12
      pkg/services/featuremgmt/toggles_gen.json

@ -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

@ -192,4 +192,5 @@ export interface FeatureToggles {
alertingCentralAlertHistory?: boolean;
pluginProxyPreserveTrailingSlash?: boolean;
azureMonitorPrometheusExemplars?: boolean;
pinNavItems?: boolean;
}

@ -1302,6 +1302,12 @@ var (
Stage: FeatureStageExperimental,
Owner: grafanaPartnerPluginsSquad,
},
{
Name: "pinNavItems",
Description: "Enables pinning of nav items",
Stage: FeatureStageExperimental,
Owner: grafanaFrontendPlatformSquad,
},
}
)

@ -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

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
173 alertingCentralAlertHistory experimental @grafana/alerting-squad false false true
174 pluginProxyPreserveTrailingSlash GA @grafana/plugins-platform-backend false false false
175 azureMonitorPrometheusExemplars experimental @grafana/partner-datasources false false false
176 pinNavItems experimental @grafana/grafana-frontend-platform false false false

@ -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"
)

@ -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"
}
}
]
}
Loading…
Cancel
Save