1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-27 18:13:29 +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

@@ -51,7 +51,7 @@ import type { NativeWindowObject } from "./desktop-fido2-user-interface.service"
export class DesktopAutofillService implements OnDestroy {
private destroy$ = new Subject<void>();
private registrationRequest: autofill.PasskeyRegistrationRequest;
private featureFlag?: FeatureFlag;
private featureFlag?: typeof FeatureFlag.MacOsNativeCredentialSync;
private isEnabled: boolean = false;
constructor(