Public tree view: add generation depth controls (shared with member view) #51

Merged
justin merged 1 commits from public-tree-depth-controls into main 2026-06-09 10:35:44 -04:00
Owner

The public tree chart was fixed at 3 ancestors / 2 descendants. Adds the same Generations controls the member view has (slider + number stepper + "All" per direction), applied live around the focused person.

Extracts the member page's inline DepthControl into a shared components/depth-control.tsx used by both views (stay in sync). The public chart gains anc/prog depth state + an apply effect mirroring the member behavior.

tsc clean; build passes.

🤖 Generated with Claude Code

The public tree chart was fixed at 3 ancestors / 2 descendants. Adds the same **Generations** controls the member view has (slider + number stepper + "All" per direction), applied live around the focused person. Extracts the member page's inline `DepthControl` into a shared `components/depth-control.tsx` used by **both** views (stay in sync). The public chart gains anc/prog depth state + an apply effect mirroring the member behavior. tsc clean; build passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
justin added 1 commit 2026-06-09 10:35:44 -04:00
The public tree chart was fixed at 3 ancestors / 2 descendants. Add the same
Generations controls the member view has (slider + number stepper + "All" per
direction), applied live around the focused person.

Extracts the member page's inline DepthControl into a shared
components/depth-control.tsx and uses it in both, so they stay in sync. The
public chart gains anc/prog depth state + an apply effect (setAncestryDepth/
setProgenyDepth + updateTree) mirroring the member behavior.

tsc clean; next build passes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
justin merged commit 768c68cbe0 into main 2026-06-09 10:35:44 -04:00
justin deleted branch public-tree-depth-controls 2026-06-09 10:35:44 -04:00
Sign in to join this conversation.