Move offline work details from localStorage to IndexedDB #526

Merged
timmy merged 1 commits from timmy/525-indexeddb-offline-work into main 2026-08-11 00:36:27 +00:00
Owner

Closes #525

What changed

  • commits the offline My Work snapshot and each bounded detail as separate IndexedDB records
  • migrates v1 localStorage payloads only after a successful transaction and keeps legacy data readable on failed migration
  • makes Today readiness wait for durable detail admission and reports rejected saves
  • purges expired records atomically and clears the database on opt-out, sign-out, revocation, expiry, and explicit device-data deletion
  • rolls the offline shell cache so installed mobile PWAs receive the storage migration

Validation

  • RED verified for IndexedDB persistence, migration, rejected durable admission, private-data deletion, session purge, expiry pruning, and shell cache rollover
  • focused: 179 passed
  • full: 1068 passed
Closes #525 ## What changed - commits the offline My Work snapshot and each bounded detail as separate IndexedDB records - migrates v1 localStorage payloads only after a successful transaction and keeps legacy data readable on failed migration - makes Today readiness wait for durable detail admission and reports rejected saves - purges expired records atomically and clears the database on opt-out, sign-out, revocation, expiry, and explicit device-data deletion - rolls the offline shell cache so installed mobile PWAs receive the storage migration ## Validation - RED verified for IndexedDB persistence, migration, rejected durable admission, private-data deletion, session purge, expiry pruning, and shell cache rollover - focused: `179 passed` - full: `1068 passed`
timmy added 1 commit 2026-08-11 00:34:51 +00:00
feat: move offline work into IndexedDB (Closes #525)
All checks were successful
CI / lint (pull_request) Successful in 1m8s
CI / build-release (pull_request) Successful in 6s
CI / release-candidate (pull_request) Has been skipped
0a96dfb173
timmy merged commit beaf5e0587 into main 2026-08-11 00:36:27 +00:00
timmy deleted branch timmy/525-indexeddb-offline-work 2026-08-11 00:36:27 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#526
No description provided.