nextcloud / nextcloud/photos

Exclude folders through Photos' UI

Open
#561 4 comments 32 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: folders
Dominant language
JavaScript
Stars
718
Forks
91
Avg merge
2d 15h
Merged PRs (30d)
76

Description

Is your feature request related to a problem? Please describe.
Creating a .nomedia file is kinda an hacky solution to the problem of excluding directories from being indexed as part of Photos, but is also the only solution I could think of.

Describe the solution you'd like
I think that it would be nice to add an "exclude folders" button to the app's sidebar that would automatically add a .nomedia file to the selected folder, so that the end user doesn't really have to know how the app excludes folders, making things easier and prettier.

Related to #234 and #141

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 Photos sidebar and the existing handling for folders and .nomedia files. Verify the finished behavior by selecting a folder through the UI, confirming that .nomedia is added there, and checking that the folder is excluded from indexing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.