Edit people + events; existing-person picker; full-CRUD rule #17

Merged
justin merged 2 commits from crud-edits into main 2026-06-07 09:35:57 -04:00
Owner

PATCH endpoints + edit UI for people and events; family-view add now links existing people; CLAUDE.md full-CRUD invariant.

PATCH endpoints + edit UI for people and events; family-view add now links existing people; CLAUDE.md full-CRUD invariant.
justin added 2 commits 2026-06-07 09:35:56 -04:00
Events and people are now editable, not write-once: PATCH /events/{id} (type, structured date, place, notes) and PATCH /persons/{id} (vitals, privacy, and the primary name's given/surname). CLAUDE.md gains rule #8: every stored object must support full CRUD in API and UI — historical research is constant correction. Tests cover both updates.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
Person detail: an Edit form for name + gender + living status + privacy, and inline edit of each life event (type + structured date). Family view: the add-relative buttons now search existing people (link the real person) or create new — preventing duplicate spouses/parents — and adding a child to someone with one spouse links both parents.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
justin merged commit 26df03cfd7 into main 2026-06-07 09:35:57 -04:00
Sign in to join this conversation.