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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user