nextcloud / nextcloud/contacts

Search by non-Contact Name fields. e.g. Company Name, Title, Postal Code, ...

Open
#2,126 2 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

My feature request related to a problem.
I try to have a great contacts list, and I do my best to use the system as intended. However, because of how life is, it's not always possible. For example:
Let's say I gain a new contact which seems will be minimally important so they don't get entered into a special group. Later because of their interactions I ad hoc add them into the best matching group that exists based on their functional relationshi[p to me. Further on another contact is also added, but it seems like they also will be transient. Later they get dealt with more regularly and get stuck into an existing group and so on. Today, literally today, I realized that I had so many people all collectively working for or at the same physical location that they should just get their own group. Almost all those people had the same employer name already, but because the search tool doesn't seem to look at other fields, I had to click through hundreds of my contacts to find the people to put in that new group.

I can see how searching by job title would be good too if the task needed to be done required a person with specific job skills.

If I was going to travel somewhere and meet with people I already know, searching by some location data would be useful to get a list of people to announce travel plans to.

Describe the solution you'd like
Since the main search tool on Nextcloud allows a filter for just contacts, perhaps it's possible to have a subset choice available to search a field other than Name once the filter for only contacts is applied.

Describe alternatives you've considered
I haven't thought of alternatives.

Additional context
I don't think this is needed.

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 tracing the main search tool and the contacts-only filter described in the issue. Determine how contact fields are currently searched and how a field-selection control could cover Company Name, job title, and location data. Done should allow contacts to be searched by non-Name fields and return the matching contacts.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.