feat(v1.8.0): IMPL_016 - Server Deletion Detection

- Add DELETED_ON_SERVER to SyncStatus enum
- Add deletedOnServerCount to SyncResult
- Implement detectServerDeletions() function in WebDavSyncService
- Integrate server deletion detection in downloadRemoteNotes()
- Update UI icons in NoteCard, NoteCardGrid, NoteCardCompact
- Add string resources for deleted_on_server status
- No additional HTTP requests (uses existing PROPFIND data)
- Zero performance impact

Closes #IMPL_016
This commit is contained in:
inventory69
2026-02-08 23:27:10 +01:00
parent e9e4b87853
commit 40d7c83c84
8 changed files with 105 additions and 11 deletions

View File

@@ -58,6 +58,13 @@
<string name="sync_status_error">Sync failed</string>
<string name="sync_already_running">Sync already in progress</string>
<!-- 🆕 v1.8.0: SyncStatus enum values -->
<string name="sync_status_synced">Synced with server</string>
<string name="sync_status_pending">Waiting for sync</string>
<string name="sync_status_conflict">Sync conflict detected</string>
<string name="sync_status_local_only">Not yet synced</string>
<string name="sync_status_deleted_on_server">Deleted on server</string>
<!-- ============================= -->
<!-- DELETE DIALOGS -->
<!-- ============================= -->