Chore: Remove prometheusUsesCombobox feature toggle (#103940)

* remove prometheusUsesCombobox feature toggle

* betterer

* fix the unit test

* create MetricsLabelsSection unit tests

* fix unit tests

* fix unit tests in PromQueryBuilder.test.tsx

* prettier

* remove timeouts

* Revert "remove timeouts"

This reverts commit 84af1fd46b.
This commit is contained in:
ismail simsek
2025-04-22 18:54:10 +02:00
committed by GitHub
parent 576bf66e03
commit 8ef8471b23
17 changed files with 459 additions and 641 deletions
-7
View File
@@ -1304,13 +1304,6 @@ var (
Stage: FeatureStageExperimental,
Owner: grafanaFrontendPlatformSquad,
},
{
Name: "prometheusUsesCombobox",
Description: "Use new **Combobox** component for Prometheus query editor",
Stage: FeatureStageGeneralAvailability,
Owner: grafanaOSSBigTent,
Expression: "true", // enabled by default
},
{
Name: "azureMonitorDisableLogLimit",
Description: "Disables the log limit restriction for Azure Monitor when true. The limit is enabled by default.",
-1
View File
@@ -170,7 +170,6 @@ managedDualWriter,experimental,@grafana/search-and-storage,false,false,false
pluginsSriChecks,GA,@grafana/plugins-platform-backend,false,false,false
unifiedStorageBigObjectsSupport,experimental,@grafana/search-and-storage,false,false,false
timeRangeProvider,experimental,@grafana/grafana-frontend-platform,false,false,false
prometheusUsesCombobox,GA,@grafana/oss-big-tent,false,false,false
azureMonitorDisableLogLimit,GA,@grafana/partner-datasources,false,false,false
preinstallAutoUpdate,GA,@grafana/plugins-platform-backend,false,false,false
playlistsReconciler,experimental,@grafana/grafana-app-platform-squad,false,true,false
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
170 pluginsSriChecks GA @grafana/plugins-platform-backend false false false
171 unifiedStorageBigObjectsSupport experimental @grafana/search-and-storage false false false
172 timeRangeProvider experimental @grafana/grafana-frontend-platform false false false
prometheusUsesCombobox GA @grafana/oss-big-tent false false false
173 azureMonitorDisableLogLimit GA @grafana/partner-datasources false false false
174 preinstallAutoUpdate GA @grafana/plugins-platform-backend false false false
175 playlistsReconciler experimental @grafana/grafana-app-platform-squad false true false
-4
View File
@@ -691,10 +691,6 @@ const (
// Enables time pickers sync
FlagTimeRangeProvider = "timeRangeProvider"
// FlagPrometheusUsesCombobox
// Use new **Combobox** component for Prometheus query editor
FlagPrometheusUsesCombobox = "prometheusUsesCombobox"
// FlagAzureMonitorDisableLogLimit
// Disables the log limit restriction for Azure Monitor when true. The limit is enabled by default.
FlagAzureMonitorDisableLogLimit = "azureMonitorDisableLogLimit"
+2 -1
View File
@@ -2657,7 +2657,8 @@
"metadata": {
"name": "prometheusUsesCombobox",
"resourceVersion": "1743693517832",
"creationTimestamp": "2024-10-23T11:18:33Z"
"creationTimestamp": "2024-10-23T11:18:33Z",
"deletionTimestamp": "2025-04-11T19:25:28Z"
},
"spec": {
"description": "Use new **Combobox** component for Prometheus query editor",