[v11.0.x] Navigation: Add a return to previous button when navigating to different sections (#86797)

pull/86849/head
Laura Fernández 1 year ago committed by GitHub
parent 494a3c14d1
commit b67879e2ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md
  2. 3
      pkg/services/featuremgmt/registry.go
  3. 2
      pkg/services/featuremgmt/toggles_gen.csv
  4. 9
      pkg/services/featuremgmt/toggles_gen.json

@ -26,6 +26,7 @@ Some features are enabled by default. You can disable these feature by setting t
| `featureHighlights` | Highlight Grafana Enterprise features | |
| `correlations` | Correlations page | |
| `exploreContentOutline` | Content outline sidebar | Yes |
| `returnToPrevious` | Enables the return to previous context functionality | Yes |
| `cloudWatchCrossAccountQuerying` | Enables cross-account querying in CloudWatch datasources | Yes |
| `nestedFolders` | Enable folder nesting | Yes |
| `nestedFolderPicker` | Enables the new folder picker to work with nested folders. Requires the nestedFolders feature toggle | Yes |
@ -76,7 +77,6 @@ Some features are enabled by default. You can disable these feature by setting t
| `autoMigrateXYChartPanel` | Migrate old XYChart panel to new XYChart2 model |
| `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 |
| `alertingNoNormalState` | Stop maintaining state of alerts that are not firing |

@ -216,8 +216,9 @@ var (
{
Name: "returnToPrevious",
Description: "Enables the return to previous context functionality",
Stage: FeatureStagePublicPreview,
Stage: FeatureStageGeneralAvailability,
FrontendOnly: true,
Expression: "true", // enabled by default
Owner: grafanaFrontendPlatformSquad,
},
{

@ -26,7 +26,7 @@ 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
returnToPrevious,preview,@grafana/grafana-frontend-platform,false,false,true
returnToPrevious,GA,@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

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
26 disableSecretsCompatibility experimental @grafana/hosted-grafana-team false true false
27 logRequestsInstrumentedAsUnknown experimental @grafana/hosted-grafana-team false false false
28 topnav deprecated @grafana/grafana-frontend-platform false false false
29 returnToPrevious preview GA @grafana/grafana-frontend-platform false false true
30 grpcServer preview @grafana/grafana-app-platform-squad false false false
31 unifiedStorage experimental @grafana/grafana-app-platform-squad true true false
32 cloudWatchCrossAccountQuerying GA @grafana/aws-datasources false false false

@ -705,12 +705,15 @@
{
"metadata": {
"name": "returnToPrevious",
"resourceVersion": "1712686869842",
"creationTimestamp": "2024-04-09T18:21:09Z"
"resourceVersion": "1713870623848",
"creationTimestamp": "2024-04-19T16:50:44Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-04-23 11:10:23.848446 +0000 UTC"
}
},
"spec": {
"description": "Enables the return to previous context functionality",
"stage": "preview",
"stage": "GA",
"codeowner": "@grafana/grafana-frontend-platform",
"frontend": true
}

Loading…
Cancel
Save