Navigation: Add a return to previous button when navigating to different sections (#86764)

This commit is contained in:
Laura Fernández 2024-04-23 15:56:04 +02:00 committed by GitHub
parent 3dabc3ff5d
commit 2fb38a34ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 6 deletions

View File

@ -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 |
@ -74,7 +75,6 @@ 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 |
| `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. |
| `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 |

View File

@ -208,8 +208,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,
},
{

View File

@ -25,7 +25,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
25 disableSecretsCompatibility experimental @grafana/hosted-grafana-team false true false
26 logRequestsInstrumentedAsUnknown experimental @grafana/hosted-grafana-team false false false
27 topnav deprecated @grafana/grafana-frontend-platform false false false
28 returnToPrevious preview GA @grafana/grafana-frontend-platform false false true
29 grpcServer preview @grafana/grafana-app-platform-squad false false false
30 unifiedStorage experimental @grafana/grafana-app-platform-squad true true false
31 cloudWatchCrossAccountQuerying GA @grafana/aws-datasources false false false

View File

@ -201,12 +201,15 @@
{
"metadata": {
"name": "returnToPrevious",
"resourceVersion": "1713545444177",
"creationTimestamp": "2024-04-19T16:50:44Z"
"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
}