feat: create highlight manager with IndexedDB storage

Implemented TDD approach for highlight persistence:
- Created IndexedDB store with 'highlights' object store
- Added indexes for syncStatus and verseId for efficient queries
- Implemented CRUD operations: add, update, get, getAll, delete
- Added query methods: getHighlightsByVerse, getPendingHighlights
- Full test coverage with fake-indexeddb mock
- Added structuredClone polyfill for test environment

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-12 06:57:30 +00:00
parent 0e2167ade7
commit 90208808a2
5 changed files with 5207 additions and 25 deletions

5020
package-lock.json generated

File diff suppressed because it is too large Load Diff