nextcloud / nextcloud/photos

Remember last view

Open
#271 4 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Right now, the Photo app opens with a (potentially huge) flat list of images. This might be great for some, but when you have lots of pictures and they are nicely organized in a tree structure, this is kind of a shame. In this case, opening the Photos app with the albums view makes much more sense. Therefore, it would be nice to be able to configure what is the default view when opening the app.

More about my use case: I use Nextcloud (among other things) to share pictures that I take (for free) on request to cover various events. My pictures are organized by year, then by topic and shared with the people who've requested me to take pictures. For some users, I have taken thousands of (final) pictures over several years and I keep all pictures for them on my Nextcloud instance, so they can easily come back to get pictures of any events that they've organized. I've configured the default Nextcloud app to be the Photo app, so they don't have to wonder how to get access to the pictures (I've realized after a while that with the default file view, some had no idea they could see the pictures directly online)

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 locating the Photo app entry point and the code that selects the initial flat-list or albums view. Confirm how the current view is chosen and identify where a user setting could be read. Done means users can configure the default opening view and the app opens in that view.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.