clients/libs/angular/src
Shane Melton 8258ea39b0
[PM-18903] Desktop sync issues (#13681)
* [PM-18707] Use different BroadcasterSubscriptionId in base view component to avoid collision with desktop view component

* [PM-18707] Use userId instead of payloadUserId for cipher notification syncs

* [PM-19032] Live Sync on Desktop (#13851)

* migrate the vault-items to an observables rather than async/promises

- this helps keep data in sync with the service state and avoids race conditions

* migrate the view component to an observables rather than async/promises

- this helps keep data in sync with the service state and avoids race conditions

* decrypt saved cipher from server

* bump timeout for upserting ciphers

* mark `go` as async in desktop vault

- previously it was a floating promise

* Revert "mark `go` as async in desktop vault"

This reverts commit fd28f40b18.

* Revert "bump timeout for upserting ciphers"

This reverts commit e963acc377.

* move vault utilities to `common` rather than `lib` to avoid circular dependencies

* use `perUserCache$` for `cipherViews$` to avoid new subscriptions from being created

* use userId from observable rather than locally set to be the most up to date

* [PM-18707] Add clearBuffer$ input to perUserCache$ helper so that  the internal share replay buffers can be cleared

* [PM-18707] Rework forceCipherViews$ to clearBuffer$ refactor

- Add dependency for cipherDecryptionKeys$ for the cipherViews so that decryption is never attempted without keys

* [PM-18707] Add overload to perUserCache to satisfy type checker

* [PM-18707] Fix overloads

* [PM-18707] Add check for empty failed to decrypt ciphers

* [PM-18707] Mark vault component for check after observable emits.

The cipherViews$ observable now persists between subscriptions, meaning that updates via the sync push notifications can occur outside the AngularZone causing delays in updating the view.

---------

Co-authored-by: Nick Krantz <125900171+nick-livefront@users.noreply.github.com>
Co-authored-by: Nick Krantz <nick@livefront.com>
2025-04-15 12:17:41 -07:00
..
admin-console [PM-12047] Remove usage of ActiveUserState from cipher.service (#12814) 2025-02-12 08:53:31 -05:00
auth [PM-19603] Change asymmetric interface to only allow key encapsulation (#14046) 2025-04-15 16:39:02 +02:00
billing [CL-623] export CDK dialog deps from libs/components (#14074) 2025-04-02 15:08:38 -04:00
components [PM-12047] Remove usage of ActiveUserState from cipher.service (#12814) 2025-02-12 08:53:31 -05:00
directives [PM-17655] Billing Code Ownership Updates (#13105) 2025-01-28 13:17:00 -05:00
pipes Typescript-strict-plugin (#12235) 2024-12-09 20:58:50 +01:00
platform feat(device-approval-persistence): [PM-19380] Device Approval Persistence (#13958) 2025-04-04 15:44:48 -04:00
scss [CL-514] Update slider icon to reduce blurriness on external monitors (#12154) 2024-11-26 11:31:08 -05:00
services fix(login): [PM-11502] Support Remember Email option consistently 2025-04-10 18:58:49 -04:00
tools [PM-18566] Wire up vNextPolicyService for Clients (#13678) 2025-03-25 11:30:47 -04:00
types [EC-7] Org Admin Vault Refresh Client V1 (#3925) 2022-11-02 09:57:25 -07:00
utils feat(2FA-UI-Refresh): [Auth/PM-8113] - 2FA Components Consolidation and UI Refresh (#12087) 2025-02-24 09:59:14 -05:00
vault [PM-18903] Desktop sync issues (#13681) 2025-04-15 12:17:41 -07:00
jslib.module.ts [PM-17655] Billing Code Ownership Updates (#13105) 2025-01-28 13:17:00 -05:00