mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 13:22:14 +00:00
feat(account): accept a third gender value
Add "OTHER" to the accepted gender values (the column is a free String, so no migration) and surface it in the account selector. This lets a non-binary or trans user record their gender and opt into the cycle-tracking surface through the per-user enable flag, rather than being gated out by a binary field. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
55f40df0ac
commit
3e398295a3
9 files changed
+15
-8
No files matched your search
@@ -448,6 +448,7 @@ export function AccountSection() {
|
||||
<option value="">{t("settings.genderNone")}</option>
|
||||
<option value="MALE">{t("settings.genderMale")}</option>
|
||||
<option value="FEMALE">{t("settings.genderFemale")}</option>
|
||||
<option value="OTHER">{t("settings.genderOther")}</option>
|
||||
</NativeSelect>
|
||||
<p className="text-muted-foreground text-xs">
|
||||
{t("settings.genderHint")}
|
||||
|
||||
Reference in new issue
Block a user