1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-18 02:41:15 +02:00
bitwarden-browser/apps/cli/src
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
..
admin-console [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00
auth/commands [PM-5979] Refactor EnvironmentService (#8040) 2024-03-21 09:09:44 -07:00
commands [PM-5979] Refactor EnvironmentService (#8040) 2024-03-21 09:09:44 -07:00
locales/en [PM-2899] Implement ProtonPass json importer (#5766) 2023-08-16 16:17:03 +02:00
models [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00
platform Ps/pm 5965/better config polling (#8325) 2024-03-27 10:03:09 -07:00
tools [PM-5979] Refactor EnvironmentService (#8040) 2024-03-21 09:09:44 -07:00
vault [AC-2156] Billing State Provider Migration (#8133) 2024-03-15 14:53:05 -05:00
bw.ts Ps/pm 5965/better config polling (#8325) 2024-03-27 10:03:09 -07:00
program.ts [PM-2311] Allow empty passphrase separator (#5473) 2024-02-09 11:07:53 -05:00
utils.ts [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00
vault.program.ts [AC-2156] Billing State Provider Migration (#8133) 2024-03-15 14:53:05 -05:00