Tree view: add "Back to default person" recenter link #36

Merged
justin merged 1 commits from add-default-person-link into main 2026-06-08 15:25:04 -04:00
Owner

Adds a header link on the Tree view that recenters the chart on the tree's default/home person (home_person_id). Shown only when a home person is set and you're not already focused on them; recenters in place via the existing goTo() so it works in landscape, portrait, and fan modes. Labelled with the home person's name.

Follow-up to #35 (navigation continuity).

tsc clean; next build passes.

🤖 Generated with Claude Code

Adds a header link on the Tree view that recenters the chart on the tree's default/home person (`home_person_id`). Shown only when a home person is set and you're not already focused on them; recenters in place via the existing `goTo()` so it works in landscape, portrait, and fan modes. Labelled with the home person's name. Follow-up to #35 (navigation continuity). tsc clean; next build passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
justin added 1 commit 2026-06-08 15:15:49 -04:00
Once you recenter the tree on someone, there was no quick way back to the
tree's home/default person. Add a header link (shown only when a home person
is set and you're not already on them) that recenters the chart on
home_person_id via the existing goTo() — works in landscape, portrait, and
fan modes. Labels with the home person's name for clarity.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
justin merged commit 77b78410ff into main 2026-06-08 15:25:04 -04:00
justin deleted branch add-default-person-link 2026-06-08 15:25:04 -04:00
Sign in to join this conversation.