Feature request: Display card dependencies in the Gantt chart

Open
#8,281 1 comment 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
64/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
frontend

Research direction

Start by locating Deck's Gantt implementation and the construction of its Frappe Gantt task objects, then trace how existing card dependencies are represented in the Deck data model. Confirm how Frappe Gantt expects dependencies, and verify that dependency lines remain correct when dates or card positions change and disappear when a dependency is removed.

Written by the indexing model from the issue text.

Description

Description

Deck supports dependencies between cards, but these dependencies are currently not visualized in the Gantt view.

For example, if:

Requirements → Design → Development → Testing

are configured as dependent cards in Deck, the Gantt chart should visually show these relationships.

Requested functionality

Display dependencies between cards in the Gantt chart using dependency lines/arrows.

For example:

Requirements █████████

Design █████████

Development ███████████

The exact visual representation can follow the conventions of the underlying Gantt component, but the relationship should be clearly visible.

Expected behaviour

If Card B is configured as dependent on Card A:

the Gantt chart should draw a visual connection from Card A to Card B;
the connection should remain correct when the cards are moved or their dates change;
dependencies should work regardless of whether the cards are in the same Deck stack or different stacks, where supported by Deck's dependency model;
removing the dependency in Deck should remove the corresponding dependency visualization from the Gantt chart.

The dependency visualization should use the existing Deck dependency relationship rather than requiring users to configure the dependency a second time specifically for the Gantt view.

Rationale

Dependencies are an important part of project planning. A timeline showing only the dates and durations of tasks does not communicate which activities depend on others.

Deck already supports card dependencies, so the Gantt view should visualize the relationships that already exist in the Deck data model.

Without dependency visualization, users have to switch between the Kanban/card view and the Gantt view to understand the relationship between tasks.

Environment

Observed with:

Nextcloud 34.0.2 (Spring 26)
Deck 1.18.3

Current behaviour

Card dependencies can be configured in Deck, but no dependency lines/arrows are displayed in the Gantt view.

Desired behaviour

Visualize existing Deck card dependencies directly in the Gantt chart.

Additional implementation note

The Gantt implementation uses Frappe Gantt, which supports task dependencies. The Deck Gantt implementation currently appears not to pass the existing Deck dependency information to the Gantt task objects.

This feature should therefore ideally integrate the existing Deck dependency model with the dependency functionality of the Gantt component.

Dominant language
JavaScript
Stars
1.4k
Forks
380
Avg merge
1d 17h
Merged PRs (30d)
72

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from nextcloud/deck

All issues in nextcloud/deck

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.