Combobox: Add prometheusUsesCombobox feature toggle (#95238)

Add prometheusUsesCombobox feature toggle
pull/95086/head
Josh Hunt 7 months ago committed by GitHub
parent 813632dff1
commit 2cf6a6388b
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. 15
      pkg/services/featuremgmt/toggles_gen.json

@ -212,6 +212,7 @@ Experimental features might be changed or removed without prior notice.
| `pluginsSriChecks` | Enables SRI checks for plugin assets | | `pluginsSriChecks` | Enables SRI checks for plugin assets |
| `unifiedStorageBigObjectsSupport` | Enables to save big objects in blob storage | | `unifiedStorageBigObjectsSupport` | Enables to save big objects in blob storage |
| `timeRangeProvider` | Enables time pickers sync | | `timeRangeProvider` | Enables time pickers sync |
| `prometheusUsesCombobox` | Use new combobox component for Prometheus query editor |
## Development feature toggles ## Development feature toggles

@ -223,4 +223,5 @@ export interface FeatureToggles {
pluginsSriChecks?: boolean; pluginsSriChecks?: boolean;
unifiedStorageBigObjectsSupport?: boolean; unifiedStorageBigObjectsSupport?: boolean;
timeRangeProvider?: boolean; timeRangeProvider?: boolean;
prometheusUsesCombobox?: boolean;
} }

@ -1535,6 +1535,12 @@ var (
Stage: FeatureStageExperimental, Stage: FeatureStageExperimental,
Owner: grafanaFrontendPlatformSquad, Owner: grafanaFrontendPlatformSquad,
}, },
{
Name: "prometheusUsesCombobox",
Description: "Use new combobox component for Prometheus query editor",
Stage: FeatureStageExperimental,
Owner: grafanaObservabilityMetricsSquad,
},
} }
) )

@ -204,3 +204,4 @@ unifiedStorageSearch,experimental,@grafana/search-and-storage,false,false,false
pluginsSriChecks,experimental,@grafana/plugins-platform-backend,false,false,false pluginsSriChecks,experimental,@grafana/plugins-platform-backend,false,false,false
unifiedStorageBigObjectsSupport,experimental,@grafana/search-and-storage,false,false,false unifiedStorageBigObjectsSupport,experimental,@grafana/search-and-storage,false,false,false
timeRangeProvider,experimental,@grafana/grafana-frontend-platform,false,false,false timeRangeProvider,experimental,@grafana/grafana-frontend-platform,false,false,false
prometheusUsesCombobox,experimental,@grafana/observability-metrics,false,false,false

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
204 pluginsSriChecks experimental @grafana/plugins-platform-backend false false false
205 unifiedStorageBigObjectsSupport experimental @grafana/search-and-storage false false false
206 timeRangeProvider experimental @grafana/grafana-frontend-platform false false false
207 prometheusUsesCombobox experimental @grafana/observability-metrics false false false

@ -826,4 +826,8 @@ const (
// FlagTimeRangeProvider // FlagTimeRangeProvider
// Enables time pickers sync // Enables time pickers sync
FlagTimeRangeProvider = "timeRangeProvider" FlagTimeRangeProvider = "timeRangeProvider"
// FlagPrometheusUsesCombobox
// Use new combobox component for Prometheus query editor
FlagPrometheusUsesCombobox = "prometheusUsesCombobox"
) )

@ -2587,6 +2587,21 @@
"codeowner": "@grafana/observability-metrics" "codeowner": "@grafana/observability-metrics"
} }
}, },
{
"metadata": {
"name": "prometheusUsesCombobox",
"resourceVersion": "1726140033271",
"creationTimestamp": "2024-09-12T11:19:18Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-09-12 11:20:33.271822988 +0000 UTC"
}
},
"spec": {
"description": "Use new combobox component for Prometheus query editor",
"stage": "experimental",
"codeowner": "@grafana/observability-metrics"
}
},
{ {
"metadata": { "metadata": {
"name": "publicDashboards", "name": "publicDashboards",

Loading…
Cancel
Save