nextcloud / nextcloud/tables

more sorting methods for options in multiple-selection column

Open
#728 0 comments 0 reactions 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.

I use a table with a multiple-selection column. From time to time I add new and deleted obsolete ones.

When I look into the edit menu and view them in the different rows, they seem to be sorted by the date and time they were added. While this sorting method is sometimes useful, for other use cases it can be very impractical. For example when I skim the whole table.

Describe the solution you'd like

It would be great to have the ability to set a default for a alphabetically sorted list. So while editing a row all the available and checked options among each other and while viewing a row just the checked ones are being shown.

If this is not only something on the surface/front end, but also takes place in the CSV export this would be great.

Describe alternatives you've considered

Manual sorting would be more like a time-consuming rebuilding and is therefore no good alternative, other than that I do not have any further ideas what could be a possible alternative.

Additional context

https://github.com/nextcloud/tables/issues/727

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

No files or tests are named. Review the multiple-selection column's edit and row-view behavior, compare the related issue #727, and inspect how CSV export handles these options. Done means a configurable alphabetical default consistently orders available and selected options in editing, selected options in viewing, and, if supported, exported data.

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.