aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/client/db/clear.test.ts
AgeCommit message (Collapse)Author
2026-05-02feat(auth): clear local IndexedDB and sync state on explicit logoutnsfisis
Wipe Dexie databases (main + CRDT sync state) and reset the sync queue when the user explicitly logs out so the next account on the same device starts from a clean local store. Session expiry deliberately keeps local data intact so a returning user finds their offline work waiting. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>