nextcloud / nextcloud/server

Customizable filetype filters

Open
#49,781 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

With https://github.com/nextcloud/server/issues/45437 filetype filters got introduces which I find awesome.

Currently these types are available for filtering:
Image

I think it would be a great addition to add filtering by custom file types / file endings.

I can imagine two ways to add this. One would be to add a "custom" option where the user can add a file ending or a regex option for filtering files. This is the one that I think would be best.

Another approach could be to have a setting for the admin to customize the file type filters. The admin would be able to add, remove, sort file type options for the filter for all of his users.
Although this would take the customization from the user, if the setting is only available for the admin and not the user.

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

Review linked issue #45437 first to understand the existing filetype filters. Define whether completion means user-defined endings or regex, or administrator-managed filter options, then verify the chosen behavior in the filter UI.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.