bitwarden-estensione-browser/apps/desktop/src/app
Matt Gibson 24c240d0d4
Ps/pm 2910/add browser storage services (#6849)
* Allow for update logic in state update callbacks

* Prefer reading updates to sending in stream

* Inform state providers when they must deserialize

* Update DefaultGlobalState to act more like DefaultUserState

* Fully Implement AbstractStorageService

* Add KeyDefinitionOptions

* Address PR feedback

* Prefer testing interactions for ports

* Synced memory storage for browser

* Fix port handling

* Do not stringify port message data

* Use messaging storage

* Initialize new foreground memory storage services

This will need to be rethought for short-lived background pages, but for
now the background is the source of truth for memory storage

* Use global state for account service

* Use BrowserApi listener to avoid safari memory leaks

* Fix build errors: debugging and missed impls

* Prefer bound arrow functions

* JSON Stringify Messages

* Prefer `useClass`

* Use noop services

* extract storage observable to new interface

This also reverts changes for the existing services to use
foreground/background services. Those are now used only in state
providers

* Fix web DI

* Prefer initializing observable in constructor

* Do not use jsonify as equality operator

* Remove port listener to avoid memory leaks

* Fix logic and type issues

---------

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2023-11-21 16:35:37 -05:00
..
accounts [PM-4360] Move auth owned code into auth (#6595) 2023-10-19 08:03:32 +00:00
components [PM-4357] remove disableClose on BrowserSyncVerificationDialog and AwaitDesktopDialog (#6730) 2023-10-30 12:24:26 -04:00
layout [PM-3000] Add Environment URLs to Account Switcher (#5978) 2023-11-15 11:02:11 -08:00
services Ps/pm 2910/add browser storage services (#6849) 2023-11-21 16:35:37 -05:00
shared [SM-251] Migrate to new avatar component (#3600) 2022-10-27 14:38:34 +02:00
tools [PM-4195] LastPass importer flow (#6541) 2023-10-23 17:46:49 +00:00
app-routing.module.ts [PM-3198][PM-3199] Rename PasswordlessLoginStrategy (#6425) 2023-10-25 11:15:05 -07:00
app.component.ts PM-3857 - Desktop - App Comp - Refactor order of operations of the logout process to prevent premature process reload before user data can be fully cleaned up out of the state service. Probably fixes PM-3391 as well. (#6616) 2023-11-16 21:15:42 +00:00
app.module.ts [PM-4360] Move auth owned code into auth (#6595) 2023-10-19 08:03:32 +00:00
main.ts [PM-3996] Scaffolding for preload script (#6065) 2023-10-12 11:50:17 +02:00