Toggle sort by clicking column heading
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 214
- Forks
- 52
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 82
Description
Describe the solution you'd like
Many tables in other applications can be sorted (A->Z or Z->A) simply by clicking the column heading.
Describe alternatives you've considered
We can currently sort by clicking the ... next to the column heading then selecting the sort option.
Additional context
Currently clicking on the column header does nothing, so it seems reasonable to allow a one-click sort. Clicking once would sort ascending and clicking again would change the sort to descending.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the table column-header handling and the existing sort action opened through the ... menu. Compare that behavior with the requested click interaction: the first click should sort ascending and the second descending. Done means column headings trigger sorting without opening the menu and the direction changes on successive clicks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100