RolePickerDrawer: Add feature toggle (#93752)

Add feature toggle
This commit is contained in:
linoman 2024-09-26 14:51:38 +02:00 committed by GitHub
parent df9925f3bb
commit e2816ee51a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 25 additions and 0 deletions

View File

@ -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 | | `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 | | `appSidecar` | Enable the app sidecar feature that allows rendering 2 apps at the same time |
| `alertingQueryAndExpressionsStepMode` | Enables step mode for alerting queries and expressions | | `alertingQueryAndExpressionsStepMode` | Enables step mode for alerting queries and expressions |
| `rolePickerDrawer` | Enables the new role picker drawer design |
## Development feature toggles ## Development feature toggles

View File

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

View File

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

View File

@ -196,3 +196,4 @@ groupAttributeSync,experimental,@grafana/identity-access-team,false,false,false
alertingQueryAndExpressionsStepMode,experimental,@grafana/alerting-squad,false,false,true alertingQueryAndExpressionsStepMode,experimental,@grafana/alerting-squad,false,false,true
improvedExternalSessionHandling,experimental,@grafana/identity-access-team,false,false,false improvedExternalSessionHandling,experimental,@grafana/identity-access-team,false,false,false
useSessionStorageForRedirection,preview,@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

View File

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

View File

@ -2657,6 +2657,18 @@
"requiresRestart": true "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": { "metadata": {
"name": "scenes", "name": "scenes",