nextcloud / nextcloud/tables

Change the order of radio buttons or checkboxes

Open
#1,365 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage design 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.

When I create choice columns and select radio buttons (single choice) or checkboxes (multiple choice), I add new choice entries as I go along, because I don't necessarily know all the choices and contexts and categories in advance. The problem is that the choice lists become a real mess, which I can't change if lines (or even lots of lines) have already been entered.

Note: A hard-coded alphabetical classification would not be a solution at all.

Typical example scenario :

I add new choices as I fill the table. At first, I have :

  • Alpha
  • Charly
  • N/A

... then I realize I need to add “Delta”, which gives me the following list:

  • Alpha
  • Charly
  • N/A
  • Delta

... then I need to add the “Others” option, which gives me the following list:

  • Alpha
  • Charly
  • N/A
  • Delta
  • Others

... finally, I realize that I want to add “Bravo”, which gives me the following list:

  • Alpha
  • Charly
  • N/A
  • Delta
  • Others
  • Bravo

This list is clearly not clean and easy to use; with a possibility to change the order (manually, just like you can change the order of columns in views), I could get this much better list (easier to browse and therefore, a faster choice(s) to make when entering new rows) :

  • Alpha
  • Bravo
  • Charly
  • Delta
  • Others
  • N/A
Describe the solution you'd like

Read above

Describe alternatives you've considered

None

Additional context

No response

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 identified in the issue. Start by locating the choice-column editor and the existing view-column reordering entry point, then trace how choice options are stored and rendered. Done means users can manually reorder radio-button and checkbox options without changing existing entries.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.