diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-12-07 19:24:18 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-12-07 19:24:18 +0900 |
| commit | 83be5ccd5d64c64f65c7efbfb9feb94ab0f75ce6 (patch) | |
| tree | cb880dd513112827f4f6132843b8949121c9167a /docs/dev | |
| parent | 9632d70ea0d326ac0df4e9bffb7fb669013f0755 (diff) | |
| download | kioku-83be5ccd5d64c64f65c7efbfb9feb94ab0f75ce6.tar.gz kioku-83be5ccd5d64c64f65c7efbfb9feb94ab0f75ce6.tar.zst kioku-83be5ccd5d64c64f65c7efbfb9feb94ab0f75ce6.zip | |
feat(client): add sync queue management for offline sync
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 <noreply@anthropic.com>
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/roadmap.md | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
