DashboardVariables: Use Combobox behind feature flag (#98261)

* Add feature toggle

* Use feature toggle

* Remove usage of renderWithCombobox
This commit is contained in:
Tobias Skarhed 2025-01-31 10:53:13 +01:00 committed by GitHub
parent 1458f5d0fb
commit 7190bfb0ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 27 additions and 0 deletions

View File

@ -229,6 +229,7 @@ Experimental features might be changed or removed without prior notice.
| `k8SFolderCounts` | Enable folder's api server counts |
| `k8SFolderMove` | Enable folder's api server move |
| `teamHttpHeadersMimir` | Enables LBAC for datasources for Mimir to apply LBAC filtering of metrics to the client requests for users in teams |
| `templateVariablesUsesCombobox` | Use new combobox component for template variables |
| `queryLibraryDashboards` | Enables Query Library feature in Dashboards |
| `grafanaAdvisor` | Enables Advisor app |
| `elasticsearchImprovedParsing` | Enables less memory intensive Elasticsearch result parsing |

View File

@ -248,6 +248,7 @@ export interface FeatureToggles {
improvedExternalSessionHandlingSAML?: boolean;
teamHttpHeadersMimir?: boolean;
ABTestFeatureToggleA?: boolean;
templateVariablesUsesCombobox?: boolean;
ABTestFeatureToggleB?: boolean;
queryLibraryDashboards?: boolean;
grafanaAdvisor?: boolean;

View File

@ -1722,6 +1722,13 @@ var (
Expression: "false",
HideFromDocs: true,
},
{
Name: "templateVariablesUsesCombobox",
Description: "Use new combobox component for template variables",
Stage: FeatureStageExperimental,
Owner: grafanaFrontendPlatformSquad,
FrontendOnly: true,
},
{
Name: "ABTestFeatureToggleB",
Description: "Test feature toggle to see how cohorts could be set up AB testing",

View File

@ -229,6 +229,7 @@ k8SFolderMove,experimental,@grafana/search-and-storage,false,false,false
improvedExternalSessionHandlingSAML,preview,@grafana/identity-access-team,false,false,false
teamHttpHeadersMimir,experimental,@grafana/identity-access-team,false,false,false
ABTestFeatureToggleA,experimental,@grafana/sharing-squad,false,false,false
templateVariablesUsesCombobox,experimental,@grafana/grafana-frontend-platform,false,false,true
ABTestFeatureToggleB,experimental,@grafana/sharing-squad,false,false,false
queryLibraryDashboards,experimental,@grafana/grafana-frontend-platform,false,false,false
grafanaAdvisor,experimental,@grafana/plugins-platform-backend,false,false,false

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
229 improvedExternalSessionHandlingSAML preview @grafana/identity-access-team false false false
230 teamHttpHeadersMimir experimental @grafana/identity-access-team false false false
231 ABTestFeatureToggleA experimental @grafana/sharing-squad false false false
232 templateVariablesUsesCombobox experimental @grafana/grafana-frontend-platform false false true
233 ABTestFeatureToggleB experimental @grafana/sharing-squad false false false
234 queryLibraryDashboards experimental @grafana/grafana-frontend-platform false false false
235 grafanaAdvisor experimental @grafana/plugins-platform-backend false false false

View File

@ -927,6 +927,10 @@ const (
// Test feature toggle to see how cohorts could be set up AB testing
FlagABTestFeatureToggleA = "ABTestFeatureToggleA"
// FlagTemplateVariablesUsesCombobox
// Use new combobox component for template variables
FlagTemplateVariablesUsesCombobox = "templateVariablesUsesCombobox"
// FlagABTestFeatureToggleB
// Test feature toggle to see how cohorts could be set up AB testing
FlagABTestFeatureToggleB = "ABTestFeatureToggleB"

View File

@ -3716,6 +3716,19 @@
"codeowner": "@grafana/identity-access-team"
}
},
{
"metadata": {
"name": "templateVariablesUsesCombobox",
"resourceVersion": "1738141787383",
"creationTimestamp": "2025-01-29T09:09:47Z"
},
"spec": {
"description": "Use new combobox component for template variables",
"stage": "experimental",
"codeowner": "@grafana/grafana-frontend-platform",
"frontend": true
}
},
{
"metadata": {
"name": "timeRangeProvider",