[PR #2242] [MERGED] [EC-842] Apple Watch sync deleted items #3452

Closed
opened 2025-11-26 23:32:58 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/2242
Author: @fedemkr
Created: 12/14/2022
Status: Merged
Merged: 12/15/2022
Merged by: @fedemkr

Base: masterHead: bug/EC-842-sync-delete-items-watch


📝 Commits (2)

  • 57518e3 EC-842 Delete items that are not included in the sync to the watch
  • f06990a Merge branch 'master' into bug/EC-842-sync-delete-items-watch

📊 Changes

1 file changed (+31 additions, -18 deletions)

View changed files

📝 src/watchOS/bitwarden/bitwarden WatchKit Extension/Services/CipherService.swift (+31 -18)

📄 Description

Type of change

  • Bug fix
  • New feature development
  • Tech debt (refactoring, code cleanup, dependency upgrades, etc)
  • Build/deploy pipeline (DevOps)
  • Other

Objective

Sync deleted items to the watch, i.e. delete ciphers that are currently on the Watch but had been removed on the user vault when the sync happens.

Code changes

  • CipherService: Implemented delete all cipher entities that are not included in the ciphers sent on the sync.

Before you submit

  • Please check for formatting errors (dotnet format --verify-no-changes) (required)
  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/2242 **Author:** [@fedemkr](https://github.com/fedemkr) **Created:** 12/14/2022 **Status:** ✅ Merged **Merged:** 12/15/2022 **Merged by:** [@fedemkr](https://github.com/fedemkr) **Base:** `master` ← **Head:** `bug/EC-842-sync-delete-items-watch` --- ### 📝 Commits (2) - [`57518e3`](https://github.com/bitwarden/android/commit/57518e3fa9068e2d8a6e7819680e4bec87455293) EC-842 Delete items that are not included in the sync to the watch - [`f06990a`](https://github.com/bitwarden/android/commit/f06990a71b0bfe0766e2dbdf9762f59c90498f45) Merge branch 'master' into bug/EC-842-sync-delete-items-watch ### 📊 Changes **1 file changed** (+31 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `src/watchOS/bitwarden/bitwarden WatchKit Extension/Services/CipherService.swift` (+31 -18) </details> ### 📄 Description ## Type of change - [X] Bug fix - [ ] New feature development - [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc) - [ ] Build/deploy pipeline (DevOps) - [ ] Other ## Objective <!--Describe what the purpose of this PR is. For example: what bug you're fixing or what new feature you're adding--> Sync deleted items to the watch, i.e. delete ciphers that are currently on the Watch but had been removed on the user vault when the sync happens. ## Code changes <!--Explain the changes you've made to each file or major component. This should help the reviewer understand your changes--> <!--Also refer to any related changes or PRs in other repositories--> * **CipherService:** Implemented delete all cipher entities that are not included in the ciphers sent on the sync. ## Before you submit - Please check for formatting errors (`dotnet format --verify-no-changes`) (required) - Please add **unit tests** where it makes sense to do so (encouraged but not required) - If this change requires a **documentation update** - notify the documentation team - If this change has particular **deployment requirements** - notify the DevOps team --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-26 23:32:58 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#3452