Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Feature request: Add sorting options to the Gantt chart

未关闭
#8,282 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
55/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
javascript
领域
frontend

调研方向

首先定位 Gantt 视图的实现,以及它目前如何根据 Deck 卡片顺序构建行。在不改变 Deck 堆栈的情况下,添加按开始日期、截止日期和卡片顺序进行选择性排序的功能,然后验证 Gantt 视图中的时间顺序,以及对无日期卡片所选择的处理方式。

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
JavaScript
星标
1.4k
派生
358
平均合并
2 天 18 小时
30 天内合并 PR
83

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/deck 的其他 Issue

查看 nextcloud/deck 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。