From 83be5ccd5d64c64f65c7efbfb9feb94ab0f75ce6 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 7 Dec 2025 19:24:18 +0900 Subject: feat(client): add sync queue management for offline sync MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implement SyncQueue class to manage pending changes for offline sync: - Track unsynced decks, cards, and review logs from IndexedDB - Manage sync status (idle, syncing, error) with listener support - Persist last sync version and timestamp to localStorage - Provide methods to mark items as synced after push - Apply pulled changes from server to local database 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- docs/dev/roadmap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/dev/roadmap.md') diff --git a/docs/dev/roadmap.md b/docs/dev/roadmap.md index 97715cc..8c81872 100644 --- a/docs/dev/roadmap.md +++ b/docs/dev/roadmap.md @@ -155,7 +155,7 @@ Smaller features first to enable early MVP validation. ### Sync Engine - [x] POST /api/sync/push endpoint - [x] GET /api/sync/pull endpoint -- [ ] Client: Sync queue management +- [x] Client: Sync queue management - [ ] Client: Push implementation - [ ] Client: Pull implementation - [ ] Conflict resolution (Last-Write-Wins) -- cgit v1.2.3-70-g09d2