Person page: make marriage-event spouse picker searchable #38

Merged
justin merged 1 commits from searchable-marriage-spouse into main 2026-06-08 21:30:48 -04:00
Owner

The spouse picker when adding a marriage/partnership event was a plain <select> — impossible to search on a large tree. Replaced with the existing PersonCombobox (type-to-filter), the same component the relationship form uses. Still resolves to an existing person id (no onCreate), as the partnership-event handler requires.

tsc clean; build passes.

🤖 Generated with Claude Code

The spouse picker when adding a marriage/partnership event was a plain `<select>` — impossible to search on a large tree. Replaced with the existing `PersonCombobox` (type-to-filter), the same component the relationship form uses. Still resolves to an existing person id (no `onCreate`), as the partnership-event handler requires. tsc clean; build passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
justin added 1 commit 2026-06-08 21:29:36 -04:00
Adding a marriage/partnership event used a plain <select> for the spouse,
which is unusable on a large tree — you can't search, only scroll. Swap it
for the existing PersonCombobox (already used by the relationship form), which
filters by name as you type. No onCreate, so it still resolves to an existing
person id, which is what the partnership-event handler requires.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
justin merged commit 7255920135 into main 2026-06-08 21:30:48 -04:00
justin deleted branch searchable-marriage-spouse 2026-06-08 21:30:48 -04:00
Sign in to join this conversation.