bitwarden-estensione-browser/libs/common/src/platform/state
Matt Gibson 62ad39e697
Ps/pm 5965/better config polling (#8325)
* Create tracker that can await until expected observables are received.

* Test dates are almost equal

* Remove unused class method

* Allow for updating active account in accout service fake

* Correct observable tracker behavior

Clarify documentation

* Transition config service to state provider

Updates the config fetching behavior to be lazy and ensure that any emitted value has been updated if older than a configurable value (statically compiled).

If desired, config fetching can be ensured fresh through an async.

* Update calls to config service in DI and bootstrapping

* Migrate account server configs

* Fix global config fetching

* Test migration rollback

* Adhere to implementation naming convention

* Adhere to abstract class naming convention

* Complete config abstraction rename

* Remove unnecessary cli config service

* Fix builds

* Validate observable does not complete

* Use token service to determine authed or unauthed config pull

* Remove superfluous factory config

* Name describe blocks after the thing they test

* Remove implementation documentation

Unfortunately the experience when linking to external documentation is quite poor. Instead of following the link and retrieving docs, you get a link that can be clicked to take you out of context to the docs. No link _does_ retrieve docs, but lacks indication in the implementation that documentation exists at all.

On the balance, removing the link is the better experience.

* Fix storybook
2024-03-27 10:03:09 -07:00
..
implementations `getUserState$` Helper Improvements (#8267) 2024-03-15 09:05:04 -04:00
storage JSON stringify memory items (#7731) 2024-01-29 19:42:58 +00:00
derive-definition.spec.ts [PM-5533] Migrate Asymmetric User Keys to State Providers (#7665) 2024-02-14 15:04:08 -05:00
derive-definition.ts [PM-5533] Migrate Asymmetric User Keys to State Providers (#7665) 2024-02-14 15:04:08 -05:00
derived-state.provider.ts Remove unnecessary complex types (#7451) 2024-01-04 16:50:55 -05:00
derived-state.ts Rework derived state (#7290) 2024-01-04 14:47:49 -05:00
deserialization-helpers.ts [PM-6404] Add `UserKeyDefinition` (#8052) 2024-02-26 11:28:40 -05:00
global-state.provider.ts Add State Provider Framework (#6640) 2023-11-09 17:06:42 -05:00
global-state.ts [PM-6654] new app id service for angular (#8229) 2024-03-12 11:12:40 -04:00
index.ts [PM-6847] `SecretState` array and record support (#8378) 2024-03-21 17:44:42 +01:00
key-definition.spec.ts [PM-5829] Add `disk-local` option for `web` (#7669) 2024-01-25 12:48:51 -05:00
key-definition.ts [PM-6404] Add `UserKeyDefinition` (#8052) 2024-02-26 11:28:40 -05:00
state-definition.ts Migrate `autoConfirmFingerPrints` to `StateProvider` (#8337) 2024-03-19 17:37:35 -04:00
state-definitions.spec.ts [PM-5829] Add `disk-local` option for `web` (#7669) 2024-01-25 12:48:51 -05:00
state-definitions.ts Ps/pm 5965/better config polling (#8325) 2024-03-27 10:03:09 -07:00
state-event-registrar.service.spec.ts [PM-6404] Initial Clear Events Code (#8029) 2024-02-27 21:58:31 +00:00
state-event-registrar.service.ts [PM-6404] Initial Clear Events Code (#8029) 2024-02-27 21:58:31 +00:00
state-event-runner.service.spec.ts [PM-6404] Initial Clear Events Code (#8029) 2024-02-27 21:58:31 +00:00
state-event-runner.service.ts [PM-6404] Initial Clear Events Code (#8029) 2024-02-27 21:58:31 +00:00
state-update-options.ts [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00
state.provider.ts `getUserState$` Helper Improvements (#8267) 2024-03-15 09:05:04 -04:00
user-key-definition.ts Add the key definition name in the error for buildKey (#8355) 2024-03-15 20:15:53 +00:00
user-state.provider.ts [PM-6404] Add `UserKeyDefinition` (#8052) 2024-02-26 11:28:40 -05:00
user-state.ts [PM-6654] new app id service for angular (#8229) 2024-03-12 11:12:40 -04:00