Account menu + Settings (change password), per-tree home person, full-width tree #24

Merged
justin merged 1 commits from account-settings-home-person into main 2026-06-07 11:05:42 -04:00
Owner

Username menu (bottom-left) -> Settings/Sign out; /settings with change-password. Per-tree home_person_id (default focus) + Set as default control. Tree view fills the canvas. Audit JSON-safe. 50 tests pass, migration up/down verified.

Username menu (bottom-left) -> Settings/Sign out; /settings with change-password. Per-tree home_person_id (default focus) + Set as default control. Tree view fills the canvas. Audit JSON-safe. 50 tests pass, migration up/down verified.
justin added 1 commit 2026-06-07 11:05:41 -04:00
- Sidebar bottom-left now shows the signed-in user; clicking opens a menu with
  Settings and Sign out. New /settings page: account info + change password
  (POST /auth/change-password, re-verifies current password). Export/restore/
  delete are stubbed there for the next pass.
- Per-tree default/home person: tree.home_person_id (migration) + TreeUpdate/
  Read; the tree and family views open focused on it; the person page gets a
  "Set as default" control and "Default person" badge. Cleared if that person
  is deleted. Complements the account-level "this is me" link.
- Tree visualization now fills the content area (AppShell drops the max-width
  column on the /tree route); other pages stay centered.
- Audit records are coerced JSON-safe (UUIDs/enums), so PATCHing UUID fields
  like home_person_id audits cleanly.

50 backend tests pass; migration up/down verified; frontend builds.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
justin merged commit 2669543e56 into main 2026-06-07 11:05:42 -04:00
justin deleted branch account-settings-home-person 2026-06-07 11:05:42 -04:00
Sign in to join this conversation.