Feature request: Add sorting options to the Gantt chart
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start by locating the Gantt view implementation and how it currently builds rows from Deck card order. Add selectable start-date, due-date, and card-order sorting without changing the Deck stack, then verify chronological ordering and the chosen handling of cards without dates in the Gantt view.
Written by the indexing model from the issue text.
Description
Description
The Gantt view currently displays cards in the same order as they appear in their Deck stack. This means that the vertical order of tasks in the Gantt chart does not necessarily correspond to their chronological order.
For a Gantt chart, the chronological order of tasks is important for understanding the project timeline.
For example, cards may currently be displayed as:
Development
Testing
Requirements
Design
Deployment
while their actual timeline is:
Requirements
Design
Development
Testing
Deployment
Requested functionality
Add sorting options to the Gantt view, at minimum:
Start date (ascending) — recommended default for the Gantt view
Due date (ascending)
Deck/card order — retain the current behaviour
Ideally, the user should be able to select the sorting method from the Gantt view.
Expected behaviour
When Start date ascending is selected, cards with an earlier start date should appear above cards with a later start date.
Cards without a start date could either:
be displayed at the bottom, or
remain in their existing Deck order after the dated cards.
The sorting should only affect the presentation in the Gantt view; it should not change the actual card order in the Deck stack.
Rationale
A Gantt chart is primarily a timeline visualization. Chronological ordering makes it substantially easier to understand the sequence and timing of project activities.
The current behaviour is particularly confusing when the Kanban order and chronological order differ.
Environment
Observed with:
Nextcloud 34.0.2 (Spring 26)
Deck 1.18.3
Current behaviour
Cards are displayed according to their Deck stack/card order rather than according to their start or due date.
Desired behaviour
Provide an option to sort the Gantt rows chronologically, preferably by start date ascending.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 380
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 72
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from nextcloud/deck
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
2 small URL BugsOpen1. to develop bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
nextcloud/deck#8834 · 1 comment ·
Maintainers usually reply within 1 day
-
Updating a card without `done` clears its done statePossibly taken @whoalin1 claimed this 5 days ago. Open0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Updating a card on an incoming federated board without `done` returns 500Possibly taken @AlirezaAghaee1996 claimed this 5 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
Similar issues
-
area-integrations
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Trac-Systems/main_settlement_bus#1071 ·
Maintainers usually reply within 1 day
-
Bug kind/bug pulumi/pulumi R1 S1
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Document that Search Attributes on Standalone Activity start are not billed as additional ActionsOpen
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
temporalio/documentation#5883 ·
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Stanley03-arch/Rabbit#15 ·
Maintainers usually reply within 1 day