mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-26 09:23:50 +00:00
Replace manual conflict resolution dialogs with automatic Last-Write-Wins (LWW) resolution based on operation timestamps: - Add autoResolveConflictsLWW() to ConflictResolutionService - When remote timestamp >= local: remote wins, local op rejected - When local timestamp > remote: local wins, create new UPDATE op with current entity state and merged vector clock - Show non-blocking snackbar notification after resolution - Create safety backup before resolving conflicts Includes comprehensive test coverage: - Unit tests for ConflictResolutionService - Integration tests for LWW timestamp comparison and vector clock merging - E2E tests for multi-client convergence scenarios Add detailed LWW documentation with Mermaid diagrams explaining the algorithm, outcomes, and tradeoffs vs manual resolution. |
||
|---|---|---|
| .. | ||
| constants | ||
| fixtures | ||
| helpers | ||
| pages | ||
| tests | ||
| utils | ||
| .gitignore | ||
| global-setup.ts | ||
| playwright.config.ts | ||
| tsconfig.json | ||