nextcloud / nextcloud/contacts
Gender field only allows entering sex, not gender identity.
Nobody has claimed this yet.
- 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
- Create a new contact
- Click on "Add more info"
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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