Notification Banner: Add feature toggle (#87686)

This commit is contained in:
Alex Khomenko
2024-05-13 11:32:34 +02:00
committed by GitHub
parent 8681965be0
commit f3953b4955
6 changed files with 26 additions and 0 deletions

View File

@@ -180,6 +180,7 @@ Experimental features might be changed or removed without prior notice.
| `autofixDSUID` | Automatically migrates invalid datasource UIDs |
| `logsExploreTableDefaultVisualization` | Sets the logs table as default visualisation in logs explore |
| `newDashboardSharingComponent` | Enables the new sharing drawer design |
| `notificationBanner` | Enables the notification banner UI and API |
## Development feature toggles

View File

@@ -185,4 +185,5 @@ export interface FeatureToggles {
autofixDSUID?: boolean;
logsExploreTableDefaultVisualization?: boolean;
newDashboardSharingComponent?: boolean;
notificationBanner?: boolean;
}

View File

@@ -1248,6 +1248,13 @@ var (
Owner: grafanaSharingSquad,
FrontendOnly: true,
},
{
Name: "notificationBanner",
Description: "Enables the notification banner UI and API",
Stage: FeatureStageExperimental,
Owner: grafanaFrontendPlatformSquad,
FrontendOnly: false,
},
}
)

View File

@@ -166,3 +166,4 @@ queryLibrary,experimental,@grafana/explore-squad,false,false,false
autofixDSUID,experimental,@grafana/plugins-platform-backend,false,false,false
logsExploreTableDefaultVisualization,experimental,@grafana/observability-logs,false,false,true
newDashboardSharingComponent,experimental,@grafana/sharing-squad,false,false,true
notificationBanner,experimental,@grafana/grafana-frontend-platform,false,false,false
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
166 autofixDSUID experimental @grafana/plugins-platform-backend false false false
167 logsExploreTableDefaultVisualization experimental @grafana/observability-logs false false true
168 newDashboardSharingComponent experimental @grafana/sharing-squad false false true
169 notificationBanner experimental @grafana/grafana-frontend-platform false false false

View File

@@ -674,4 +674,8 @@ const (
// FlagNewDashboardSharingComponent
// Enables the new sharing drawer design
FlagNewDashboardSharingComponent = "newDashboardSharingComponent"
// FlagNotificationBanner
// Enables the notification banner UI and API
FlagNotificationBanner = "notificationBanner"
)

View File

@@ -2167,6 +2167,18 @@
"codeowner": "@grafana/grafana-operator-experience-squad",
"hideFromDocs": true
}
},
{
"metadata": {
"name": "notificationBanner",
"resourceVersion": "1715582792356",
"creationTimestamp": "2024-05-13T06:46:32Z"
},
"spec": {
"description": "Enables the notification banner UI and API",
"stage": "experimental",
"codeowner": "@grafana/grafana-frontend-platform"
}
}
]
}