nextcloud / nextcloud/contacts

Missing N field in new contacts

Open
#1,376 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop design enhancement
Dominant language
JavaScript
Stars
642
Forks
220
Avg merge
14h 39m
Merged PRs (30d)
51

Description

Describe the bug

When a new contact is created, you can fill in the name in the title bar. This becomes the FN field.

Many external applications however rely on the content of the N field, even though it is formally optional. To get an N field, the user must explicitly engage the "Detailed Name" property and then fill the fields.

I'd propose to add a setting to automatically add the "Detailed Name" property upon contact creation. Filling it in takes as little time as filling in the name in the title bar. When N is filled, infer FN from N.

Alternatively, but error prone, infer N from FN.

As stated, many external applications rely on the content of the N field so I decided to label this a bug and not an enhancement. Feel free to disagree.

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 by locating the contact-creation flow and the handling of the Detailed Name property in the JavaScript app. Trace how FN and N are populated and serialized for new contacts. Done means the proposed creation behavior is implemented and the resulting contact contains the expected N and FN fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.