super-productivity/e2e/tests/sync
Johannes Millan 2b5fafccae feat(sync): add local data conflict handling for file-based sync
Add conflict resolution when file-based sync (WebDAV/Dropbox) detects
local unsynced changes that would be lost if remote snapshot is applied.

Changes:
- Add LocalDataConflictError to signal first-sync conflicts
- Add _handleLocalDataConflict in SyncWrapperService to show dialog
- User can choose USE_LOCAL (upload) or USE_REMOTE (download)
- Add forceUploadLocalState and forceDownloadRemoteState methods
- Fix test mocks and update test expectations for new behavior

The conflict dialog allows users to explicitly choose whether to keep
their local changes or accept the remote state during first sync.
2026-01-08 10:10:48 +01:00
..
import-sync.spec.ts fix(sync): prevent SYNC_IMPORT filtering concurrent ops in file-based sync 2026-01-07 20:39:13 +01:00
supersync-account-deletion.spec.ts fix(sync): prevent SYNC_IMPORT filtering concurrent ops in file-based sync 2026-01-07 20:39:13 +01:00
supersync-account-reset.spec.ts feat(server): add Account Settings page with reset and delete options 2026-01-05 12:54:53 +01:00
supersync-advanced-edge-cases.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-advanced.spec.ts fix(sync): prevent SYNC_IMPORT filtering concurrent ops in file-based sync 2026-01-07 20:39:13 +01:00
supersync-archive-subtasks.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-cross-entity.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-daily-summary.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-edge-cases.spec.ts fix(sync): address code review findings for operation-logs 2026-01-06 11:42:47 +01:00
supersync-encryption-password-change.spec.ts fix(sync): prevent SYNC_IMPORT filtering concurrent ops in file-based sync 2026-01-07 20:39:13 +01:00
supersync-encryption.spec.ts fix(sync): prevent SYNC_IMPORT filtering concurrent ops in file-based sync 2026-01-07 20:39:13 +01:00
supersync-error-handling.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-import-clean-slate.spec.ts fix(sync): prevent SYNC_IMPORT filtering concurrent ops in file-based sync 2026-01-07 20:39:13 +01:00
supersync-late-join.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-lww-conflict.spec.ts fix(e2e): improve stability of flaky sync tests 2026-01-04 18:43:10 +01:00
supersync-models.spec.ts fix(sync): address code review findings for operation-logs 2026-01-06 11:42:47 +01:00
supersync-network-failure.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-planner.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-repeat-task-advanced.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-repeat-task.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-server-migration.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-simple-counter.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-snapshot-vector-clock.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-stale-clock-regression.spec.ts fix(e2e): fix stale-clock regression tests timeout after import 2026-01-07 20:58:18 +01:00
supersync-stress.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-task-ordering.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-time-tracking-advanced.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync-worklog.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
supersync.spec.ts fix(e2e): improve test stability for parallel execution 2026-01-04 17:35:47 +01:00
webdav-first-sync-conflict.spec.ts feat(sync): add local data conflict handling for file-based sync 2026-01-08 10:10:48 +01:00
webdav-provider-switch.spec.ts fix(sync): prevent SYNC_IMPORT filtering concurrent ops in file-based sync 2026-01-07 20:39:13 +01:00
webdav-sync-advanced.spec.ts Merge branch 'master' into feat/operation-logs 2026-01-06 13:55:07 +01:00
webdav-sync-error-handling.spec.ts fix(e2e): dismiss dialog backdrop before retry sync in error handling test 2025-12-29 22:54:26 +01:00
webdav-sync-expansion.spec.ts Merge branch 'master' into feat/operation-logs 2026-01-06 13:55:07 +01:00
webdav-sync-full.spec.ts refactor: integrate pfapi into oplog 1 2026-01-07 13:30:09 +01:00
webdav-sync-tags.spec.ts fix(e2e): improve WebDAV sync test reliability 2026-01-02 19:59:59 +01:00
webdav-sync-task-order.spec.ts test(webdav): improve stability of sync e2e tests 2025-12-29 20:38:06 +01:00