Family view + soft-delete/recovery #10

Merged
justin merged 2 commits from phase1-familyview into main 2026-06-06 22:19:03 -04:00
Owner

People page rebuilt as a focus-person pedigree + family group with inline add-relative; soft-delete + recovery for trees and people.

People page rebuilt as a focus-person pedigree + family group with inline add-relative; soft-delete + recovery for trees and people.
justin added 2 commits 2026-06-06 22:19:02 -04:00
Tree and person soft-delete + restore (owner-only for trees, editor for people) with recovery listings (?deleted=true); the worker already purges past the 30-day window. Adds tree-wide GET /relationships and /events so the family/pedigree view loads the whole graph in a few calls. 27 tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
The People page is no longer a flat list: it's a focus-person family view with a pedigree of ancestors (parents + grandparents), a spouse/partner panel, and a children panel — with inline 'add parent/child/spouse' (creates the person + the relationship), click-to-refocus, birth–death years, and a searchable people index. Modeled on how real genealogy tools center on a person and let you walk the graph.

Adds delete/restore UI: a Delete on the person page, per-tree delete + a 'Recently deleted' restore section on the trees list, and a Recovery page (sidebar) for deleted people.

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