Tree cards: living/unset-sex people render gray, not blue #253
Reference in New Issue
Block a user
Delete Branch "living-and-unset-cards-gray"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On the public site, redacted "Living person" cards showed blue regardless of real sex — and so did anyone with sex simply unset. Cause: the chart mapped
gender === "female" ? "F" : "M", sonull→"M"→ blue.Fix: map
male→"M",female→"F", else→null, which family-chart renders ascard-genderless(gray). So:_redact, so they never imply a sex), andApplied to both charts (they share
chart.css), and bumped the genderless color from the library's washed-outlightgrayto a warm mid-gray matching the brand. Privacy-safe:_redactalready nulls gender, so this is purely the client color mapping. Frontend only, type-checks clean.🤖 Generated with Claude Code