Opening a book always restored the localStorage draft and then pushed it to the server as a backfill, so a tab holding an older copy silently overwrote newer work saved from anywhere else — confirmed live: a cast improved from 79 Unknown lines to 25 was destroyed by opening the book in a stale tab. Local and server drafts are now compared by savedAt, the newest wins and is cached locally, and the server is only backfilled when the local copy is actually newer. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| dist | ||
| js | ||
| sections | ||
| vendor | ||
| icon.svg | ||
| index.html | ||
| loader.js | ||
| manifest.webmanifest | ||
| nav.js | ||
| style.css | ||
| sw.js | ||