nextcloud / nextcloud/tasks

[Feature Request] Allow complex search queries

Open
#471 6 comments 25 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
JavaScript
Stars
706
Forks
117
Avg merge
8h 50m
Merged PRs (30d)
18

Description

At the moment when a user types a string into the search input field, we search for this string in the summary, notes and categories.

I plan to implement to filter by certain properties, e.g. search for tags only. The query could look like "tags: Work, Accounting". This would also allow more complex queries filtering by more than one property like "tags: Work, priority: >5, due: >2019-12-24" or similiar.

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 at the search input handling and the existing search over summaries, notes, and categories. Define how property filters such as tags, priority, and due dates should parse and combine, then verify that queries like "tags: Work, priority: >5, due: >2019-12-24" return the intended tasks.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.