1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

[PM-18918] Navigate directly to at risk passwords page (#14044)

* refactor `openPopup` vault message to `OpenAtRiskPasswords`

* navigate directly to the at risk passwords page

* ensure the at-risk-passwords page navigates back to the vault

* reset popup index page

* avoid setting `hasNavigated` for the initial route

* Revert "avoid setting `hasNavigated` for the initial route"

This reverts commit 68bd9268ae.

* always reset popup page to the index

---------

Co-authored-by: Shane Melton <smelton@bitwarden.com>
This commit is contained in:
Nick Krantz
2025-04-04 10:42:07 -05:00
committed by GitHub
parent 263598d9e0
commit 576e438dbd
8 changed files with 69 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
const VaultMessages = {
HasBwInstalled: "hasBwInstalled",
checkBwInstalled: "checkIfBWExtensionInstalled",
OpenPopup: "openPopup",
OpenAtRiskPasswords: "openAtRiskPasswords",
PopupOpened: "popupOpened",
} as const;