bitwarden-estensione-browser/libs/common/src/state-migrations
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
..
migrations Ps/pm 5965/better config polling (#8325) 2024-03-27 10:03:09 -07:00
.eslintrc.json PM-3585 Improve state migrations (#5009) 2023-08-30 17:57:20 +00:00
index.ts [PM-6172] Run `localStorage` migrations for web (#7900) 2024-02-14 08:52:13 -05:00
migrate.spec.ts [PM-6172] Run `localStorage` migrations for web (#7900) 2024-02-14 08:52:13 -05:00
migrate.ts Ps/pm 5965/better config polling (#8325) 2024-03-27 10:03:09 -07:00
migration-builder.spec.ts [PM-6965] Add `type` Property to `MigrationHelper` (#8411) 2024-03-25 14:28:42 +00:00
migration-builder.ts [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00
migration-helper.spec.ts [PM-6965] Add `type` Property to `MigrationHelper` (#8411) 2024-03-25 14:28:42 +00:00
migration-helper.ts [PM-6965] Add `type` Property to `MigrationHelper` (#8411) 2024-03-25 14:28:42 +00:00
migrator.spec.ts [PM-6965] Add `type` Property to `MigrationHelper` (#8411) 2024-03-25 14:28:42 +00:00
migrator.ts [deps] Autofill: Update prettier to v3.2.2 (#7565) 2024-01-17 16:02:44 -05:00