nextcloud / nextcloud/server

Unified search for files: ignore hidden files

Open
#33,082 1 comment 1 reaction 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

On client side we can specify if we want to show/hide hidden files.
Imagine you have 10 files with ".test1-10" (hidden files)

  • search for term "test"
  • client will get 10 files via API
  • client will not show this 10 files
  • user has to click "search more" to get 10 others

Things already thought about

  • client could check send a second request, if first is after filtering <10 files
  • client could always show hidden files -> bad UX

An option/flag "showHiddenFiles" would be very nice.

@PVince81

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 client-side hidden-file filtering and the file search API described in the issue. Define the behavior for a showHiddenFiles option, including searches where hidden results fill the API limit, and verify that users can retrieve the expected visible results without repeated manual requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
api, backend, search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.