bitwarden-estensione-browser/apps/browser/src/platform
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
..
alarms [PM-5880] Refactor browser platform utils service to remove `window` references (#7885) 2024-03-06 16:33:38 +00:00
background/service-factories Ps/pm 5965/better config polling (#8325) 2024-03-27 10:03:09 -07:00
browser Ps/pm-6636/angular-specific-browser-platform-utils (#8211) 2024-03-12 11:25:03 -04:00
decorators [PM-5880] Refactor browser platform utils service to remove `window` references (#7885) 2024-03-06 16:33:38 +00:00
listeners Ps/pm-6636/angular-specific-browser-platform-utils (#8211) 2024-03-12 11:25:03 -04:00
offscreen-document [PM-5880] Refactor browser platform utils service to remove `window` references (#7885) 2024-03-06 16:33:38 +00:00
popup Update locales used on browser, desktop and web (#8371) 2024-03-18 12:14:10 -04:00
services Ps/pm 5965/better config polling (#8325) 2024-03-27 10:03:09 -07:00
state Ps/run-foreground-derived-state-in-zone (#7861) 2024-02-08 14:04:38 -05:00
storage JSON stringify memory items (#7731) 2024-01-29 19:42:58 +00:00
background.html Platform/pm 19/platform team file moves (#5460) 2023-06-06 15:34:53 -05:00
background.ts [PM-5880] Refactor browser platform utils service to remove `window` references (#7885) 2024-03-06 16:33:38 +00:00
flags.ts Hard code account switching off on Safari (#7510) 2024-01-17 15:01:24 -05:00
globals.d.ts [PM-5880] Refactor browser platform utils service to remove `window` references (#7885) 2024-03-06 16:33:38 +00:00