nextcloud / nextcloud/server

Show favorite status of a file in search results

Open
#62,961 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: search
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

[!TIP]

Help move this idea forward
  • Use the 👍 reaction to show support for this feature.
  • Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
  • Subscribe to receive notifications about status changes and new comments.

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

When I mark a file as favourite and then search for the file, the result is shown without its favourite status.

Describe the solution you'd like

It would be better to see the favorite status of a file in the search results.

Describe alternatives you've considered

Additional context

As seen here, I have a file marked as favourite named "Text document outside.md"

Image

i also added a file named "Text document in notes.md" which is not marked as favourite in the Notes folder shown above to compare against.

In the search results below, the "Text document outside.md" is not shown as favourite.

Image

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, tests, or entry points are named. Start by tracing how search results are rendered and how a file's favorite status is represented, then compare the result with the Files view shown in the issue. Done means favorite and non-favorite files are visibly distinguishable in search results, with relevant tests updated or added.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
frontend, search
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.