nextcloud / nextcloud/contacts

Support reordering multiple values within the same property

Open
#4,267 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Is your feature request related to a problem? Please describe.

I have many contacts with properties with multiple values (e.g. email, phone, address). I would like to be able to reorder the values within the property so that the primary/main values are listed first, and so that in NC Mail, the first autocompleted email is usually the primary one.

Describe the solution you'd like

When editing a contact, be able to drag & drop and/or some keyboard accessible means to reorder values for a property that supports multiple values.

Describe alternatives you've considered

Manually removing and re-adding property values, but that's unworkable for contacts with properties with more than 2 values.

Additional context

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 by locating the contact editor's handling of properties with multiple values and determine how their order is currently stored and displayed. Implement an explicit drag-and-drop or keyboard-accessible reorder interaction, with the primary value appearing first and the chosen order preserved for autocomplete; verify the behavior in the contact editor and NC Mail.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.