nextcloud / nextcloud/server

Remember sorting when sharing via link

Open
#5,254 4 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Suggestion (enhancement)

Sharing a folder via link should not only remember gallery vs. list view, but also sorting (name, date, asc/desc) as default values.

Use Case

Having a photo album that is constantly updated and shared via link for friends/family. New photos should always be on top, therefore it would be beneficial if the sorting I chose is shared with the link. People opening the link see my preselection, but they can change it of course.
Same goes for a list of files that should be sorted in a certain way (e.g. A-Z) which the sharer chooses.

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

The issue names shared folder links and the existing gallery/list preference, but no files or tests. Start by tracing how shared-link folders establish their default view and sorting, then check how those settings reach the link recipient. Done means name/date sorting and ascending/descending order persist through the link while recipients can change them.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
cloud, web-dev
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.