clients/libs
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
..
.vscode
admin-console [PM-16091] Add SsoExternalId to the member dialog and hide ExternalId if there is no value to display (#14126) 2025-04-09 15:33:32 +01:00
angular [PM-18903] Desktop sync issues (#13681) 2025-04-15 12:17:41 -07:00
auth [PM-19603] Change asymmetric interface to only allow key encapsulation (#14046) 2025-04-15 16:39:02 +02:00
billing [PM-18599] Forbid unknown property and element in tests (#13556) 2025-02-25 14:02:19 -08:00
common [PM-18903] Desktop sync issues (#13681) 2025-04-15 12:17:41 -07:00
components remove margin from checkbox hint (#14251) 2025-04-14 12:56:30 -04:00
eslint [PM-16231] Improved SDK referencing (#12475) 2025-02-03 15:09:25 +01:00
importer [PM-18969] CSV importers should create nested collections (#14007) 2025-04-14 10:46:58 -05:00
key-management [PM-19603] Change asymmetric interface to only allow key encapsulation (#14046) 2025-04-15 16:39:02 +02:00
key-management-ui [PM-16541] Key rotation & enrollment trust for emergency access & organizations (#12655) 2025-04-07 13:41:19 +02:00
node [PM-17665] Move cryptofunction service to km (#13285) 2025-04-10 11:09:35 +02:00
platform fix(browser): restore timer based background syncs (#14031) 2025-03-28 14:17:18 -04:00
shared [PM-18599] Forbid unknown property and element in tests (#13556) 2025-02-25 14:02:19 -08:00
tools [PM-19914][PM-19913] trim domains and long fields in forwarders (#14141) 2025-04-14 08:42:41 -04:00
ui [PM-18599] Forbid unknown property and element in tests (#13556) 2025-02-25 14:02:19 -08:00
vault PM-19102 Autofill new identity information in the popout (#13822) 2025-04-10 08:08:13 +02:00