Canvas: add feature flag for nesting elements (#49958)

This commit is contained in:
Adela Almasan
2022-05-31 14:03:34 -05:00
committed by GitHub
parent 1e4ebf876b
commit e18e8002c4
4 changed files with 13 additions and 1 deletions

View File

@@ -248,5 +248,11 @@ var (
Description: "Enable wide series responses in the Prometheus datasource",
State: FeatureStateAlpha,
},
{
Name: "canvasPanelNesting",
Description: "Allow elements nesting",
State: FeatureStateAlpha,
FrontendOnly: true,
},
}
)

View File

@@ -182,4 +182,8 @@ const (
// FlagPrometheusWideSeries
// Enable wide series responses in the Prometheus datasource
FlagPrometheusWideSeries = "prometheusWideSeries"
// FlagCanvasPanelNesting
// Allow elements nesting
FlagCanvasPanelNesting = "canvasPanelNesting"
)