nextcloud / nextcloud/contacts

Gender field only allows entering sex, not gender identity.

Open
#3,580 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug feature: contacts
Dominant language
JavaScript
Stars
642
Forks
220
Avg merge
14h 39m
Merged PRs (30d)
51

Description

Describe the bug

The Gender field in a contact's details only allows selecting from the list of sexes specified in the vCard specification. Only having filled out the sex field is not invalid, but if you're going to follow the vCard specification so closely then Contacs should support entering the "Gender identity" component too.

Steps to reproduce
  1. Create a new contact
  2. Click on "Add more info"
  3. Select "Gender" from "More fields"
Expected behavior

Sex and gender identity should be two seperate buttons in the "Add more info" menu.

Actual behavior

By clicking the "Gender" button you can only enter sex.

Contact version

5.4.0-beta.2

Operating system

NixOS (Linux)

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database

MySQL

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the contact creation flow described in the reproduction steps: Add more info, then More fields and Gender. Read the linked vCard specification section to distinguish the sex field from the gender identity component. Done means the menu offers separate sex and gender identity controls, with the latter available when editing a contact.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.