RolePickerDrawer: Add feature toggle (#93752)

Add feature toggle
pull/93951/head
linoman 8 months ago committed by GitHub
parent df9925f3bb
commit e2816ee51a
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. 6
      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

@ -203,6 +203,7 @@ Experimental features might be changed or removed without prior notice.
| `homeSetupGuide` | Used in Home for users who want to return to the onboarding flow or quickly find popular config pages |
| `appSidecar` | Enable the app sidecar feature that allows rendering 2 apps at the same time |
| `alertingQueryAndExpressionsStepMode` | Enables step mode for alerting queries and expressions |
| `rolePickerDrawer` | Enables the new role picker drawer design |
## Development feature toggles

@ -215,4 +215,5 @@ export interface FeatureToggles {
alertingQueryAndExpressionsStepMode?: boolean;
improvedExternalSessionHandling?: boolean;
useSessionStorageForRedirection?: boolean;
rolePickerDrawer?: boolean;
}

@ -1480,6 +1480,12 @@ var (
Stage: FeatureStagePublicPreview,
Owner: identityAccessTeam,
},
{
Name: "rolePickerDrawer",
Description: "Enables the new role picker drawer design",
Stage: FeatureStageExperimental,
Owner: identityAccessTeam,
},
}
)

@ -196,3 +196,4 @@ groupAttributeSync,experimental,@grafana/identity-access-team,false,false,false
alertingQueryAndExpressionsStepMode,experimental,@grafana/alerting-squad,false,false,true
improvedExternalSessionHandling,experimental,@grafana/identity-access-team,false,false,false
useSessionStorageForRedirection,preview,@grafana/identity-access-team,false,false,false
rolePickerDrawer,experimental,@grafana/identity-access-team,false,false,false

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
196 alertingQueryAndExpressionsStepMode experimental @grafana/alerting-squad false false true
197 improvedExternalSessionHandling experimental @grafana/identity-access-team false false false
198 useSessionStorageForRedirection preview @grafana/identity-access-team false false false
199 rolePickerDrawer experimental @grafana/identity-access-team false false false

@ -794,4 +794,8 @@ const (
// FlagUseSessionStorageForRedirection
// Use session storage for handling the redirection after login
FlagUseSessionStorageForRedirection = "useSessionStorageForRedirection"
// FlagRolePickerDrawer
// Enables the new role picker drawer design
FlagRolePickerDrawer = "rolePickerDrawer"
)

@ -2657,6 +2657,18 @@
"requiresRestart": true
}
},
{
"metadata": {
"name": "rolePickerDrawer",
"resourceVersion": "1727337187819",
"creationTimestamp": "2024-09-26T07:53:07Z"
},
"spec": {
"description": "Enables the new role picker drawer design",
"stage": "experimental",
"codeowner": "@grafana/identity-access-team"
}
},
{
"metadata": {
"name": "scenes",

Loading…
Cancel
Save