1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-11 14:48:46 +01:00
bitwarden-browser/apps/browser/src/popup
Matt Gibson 06affa9654
Rework derived state (#7290)
* Remove derived state from state classes

* Create provider for derived state

Derived state is automatically stored to memory storage, but can be derived from any observable.

* Fixup state provider method definitions

* Test `DefaultDerivedState`

* remove implementation notes

* Write docs for derived state

* fixup derived state provider types

* Implement buffered delayUntil operator

* Move state types to a common module

* Move mock ports to centra location

* Alias DerivedStateDependency type

* Add dependencies to browser

* Prefer internal rxjs operators for ref counting

* WIP

* Ensure complete on subjects

* Foreground/background messaging for browser

Defers work for browser to the background

* Test foreground port behaviors

* Inject foreground and background derived state services

* remove unnecessary class field

* Adhere to required options

* Add dderived state to CLI

* Prefer type definition in type parameters to options

* Prefer instance method

* Implements factory methods for common uses

* Remove nothing test

* Remove share subject reference

Share manages connector subjects internally and will reuse them until
refcount is 0 and the cleanup time has passed. Saving our own reference
just risks memory leaks without real testability benefits.

* Fix interaction state
2024-01-04 14:47:49 -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 [PM-4650] Provide user interaction for adding domain to excluded domains for passkeys (#7041) 2023-12-20 10:38:35 -05:00
services Rework derived state (#7290) 2024-01-04 14:47:49 -05:00
settings [PM-2414] Angular 16 Upgrade - SetPinComponent (#7214) 2023-12-27 10:48:06 -08:00
app-routing.animations.ts [PM-194] Browser Account Switcher UI (#6772) 2023-12-06 09:22:48 -08:00
app-routing.module.ts [pm-5287] fix account switch logout routing (#7231) 2023-12-18 14:23:43 -05:00
app.component.ts [PM-194] Browser Account Switcher UI (#6772) 2023-12-06 09:22:48 -08:00
app.module.ts [PM-2414] Angular 16 Upgrade - SetPinComponent (#7214) 2023-12-27 10:48:06 -08:00
index.html [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05: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