nextcloud / nextcloud/tables

Add UNIQUE filter (or sort) option on View settings

Open
#1,826 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement
Dominant language
JavaScript
Stars
214
Forks
52
Avg merge
1d 10h
Merged PRs (30d)
82

Description

Is your feature request related to a problem? Please describe.

Suppose for example I have a table with a users column and the table has a lot of entries.

Then I would like to list the users that are in that table, so use a view and select only the users column and... yeah! I need a unique filter to select each name only once.

My case doesn't have users column, has a link to Collections page, but the problem is the same, I need to list the linked pages shown each page only once.

Describe the solution you'd like

Honestly, I don't know if the better place to add the option is in filter or maybe in sort options. Because we can add at the end, after the sort action, a check to select unique row view values.

Describe alternatives you've considered

No response

Additional context

Thanks a lot for your work on the app, is great!

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 at the View settings controls described in the issue and trace the existing filter and sort entry points. Determine where a unique-values option belongs, then verify that a view of a linked column displays each linked page once and that the resulting behavior is clear.

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
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.