1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-24 16:43:27 +00:00

[PM-31433] Welcome Dialog with Extension Prompt (#18849)

* add welcome prompt when extension is not installed

* add feature flag

* move prompt logic to internal service and add day prompt

* rename dialog component

* remove feature flag hardcode and add documentation

* use i18n for image alt

* move state into service

* be more explicit when the account or creation date is not available

* remove spaces

* fix types caused by introducing a numeric feature flag type

* add `typeof` for feature flag typing
This commit is contained in:
Nick Krantz
2026-02-20 10:23:59 -06:00
committed by GitHub
parent a7c74c6f76
commit a610ce01a2
14 changed files with 596 additions and 5 deletions

View File

@@ -220,6 +220,13 @@ export const VAULT_BROWSER_INTRO_CAROUSEL = new StateDefinition(
"disk",
);
export const VAULT_AT_RISK_PASSWORDS_MEMORY = new StateDefinition("vaultAtRiskPasswords", "memory");
export const WELCOME_EXTENSION_DIALOG_DISK = new StateDefinition(
"vaultWelcomeExtensionDialogDismissed",
"disk",
{
web: "disk-local",
},
);
// KM