Dashboards: Remove scenes feature toggle (#89771)

This commit is contained in:
Dominik Prokop 2024-06-27 09:03:46 +02:00 committed by GitHub
parent 9056ff73f6
commit be1414b36b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 5 additions and 16 deletions

View File

@ -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 |

View File

@ -39,7 +39,6 @@ export interface FeatureToggles {
autoMigrateXYChartPanel?: boolean;
disableAngular?: boolean;
canvasPanelNesting?: boolean;
scenes?: boolean;
disableSecretsCompatibility?: boolean;
logRequestsInstrumentedAsUnknown?: boolean;
topnav?: boolean;

View File

@ -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",

View File

@ -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

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
20 autoMigrateXYChartPanel preview @grafana/dataviz-squad false false true
21 disableAngular preview @grafana/dataviz-squad false false true
22 canvasPanelNesting experimental @grafana/dataviz-squad false false true
scenes experimental @grafana/dashboards-squad false false true
23 disableSecretsCompatibility experimental @grafana/hosted-grafana-team false true false
24 logRequestsInstrumentedAsUnknown experimental @grafana/hosted-grafana-team false false false
25 topnav deprecated @grafana/grafana-frontend-platform false false false

View File

@ -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"

View File

@ -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",

View File

@ -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"