Fold docs/MAINTENANCE.md into README.md

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 07:53:30 -05:00
parent 05ffcc8561
commit 32d4b06096
6 changed files with 2068 additions and 266 deletions

View File

@@ -19,7 +19,7 @@ After unlocking, adding `#reset=1` and erasing the secrets, the Save button (Chr
## What was changed (commit 613f039, pushed)
`save()` now catches `NotAllowedError`/`SecurityError` on the write, clears `state.handle`, downloads `final-wishes.html` as a fallback and sets an explanatory status. `docs/MAINTENANCE.md` has a matching line. Tests pass (63 pass, 1 skipped). This is a workaround, not a diagnosis. Issue #20 is still open.
`save()` now catches `NotAllowedError`/`SecurityError` on the write, clears `state.handle`, downloads `final-wishes.html` as a fallback and sets an explanatory status. `README.md` (the owner's guide) has a matching line. Tests pass (63 pass, 1 skipped). This is a workaround, not a diagnosis. Issue #20 is still open.
Also committed this session: `c480ff1` (OVERVIEW.md refresh for `?reset=1`). Both are pushed to origin/master, along with the first version of this file (52ce84c).
@@ -37,7 +37,7 @@ Also committed this session: `c480ff1` (OVERVIEW.md refresh for `?reset=1`). Bot
2. Keep the current behaviour: try in place, and on `NotAllowedError` fall back to a download (already shipped in 613f039). Cost: each failed save leaves an empty file behind.
3. Investigate more first: another browser (Firefox and Safari already use the download path), and repeat the test page on the thumbdrive with a new filename and with an existing file.
If option 1 is chosen: change `save()` in `src/app.js`, update `docs/MAINTENANCE.md` (the Chrome/Edge bullet in "Updating" and the "Backups" wording), update `OVERVIEW.md` (the Save paragraph), and add a test only if the logic can be isolated. Then close #20.
If option 1 is chosen: change `save()` in `src/app.js`, update `README.md` (the Chrome/Edge bullet in "Updating" and the "Backups" wording), update `OVERVIEW.md` (the Save paragraph), and add a test only if the logic can be isolated. Then close #20.
## Housekeeping