nextcloud / nextcloud/server

Remember view config on folder level

Open
#12,161 2 comments 15 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: files
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

On Android we remember if a folder is set to grid or list view:

  • default is list (on server it would be grid)
  • on entering a folder it is checked if there is a setting for this folder (via fileId)
    • if yes: use it
    • if not: check for parent folder, until root (which is either set or default)

This way you can easily have

  • root: list
  • documents + any subfolder: list
  • auto upload + any subfolder: grid

Ref: https://github.com/nextcloud/server/issues/12031


From #15170

Is your feature request related to a problem? Please describe. Doesn't remember the sorted column per directory (only globally)

Describe the solution you'd like Remember the sorted column per directory

Describe alternatives you've considered None

Additional context n/a

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 reviewing the requirements in server issue #12031 and the linked context from #15170, including the folder inheritance examples. Done means folder-specific view settings are remembered and inherited through parent folders to the root, while the requested sorted-column behavior is also addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, php
Domain
backend, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.