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 679de6b828a..759969cac5e 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -92,7 +92,6 @@ Alpha features might be changed or removed without prior notice. | `lokiQuerySplittingConfig` | Give users the option to configure split durations for Loki queries | | `individualCookiePreferences` | Support overriding cookie preferences per user | | `onlyExternalOrgRoleSync` | Prohibits a user from changing organization roles synced with external auth providers | -| `drawerDataSourcePicker` | Changes the user experience for data source selection to a drawer. | | `traceqlSearch` | Enables the 'TraceQL Search' tab for the Tempo datasource which provides a UI to generate TraceQL queries | | `prometheusMetricEncyclopedia` | Replaces the Prometheus query builder metric select option with a paginated and filterable component | | `timeSeriesTable` | Enable time series table transformer & sparkline cell type | @@ -109,6 +108,7 @@ Alpha features might be changed or removed without prior notice. | `pyroscopeFlameGraph` | Changes flame graph to pyroscope one | | `dataplaneFrontendFallback` | Support dataplane contract field name change for transformations and field name matchers where the name is different | | `authenticationConfigUI` | Enables authentication configuration UI | +| `advancedDataSourcePicker` | Enable a new data source picker with contextual information, recently used order, CSV upload and advanced mode | ## Development feature toggles diff --git a/packages/grafana-data/src/types/featureToggles.gen.ts b/packages/grafana-data/src/types/featureToggles.gen.ts index c0f11a0d3a4..4125a27b7df 100644 --- a/packages/grafana-data/src/types/featureToggles.gen.ts +++ b/packages/grafana-data/src/types/featureToggles.gen.ts @@ -76,7 +76,6 @@ export interface FeatureToggles { lokiQuerySplittingConfig?: boolean; individualCookiePreferences?: boolean; onlyExternalOrgRoleSync?: boolean; - drawerDataSourcePicker?: boolean; traceqlSearch?: boolean; prometheusMetricEncyclopedia?: boolean; timeSeriesTable?: boolean; @@ -97,4 +96,5 @@ export interface FeatureToggles { useCachingService?: boolean; enableElasticsearchBackendQuerying?: boolean; authenticationConfigUI?: boolean; + advancedDataSourcePicker?: boolean; } diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index 1153e39c680..d47daf1ae6c 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -391,13 +391,6 @@ var ( State: FeatureStateAlpha, Owner: grafanaAuthnzSquad, }, - { - Name: "drawerDataSourcePicker", - Description: "Changes the user experience for data source selection to a drawer.", - State: FeatureStateAlpha, - FrontendOnly: true, - Owner: grafanaBiSquad, - }, { Name: "traceqlSearch", Description: "Enables the 'TraceQL Search' tab for the Tempo datasource which provides a UI to generate TraceQL queries", @@ -526,5 +519,12 @@ var ( State: FeatureStateAlpha, Owner: grafanaAuthnzSquad, }, + { + Name: "advancedDataSourcePicker", + Description: "Enable a new data source picker with contextual information, recently used order, CSV upload and advanced mode", + State: FeatureStateAlpha, + FrontendOnly: true, + Owner: grafanaDashboardsSquad, + }, } ) diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index 1f5bd22a36e..7e1be02493c 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -57,7 +57,6 @@ lokiQuerySplitting,alpha,@grafana/observability-logs,false,false,false,true lokiQuerySplittingConfig,alpha,@grafana/observability-logs,false,false,false,true individualCookiePreferences,alpha,@grafana/backend-platform,false,false,false,false onlyExternalOrgRoleSync,alpha,@grafana/grafana-authnz-team,false,false,false,false -drawerDataSourcePicker,alpha,@grafana/grafana-bi-squad,false,false,false,true traceqlSearch,alpha,@grafana/observability-traces-and-profiling,false,false,false,true prometheusMetricEncyclopedia,alpha,@grafana/observability-metrics,false,false,false,true timeSeriesTable,alpha,@grafana/app-o11y,false,false,false,true @@ -78,3 +77,4 @@ dataplaneFrontendFallback,alpha,@grafana/observability-metrics,false,false,false useCachingService,stable,@grafana/grafana-operator-experience-squad,false,false,true,false enableElasticsearchBackendQuerying,beta,@grafana/observability-logs,false,false,false,false authenticationConfigUI,alpha,@grafana/grafana-authnz-team,false,false,false,false +advancedDataSourcePicker,alpha,@grafana/dashboards-squad,false,false,false,true diff --git a/pkg/services/featuremgmt/toggles_gen.go b/pkg/services/featuremgmt/toggles_gen.go index ec864dd4e7c..1b7897b7b26 100644 --- a/pkg/services/featuremgmt/toggles_gen.go +++ b/pkg/services/featuremgmt/toggles_gen.go @@ -239,10 +239,6 @@ const ( // Prohibits a user from changing organization roles synced with external auth providers FlagOnlyExternalOrgRoleSync = "onlyExternalOrgRoleSync" - // FlagDrawerDataSourcePicker - // Changes the user experience for data source selection to a drawer. - FlagDrawerDataSourcePicker = "drawerDataSourcePicker" - // FlagTraceqlSearch // Enables the 'TraceQL Search' tab for the Tempo datasource which provides a UI to generate TraceQL queries FlagTraceqlSearch = "traceqlSearch" @@ -322,4 +318,8 @@ const ( // FlagAuthenticationConfigUI // Enables authentication configuration UI FlagAuthenticationConfigUI = "authenticationConfigUI" + + // FlagAdvancedDataSourcePicker + // Enable a new data source picker with contextual information, recently used order, CSV upload and advanced mode + FlagAdvancedDataSourcePicker = "advancedDataSourcePicker" ) diff --git a/public/app/features/query/components/QueryGroup.tsx b/public/app/features/query/components/QueryGroup.tsx index d2cf1134c07..0d97f58750b 100644 --- a/public/app/features/query/components/QueryGroup.tsx +++ b/public/app/features/query/components/QueryGroup.tsx @@ -214,7 +214,7 @@ export class QueryGroup extends PureComponent { Data source
- {config.featureToggles.drawerDataSourcePicker ? ( + {config.featureToggles.advancedDataSourcePicker ? (