clients/apps/browser/src
Matt Gibson 94b57687f5
[PM-7926] Handle complex user logout events (#9115)
* Update activity when switching users

* Clear data of designated user

* Do not switchMap to null, always to Promise or Observable

* handle uninitialized popup services

* Switch to new account immediately and log out as inactive.

Split up done logging out and navigation so we can always display expire warning.

* Do not navigate in account switcher, main.background takes care of it

* Ignore storage updates from reseed events

* Remove loading on cancelled logout

* Catch missed account switch errors

* Avoid usage of active user state in sync service

Send service does not currently support specified user data
manipulation, so we ensure that the notification was sent to the
active user prior to processing the notification.

* Clear sequentialize caches on account switch

These caches are used to ensure that rapid calls to an async method are not repeated. However, the cached promises are valid only within a given userId context and must be cleared when that context changes.

* Revert `void` promise for notification reconnect

* Update libs/angular/src/services/jslib-services.module.ts

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>

* Handle switch account routing through messaging background -> app

* Use account switch status to handle unlocked navigation case.

* Revert "Handle switch account routing through messaging background -> app"

This reverts commit 8f35078ecb.

---------

Co-authored-by: Cesar Gonzalez <cesar.a.gonzalezcs@gmail.com>
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2024-05-14 16:27:43 -04:00
..
_locales add i18n messages used by forwarders (#9158) 2024-05-13 12:11:15 -04:00
admin-console Migrate OrganizationService to StateProvider (#7895) 2024-03-18 17:58:33 +01:00
auth [PM-7926] Handle complex user logout events (#9115) 2024-05-14 16:27:43 -04:00
autofill [PM-6400] Move core FIDO2 code from vault to platform ownership (#8044) 2024-05-14 14:08:41 +00:00
background [PM-7926] Handle complex user logout events (#9115) 2024-05-14 16:27:43 -04:00
billing/popup/settings Make premium.component to be owned by team-billing-dev (#8935) 2024-05-02 15:04:38 -04:00
browser [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00
images [PS-1693] feat(browser): implement theming for notification bar (#3805) 2022-10-27 19:34:47 +02:00
models Auth/PM-5501 - VaultTimeoutSettingsService State Provider Migration (#8604) 2024-05-13 15:56:04 -04:00
platform [PM-7926] Handle complex user logout events (#9115) 2024-05-14 16:27:43 -04:00
popup [PM-7926] Handle complex user logout events (#9115) 2024-05-14 16:27:43 -04:00
safari Update all instances of copyright with 2023 to 2024 (#7396) 2023-12-29 15:28:14 +00:00
services/vault-timeout [PM-5593] Removing BrowserSendService from services (#8512) 2024-03-27 12:34:15 -04:00
tools Rename about.component to about-dialog.component (#9094) 2024-05-09 06:29:51 -04:00
types [AC-1011] Admin Console / Billing code ownership (#4973) 2023-03-22 10:03:50 -05:00
vault [PM-6400] Move core FIDO2 code from vault to platform ownership (#8044) 2024-05-14 14:08:41 +00:00
managed_schema.json [SM-88] [BEEEP] Add support for chrome.storage.managed for environment urls (#3120) 2022-08-08 07:40:09 -04:00
manifest.json Bumped browser,cli,desktop,web version to (#9064) 2024-05-06 22:37:46 +00:00
manifest.v3.json Bumped browser,cli,desktop,web version to (#9064) 2024-05-06 22:37:46 +00:00