Person page: one-click sex setter (no edit mode) #39

Merged
justin merged 1 commits from quick-set-sex into main 2026-06-08 22:03:32 -04:00
Owner

Setting sex required Edit → dropdown → Save. Now the ♂/♀ next to the name is a two-button segmented control that sets it immediately on click (gender-only PATCH; exclude_unset on the backend leaves the name/other fields alone). The active sex is highlighted; click it again to clear. Full edit form still has the gender field.

tsc clean; build passes.

🤖 Generated with Claude Code

Setting sex required Edit → dropdown → Save. Now the ♂/♀ next to the name is a two-button segmented control that sets it immediately on click (gender-only PATCH; `exclude_unset` on the backend leaves the name/other fields alone). The active sex is highlighted; click it again to clear. Full edit form still has the gender field. tsc clean; build passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
justin added 1 commit 2026-06-08 21:43:09 -04:00
Setting a person's sex meant clicking Edit, opening a dropdown, and saving.
Replace the read-only ♂/♀ symbol next to the name with an always-visible
two-button segmented control that PATCHes immediately on click (gender-only;
backend PATCH is exclude_unset so the name/other fields are untouched).
Clicking the active sex clears it. The full edit form still offers gender for
completeness.

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