mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
[PM-17564] Prompt Browser Extension (#13349)
* add browser extension prompt page with initial loading state * add browser extension icon * move browser extension prompt to state * add installation link for error state * automatically open extension when possible for browser-reprompt-page * refactor browser tabs query into a standalone method * add success message state for auto-opening browsers * Refactor `VaultOnboardingMessages` to `VaultMessages` to be more generic * add auto-open extension messages to `VaultMessages` enum * add bitwarden icon * Add manual error state for firefox users * add extension prompt routing * fix incorrect imports * add mobile screen for browser prompt * remove comment * fix typo in code comment * update key for `checkBwInstalled` method * add check for safari before attempting to send a message * break translation for manual opening into two parts
This commit is contained in:
8
libs/common/src/vault/enums/vault-messages.enum.ts
Normal file
8
libs/common/src/vault/enums/vault-messages.enum.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
const VaultMessages = {
|
||||
HasBwInstalled: "hasBwInstalled",
|
||||
checkBwInstalled: "checkIfBWExtensionInstalled",
|
||||
OpenPopup: "openPopup",
|
||||
PopupOpened: "popupOpened",
|
||||
} as const;
|
||||
|
||||
export { VaultMessages };
|
||||
@@ -1,6 +0,0 @@
|
||||
const VaultOnboardingMessages = {
|
||||
HasBwInstalled: "hasBwInstalled",
|
||||
checkBwInstalled: "checkIfBWExtensionInstalled",
|
||||
} as const;
|
||||
|
||||
export { VaultOnboardingMessages };
|
||||
Reference in New Issue
Block a user