mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Notification Banner: Add feature toggle (#87686)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -185,4 +185,5 @@ export interface FeatureToggles {
|
||||
autofixDSUID?: boolean;
|
||||
logsExploreTableDefaultVisualization?: boolean;
|
||||
newDashboardSharingComponent?: boolean;
|
||||
notificationBanner?: boolean;
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
@@ -674,4 +674,8 @@ const (
|
||||
// FlagNewDashboardSharingComponent
|
||||
// Enables the new sharing drawer design
|
||||
FlagNewDashboardSharingComponent = "newDashboardSharingComponent"
|
||||
|
||||
// FlagNotificationBanner
|
||||
// Enables the notification banner UI and API
|
||||
FlagNotificationBanner = "notificationBanner"
|
||||
)
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user