feat(v1.8.0): IMPL_022 Multi-Client Deletion Enhancement
Defensive improvements for server deletion detection: 1. Enhanced logging in detectServerDeletions(): - Statistics: server/local/synced note counts - Summary log when deletions found 2. Explicit documentation: - Comment clarifying checklists are included - Both Notes and Checklists use same detection mechanism 3. Sync banner now shows deletion count: - '3 synced · 2 deleted on server' - New strings: sync_deleted_on_server_count (en + de) 4. DELETED_ON_SERVER → PENDING on edit: - Verified existing logic works correctly - All edited notes → PENDING (re-upload to server) - Added comments for clarity Cross-client analysis confirmed: - ✅ Android/Desktop/Web deletions detected correctly - ⚠️ Obsidian .md-only deletions not detected (by design: JSON = source of truth) IMPL_022_MULTI_CLIENT_DELETION.md
This commit is contained in:
@@ -73,6 +73,9 @@
|
||||
<string name="sync_legend_deleted_label">Auf Server gelöscht</string>
|
||||
<string name="sync_legend_deleted_desc">Diese Notiz wurde auf einem anderen Gerät oder direkt auf dem Server gelöscht. Sie existiert noch lokal.</string>
|
||||
|
||||
<!-- 🆕 v1.8.0 (IMPL_022): Sync-Banner Löschungsanzahl -->
|
||||
<string name="sync_deleted_on_server_count">%d auf Server gelöscht</string>
|
||||
|
||||
<!-- ============================= -->
|
||||
<!-- DELETE DIALOGS -->
|
||||
<!-- ============================= -->
|
||||
|
||||
@@ -80,6 +80,9 @@
|
||||
<string name="sync_legend_deleted_label">Deleted on server</string>
|
||||
<string name="sync_legend_deleted_desc">This note was deleted on another device or directly on the server. It still exists locally.</string>
|
||||
|
||||
<!-- 🆕 v1.8.0 (IMPL_022): Sync banner deletion count -->
|
||||
<string name="sync_deleted_on_server_count">%d deleted on server</string>
|
||||
|
||||
<!-- ============================= -->
|
||||
<!-- DELETE DIALOGS -->
|
||||
<!-- ============================= -->
|
||||
|
||||
Reference in New Issue
Block a user