NGU-Web/server
Aidan Dona a6c66d4607 Drafts of every record, previewed on the real page
Migration 077 keeps one draft per record of any entity. Saving a draft
checks it by applying it in a transaction that is rolled back; Preview
opens the record's page in a tab that sends X-Draft-Preview, and the
server answers those reads from a second connection holding the applied
draft, then rolls back, so nobody else sees it. Publish is the ordinary
save, which drops the draft. tx() now nests as a savepoint.

Also commits TODO.md: the answered questions, and parts 1 to 3 moved to
Done.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 18:21:53 -05:00
..
src Drafts of every record, previewed on the real page 2026-10-16 18:21:53 -05:00
package.json Fix bugs found in the audit 2026-09-28 21:53:46 -05:00
pnpm-lock.yaml Commit the server lockfile 2026-09-27 17:31:10 -05:00