nextcloud / nextcloud/contacts

Autocomplete and suggest contact on the related field

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

Nobody has claimed this yet.

1. to develop enhancement
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.
When a User tries to add a related contact, they are required to enter a URL.
For example:
Contact: Mary Jones
Related:
sibling:https://aaaaaa.aa/aa

The problem is:
a) User does not know what to do with this!
b) Sometimes the User will just want to enter the name of a person or organisation and not provide a linked contact URL
c) Sometimes the User will want to use this field to link a contact to another contact, but there is currently no way to search and enter the UID of another linked contact
d) Common apps that allow this field (such as Android) do not require a URL, and accept free text, which makes sync difficult.

Describe the solution you'd like
When a user selects 'Related' field, besides choosing a pre-built or custom label (i.e. sibling, friend etc...), the user should be able to
a) search for another contact and add it's UID
b) enter a URL (as currently)
c) enter free text to describe a related contact (including one which is not stored in the addressbook).

Additional context
Here is an issue related to that in Thunderbird CardMate client:

https://gitlab.com/CardBook/CardBook/issues/557


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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

No files or tests are named in the issue. Start by tracing the Related field entry point in the contacts app and review the linked CardBook issue for context. Done should support searching for a contact UID, entering a URL, and entering free text for an unlisted related contact.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.