Add ?reset=1 route that erases secret-flagged values (Refs #19)

After unlock, a banner offers to clear every secret field and secret
sequence step. Nothing is written until Save.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-23 20:26:39 -05:00
parent 5cb80245ff
commit 60501b9508
4 changed files with 70 additions and 0 deletions

View File

@@ -217,6 +217,12 @@ of the document, so it is saved with the rest and is encrypted too. Open
- Keep the left and middle text short. If the line gets crowded, the left
field wraps first; the right and middle fields never wrap.
## Reset: erase secrets before working online (issue #19)
To work on the layout somewhere less safe (a shared or online machine), open the file with `?reset=1` on the end of its address, for example `final-wishes.html?reset=1` (`#reset=1` works too). After you unlock it, a banner offers to erase every value marked secret: secret fields, secret images and secret steps. Labels, structure and everything else stay.
Nothing is written until you Save, and saving over the file removes the secrets for good. Use **Backup copy** first, or save under a new name, if you need them again. Choosing "Keep them" dismisses the banner and changes nothing.
## Keep it current
Nothing in the app reminds you to review. Set a yearly reminder. Things that
go stale: card expiry dates, account balances and metal values, advisors'