Commit Graph

20 Commits

Author SHA1 Message Date
f0c265be88 Update OVERVIEW.md for collapsible and movable records
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 19:11:07 -05:00
d6fa04e7b0 Move collapsed records up and down with arrow buttons
Closes #17

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 16:54:47 -05:00
661d2cf936 Collapse and expand records in a section
Each record gets a Collapse/Expand button; each records section gets
Collapse all and Expand all. View mode only; print and edit unaffected.

Closes #16

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 16:50:14 -05:00
3c347c4ad6 Add OVERVIEW.md codebase overview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 19:01:52 -05:00
a2fcc65759 Show the app version at the top of the page (Ver YYMMDDX)
Adds src/version.js, bump-version.js and a pre-commit hook that bumps the
version in commits that change the app.

Closes #15

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 19:01:33 -05:00
1736548ef9 Say what is in a section when confirming its deletion
Closes #13

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 18:37:58 -05:00
e9ac581e38 Add visual sequences: numbered image + text steps in any section
Closes #12

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 18:35:30 -05:00
d588e30b9b Add Cancel to revert unsaved changes in a section
Reverts the section (or print header) on screen to the last open/save
and leaves edit mode.

Closes #11

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 18:24:26 -05:00
f5f05a3e26 Add images as a record field (drop, paste, import)
Images are downscaled, re-encoded and stored inside the encrypted document.

Closes #10

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 16:01:24 -05:00
7a81637819 Use a neutral sample string in the crypto round-trip test
The previous sample text coincided with a real PIN from the source
material. Replace it with a placeholder.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 14:08:11 -05:00
6ffa75802d Document print header and upgrading to a newer build
Explain the configurable print header, how to carry data from an
existing encrypted file into a newer build, and the warning not to seal
over a file that should be kept. Correct the footer wording now that the
page header is in flow.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 14:03:06 -05:00
70c384cdcb Add configurable running print header
The line printed on every page is now a header stored in the document as
header.fields: any number of Text / Last updated fields, each optionally
aligned left or right (at most one of each). Printed order is left,
unaligned, right. Edited from a Print header panel with live preview;
documents without a header use the previous title/last-update default.
The header is a repeating table header so it sits in flow and cannot
overlap body text, replacing the fixed-position footer.

Also add "Open your existing Final Wishes file" to the start screen so
data in an older encrypted file can be carried into a newer build.

Closes #9

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 13:23:31 -05:00
e4a64eea5d Add executor README and maintenance docs
Plain-text README for the thumbdrive (open, print, edit, passphrase
recovery), a maintenance guide for the owner (setup, updating, backups,
passphrase custody, review, security clean-up) and a developer README.
docs/thumbdrive mirrors the intended drive layout.

Closes #7

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 09:19:11 -05:00
fec23c3e80 Add encrypted build and save flow
build.js seals a JSON document into the single-file HTML (passphrase from
a hidden prompt or FW_PASSPHRASE, 12 character minimum). In the page,
Save writes via the File System Access API when available and downloads
otherwise; Backup copy downloads final-wishes-YYYYMMDD.html; Ctrl+S and
Change passphrase are supported. Build and Save share assemble() in
template.js, replacing src/index.html. Tests confirm the built file
holds no plaintext and that the payload round-trips.

Closes #6

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 08:17:20 -05:00
e291ee75b6 Add print layout
Print dialog with withhold/include secrets modes, cover page with
contents, one section per page, non-splitting record blocks, TBD
highlighting that survives black and white, tick boxes on steps and
checklist items, and a per-page footer. Print content is built on demand
and cleared after printing. Pure display helpers live in print.js with
tests.

Closes #5

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 08:13:11 -05:00
d882debb9b Add viewer/editor UI
Passphrase unlock (or open a plain JSON file while no payload is
embedded), sectioned navigation, read-only cards with masked secret
fields and a reveal toggle, and an edit mode with add/remove/reorder for
sections, records, fields and items. Pure edit operations live in
ops.js with tests. DOM is built with textContent only.

Closes #4

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 08:10:21 -05:00
2c713f3a9b Add document data model and validation
Define the sections/records/items schema with secret-flagged fields and
a validator with tests. build.js bundles model.js. The PDF-derived seed
lives in the gitignored data/ directory.

Closes #3

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 08:04:03 -05:00
9fa6096a6c Add passphrase encryption module
PBKDF2-SHA256 -> AES-256-GCM via WebCrypto, with versioned blob header
authenticated as GCM additional data. Tests cover round trip, wrong
passphrase, tampering and malformed input. build.js bundles crypto.js
into the single-file output.

Closes #2

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 08:00:40 -05:00
fa6ba95d3e Scaffold project
Add src/ shell, build.js single-file bundler, package.json and
.gitignore (excludes PDFs, data/, dist/).

Closes #1

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 07:57:25 -05:00
8acc9bad57 init 2026-11-09 07:49:38 -05:00