From 7422a90e8ba0099bbbc241a688ae8f7e6c6b0027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Fern=C3=A1ndez?= Date: Fri, 16 Feb 2024 17:00:51 +0100 Subject: [PATCH] ReturnToPrevious: modify stage of the feature toggle (#82912) --- .../configure-grafana/feature-toggles/index.md | 2 +- pkg/services/featuremgmt/registry.go | 2 +- pkg/services/featuremgmt/toggles_gen.csv | 2 +- pkg/services/featuremgmt/toggles_gen.json | 11 +++++++---- 4 files changed, 10 insertions(+), 7 deletions(-) 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 5e61547c94b..b026a999bc8 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -73,6 +73,7 @@ Some features are enabled by default. You can disable these feature by setting t | `autoMigrateStatPanel` | Migrate old stat panel to supported stat panel - broken out from autoMigrateOldPanels to enable granular tracking | | `disableAngular` | Dynamic flag to disable angular at runtime. The preferred method is to set `angular_support_enabled` to `false` in the [security] settings, which allows you to change the state at runtime. | | `newVizTooltips` | New visualizations tooltips UX | +| `returnToPrevious` | Enables the return to previous context functionality | | `grpcServer` | Run the GRPC server | | `accessControlOnCall` | Access control primitives for OnCall | | `nestedFolders` | Enable folder nesting | @@ -115,7 +116,6 @@ Experimental features might be changed or removed without prior notice. | `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 | -| `returnToPrevious` | Enables the return to previous context functionality | | `showDashboardValidationWarnings` | Show warnings when dashboards do not validate against the schema | | `mysqlAnsiQuotes` | Use double quotes to escape keyword in a MySQL query | | `alertingBacktesting` | Rule backtesting API for alerting | diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index e3a126ae461..2f68031ac51 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -221,7 +221,7 @@ var ( { Name: "returnToPrevious", Description: "Enables the return to previous context functionality", - Stage: FeatureStageExperimental, + Stage: FeatureStagePublicPreview, FrontendOnly: true, Owner: grafanaFrontendPlatformSquad, }, diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index 18a3f9cef5a..cfa24f608ee 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -27,7 +27,7 @@ disableSecretsCompatibility,experimental,@grafana/hosted-grafana-team,false,true logRequestsInstrumentedAsUnknown,experimental,@grafana/hosted-grafana-team,false,false,false dataConnectionsConsole,GA,@grafana/plugins-platform-backend,false,false,false topnav,deprecated,@grafana/grafana-frontend-platform,false,false,false -returnToPrevious,experimental,@grafana/grafana-frontend-platform,false,false,true +returnToPrevious,preview,@grafana/grafana-frontend-platform,false,false,true grpcServer,preview,@grafana/grafana-app-platform-squad,false,false,false unifiedStorage,experimental,@grafana/grafana-app-platform-squad,true,true,false cloudWatchCrossAccountQuerying,GA,@grafana/aws-datasources,false,false,false diff --git a/pkg/services/featuremgmt/toggles_gen.json b/pkg/services/featuremgmt/toggles_gen.json index 670f4929bd8..42d7fcebd3c 100644 --- a/pkg/services/featuremgmt/toggles_gen.json +++ b/pkg/services/featuremgmt/toggles_gen.json @@ -872,12 +872,15 @@ { "metadata": { "name": "returnToPrevious", - "resourceVersion": "1707928895402", - "creationTimestamp": "2024-02-14T16:41:35Z" + "resourceVersion": "1708097934301", + "creationTimestamp": "2024-02-14T16:41:35Z", + "annotations": { + "grafana.app/updatedTimestamp": "2024-02-16 15:38:54.301079 +0000 UTC" + } }, "spec": { "description": "Enables the return to previous context functionality", - "stage": "experimental", + "stage": "preview", "codeowner": "@grafana/grafana-frontend-platform", "frontend": true } @@ -1288,7 +1291,7 @@ "name": "clientTokenRotation", "resourceVersion": "1707928895402", "creationTimestamp": "2024-02-14T16:41:35Z", - "deletionTimestamp": "2024-02-16T10:26:09Z" + "deletionTimestamp": "2024-02-16T15:38:59Z" }, "spec": { "description": "Replaces the current in-request token rotation so that the client initiates the rotation",