mirror of
https://github.com/grafana/grafana.git
synced 2024-11-21 16:38:03 -06:00
Dashboards: Remove scenes
feature toggle (#89771)
This commit is contained in:
parent
9056ff73f6
commit
be1414b36b
@ -115,7 +115,6 @@ Experimental features might be changed or removed without prior notice.
|
||||
| `storage` | Configurable storage for dashboards, datasources, and resources |
|
||||
| `datasourceQueryMultiStatus` | Introduce HTTP 207 Multi Status for api/ds/query |
|
||||
| `canvasPanelNesting` | Allow elements nesting |
|
||||
| `scenes` | Experimental framework to build interactive dashboards |
|
||||
| `disableSecretsCompatibility` | Disable duplicated secret storage in legacy tables |
|
||||
| `logRequestsInstrumentedAsUnknown` | Logs the path for requests that are instrumented as unknown |
|
||||
| `unifiedStorage` | SQL-based k8s storage |
|
||||
|
@ -39,7 +39,6 @@ export interface FeatureToggles {
|
||||
autoMigrateXYChartPanel?: boolean;
|
||||
disableAngular?: boolean;
|
||||
canvasPanelNesting?: boolean;
|
||||
scenes?: boolean;
|
||||
disableSecretsCompatibility?: boolean;
|
||||
logRequestsInstrumentedAsUnknown?: boolean;
|
||||
topnav?: boolean;
|
||||
|
@ -170,13 +170,6 @@ var (
|
||||
Owner: grafanaDatavizSquad,
|
||||
HideFromAdminPage: true,
|
||||
},
|
||||
{
|
||||
Name: "scenes",
|
||||
Description: "Experimental framework to build interactive dashboards",
|
||||
Stage: FeatureStageExperimental,
|
||||
FrontendOnly: true,
|
||||
Owner: grafanaDashboardsSquad,
|
||||
},
|
||||
{
|
||||
Name: "disableSecretsCompatibility",
|
||||
Description: "Disable duplicated secret storage in legacy tables",
|
||||
|
@ -20,7 +20,6 @@ autoMigrateStatPanel,preview,@grafana/dataviz-squad,false,false,true
|
||||
autoMigrateXYChartPanel,preview,@grafana/dataviz-squad,false,false,true
|
||||
disableAngular,preview,@grafana/dataviz-squad,false,false,true
|
||||
canvasPanelNesting,experimental,@grafana/dataviz-squad,false,false,true
|
||||
scenes,experimental,@grafana/dashboards-squad,false,false,true
|
||||
disableSecretsCompatibility,experimental,@grafana/hosted-grafana-team,false,true,false
|
||||
logRequestsInstrumentedAsUnknown,experimental,@grafana/hosted-grafana-team,false,false,false
|
||||
topnav,deprecated,@grafana/grafana-frontend-platform,false,false,false
|
||||
|
|
@ -91,10 +91,6 @@ const (
|
||||
// Allow elements nesting
|
||||
FlagCanvasPanelNesting = "canvasPanelNesting"
|
||||
|
||||
// FlagScenes
|
||||
// Experimental framework to build interactive dashboards
|
||||
FlagScenes = "scenes"
|
||||
|
||||
// FlagDisableSecretsCompatibility
|
||||
// Disable duplicated secret storage in legacy tables
|
||||
FlagDisableSecretsCompatibility = "disableSecretsCompatibility"
|
||||
|
@ -2098,7 +2098,8 @@
|
||||
"metadata": {
|
||||
"name": "scenes",
|
||||
"resourceVersion": "1718727528075",
|
||||
"creationTimestamp": "2022-07-07T06:53:02Z"
|
||||
"creationTimestamp": "2022-07-07T06:53:02Z",
|
||||
"deletionTimestamp": "2024-06-26T11:58:18Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Experimental framework to build interactive dashboards",
|
||||
|
@ -185,6 +185,8 @@ export const DashNav = memo<Props>((props) => {
|
||||
};
|
||||
|
||||
const renderLeftActions = () => {
|
||||
const isDevEnv = config.buildInfo.env === 'development';
|
||||
|
||||
const { dashboard, kioskMode } = props;
|
||||
const { canStar, isStarred } = dashboard.meta;
|
||||
const buttons: ReactNode[] = [];
|
||||
@ -222,7 +224,7 @@ export const DashNav = memo<Props>((props) => {
|
||||
);
|
||||
}
|
||||
|
||||
if (config.featureToggles.scenes) {
|
||||
if (isDevEnv && config.featureToggles.dashboardScene) {
|
||||
buttons.push(
|
||||
<DashNavButton
|
||||
key="button-scenes"
|
||||
|
Loading…
Reference in New Issue
Block a user