Notification Banner: Add feature toggle (#87686)

pull/87510/head
Alex Khomenko 1 year ago committed by GitHub
parent 8681965be0
commit f3953b4955
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md
  2. 1
      packages/grafana-data/src/types/featureToggles.gen.ts
  3. 7
      pkg/services/featuremgmt/registry.go
  4. 1
      pkg/services/featuremgmt/toggles_gen.csv
  5. 4
      pkg/services/featuremgmt/toggles_gen.go
  6. 12
      pkg/services/featuremgmt/toggles_gen.json

@ -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

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

@ -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"
}
}
]
}
Loading…
Cancel
Save