1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

[CL-806] Focus main content after SPA navigation occurs (#17112)

This commit is contained in:
Vicki League
2025-11-26 12:30:10 -05:00
committed by GitHub
parent f824530b11
commit 2128894152
5 changed files with 81 additions and 2 deletions

View File

@@ -72,6 +72,9 @@ export enum FeatureFlag {
/* Innovation */
PM19148_InnovationArchive = "pm-19148-innovation-archive",
/* UIF */
RouterFocusManagement = "router-focus-management",
}
export type AllowedFeatureFlagTypes = boolean | number | string;
@@ -150,6 +153,9 @@ export const DefaultFeatureFlagValue = {
/* Innovation */
[FeatureFlag.PM19148_InnovationArchive]: FALSE,
/* UIF */
[FeatureFlag.RouterFocusManagement]: FALSE,
} satisfies Record<FeatureFlag, AllowedFeatureFlagTypes>;
export type DefaultFeatureFlagValueType = typeof DefaultFeatureFlagValue;