1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-04-18 20:46:00 +02:00
bitwarden-browser/apps
Nick Krantz 7c2bf504a3
[PM-11249] Sync attachment updates across platforms (#11758)
* update extension refresh form when an attachment is added or removed

- This is needed because the revision date was updated on the server and the locally stored cipher needs to match.

* receive updated cipher from delete attachment endpoint

- deleting an attachment will now alter the revision timestamp on a cipher.

* patch the cipher when an attachment is added or deleted

* migrate vault component to use the `cipherViews$` observable

* reference `cipherViews$` on desktop for vault-items

- This avoid race conditions where ciphers are cleared out in the background. `cipherViews` should always emit the latest views

* return CipherData from cipher service so that consumers have the updated cipher right away

* use the updated cipher from attachment endpoints to refresh the details within the add/edit components on desktop
2025-01-28 10:01:23 -06:00
..
browser [PM-17496] Migrate eslint to flat config (#12806) 2025-01-28 16:40:52 +01:00
cli [PM-17496] Migrate eslint to flat config (#12806) 2025-01-28 16:40:52 +01:00
desktop [PM-11249] Sync attachment updates across platforms (#11758) 2025-01-28 10:01:23 -06:00
web [PM-11249] Sync attachment updates across platforms (#11758) 2025-01-28 10:01:23 -06:00