Add ?reset=1 route that wipes secret-flagged data #19
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why: The owner wants to work on the app online (layout, structure edits) without real secrets in the page, so there is less chance of compromise.
Proposed behavior
final-wishes.html?reset=1(also accept#reset=1, since query strings don't apply tofile://URLs in every browser) starts a reset flow.secret: truehas its value cleared, and so does every sequence frame withsecret: true. Image fields are cleared too. Labels, structure and non-secret data stay.src/ops.js(e.g.clearSecrets(doc), returning a count). It can reuse the secret count fromsrc/print.js, and it needs tests.Open questions