bitwarden-estensione-browser/apps/browser/src/popup
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
..
components [PM-3914] Refactor Browser Extension Popout Windows (#6296) 2023-11-08 12:57:44 -06:00
images [PM-1222] Store passkeys in Bitwarden vault (#4715) 2023-10-17 15:34:44 -04:00
scss Ps/pm 2910/browser header component (#6641) 2023-10-25 18:27:32 +00:00
services Ps/pm 2910/add browser storage services (#6849) 2023-11-21 16:35:37 -05:00
settings [PM-4420] Browser Settings Changes (#6902) 2023-11-20 20:53:03 -05:00
app-routing.animations.ts [PM-4209] Enable importing on browser (#6503) 2023-10-19 21:33:41 +01:00
app-routing.module.ts [PM-2910] Add Account Switching Page (#6701) 2023-10-30 15:34:42 +00:00
app.component.ts [PM-4401] Re-add manual ngZone.run execution (#6647) 2023-10-20 11:41:26 -05:00
app.module.ts [PM-2910] Add Account Switching Page (#6701) 2023-10-30 15:34:42 +00:00
index.html [EC-183] Mono Repository - Browser (#2531) 2022-05-03 19:38:55 +02:00
main.ts [PM-2237] Add tailwind to desktop & browser (#5326) 2023-07-14 15:03:42 -04:00
polyfills.ts [PM-4401] Re-add manual ngZone.run execution (#6647) 2023-10-20 11:41:26 -05:00
tabs.component.html [PS-1182] Desktop / Browser: Accessibility - remove appBlurClick, change remaining links to buttons (#2662) 2022-07-25 12:43:10 +02:00
tabs.component.ts [PM-3914] Refactor Browser Extension Popout Windows (#6296) 2023-11-08 12:57:44 -06:00