Skip to content

Conversation

@anantham
Copy link
Owner

Summary

Blocks app initialization when IndexedDB is in an unsafe state (newer-than-app, corrupted, migration failed, or blocked) and shows a recovery overlay.

Changes

  • App.tsx: runs prepareConnection() before store init; renders MigrationRecovery when shouldBlockApp() is true.
  • components/MigrationRecovery.tsx: restore from backup / upload backup / start fresh flows.
  • tests/components/MigrationRecovery.test.tsx: interaction coverage.
  • docs/WORKLOG.md: entry.

Testing

  • npx tsc --noEmit
  • npm test -- --run

@vercel
Copy link

vercel bot commented Dec 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
lexicon-forge Ready Ready Preview, Comment Dec 24, 2025 11:39am

@anantham anantham force-pushed the feat/migration-recovery-ui branch from 547f704 to 2e22fcf Compare December 24, 2025 11:39
@anantham anantham merged commit a985a25 into main Dec 24, 2025
3 of 4 checks passed
@anantham anantham deleted the feat/migration-recovery-ui branch December 24, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants