Explore: Remove explore2Dashboard feature toggle (#58329)

This commit is contained in:
Giordano Ricci 2022-11-07 16:06:40 +00:00 committed by GitHub
parent b472306239
commit 43436bd6f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1 additions and 19 deletions

View File

@ -68,12 +68,6 @@ The Share shortened link capability allows you to create smaller and simpler URL
## Available feature toggles
### explore2Dashboard
> **Note:** Available in Grafana 8.5.0 and later versions.
Enabled by default, allows users to create panels in dashboards from within Explore.
### exploreMixedDatasource
Disabled by default, allows users in Explore to have different datasources for different queries. If compatible, results will be combined.

View File

@ -45,7 +45,6 @@ export interface FeatureToggles {
dashboardsFromStorage?: boolean;
export?: boolean;
azureMonitorResourcePickerForMetrics?: boolean;
explore2Dashboard?: boolean;
exploreMixedDatasource?: boolean;
tracing?: boolean;
commandPalette?: boolean;

View File

@ -166,13 +166,6 @@ var (
RequiresDevMode: true,
FrontendOnly: true,
},
{
Name: "explore2Dashboard",
Description: "Experimental Explore to Dashboard workflow",
State: FeatureStateStable,
Expression: "true", // enabled by default
FrontendOnly: true,
},
{
Name: "exploreMixedDatasource",
Description: "Enable mixed datasource in Explore",

View File

@ -123,10 +123,6 @@ const (
// New UI for Azure Monitor Metrics Query
FlagAzureMonitorResourcePickerForMetrics = "azureMonitorResourcePickerForMetrics"
// FlagExplore2Dashboard
// Experimental Explore to Dashboard workflow
FlagExplore2Dashboard = "explore2Dashboard"
// FlagExploreMixedDatasource
// Enable mixed datasource in Explore
FlagExploreMixedDatasource = "exploreMixedDatasource"

View File

@ -157,7 +157,7 @@ class UnConnectedExploreToolbar extends PureComponent<Props> {
</ToolbarButton>
),
config.featureToggles.explore2Dashboard && showExploreToDashboard && (
showExploreToDashboard && (
<Suspense key="addToDashboard" fallback={null}>
<AddToDashboard exploreId={exploreId} />
</Suspense>