LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtNov 20, 2026, 7:44 PM
updatedAtNov 21, 2026, 6:41 AM
githubUrlhttps://github.com/neomjs/neo/issues/21622
authorneo-fable-clio
commentsCount2
parentIssue21346
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 21, 2026, 6:41 AM

A Gantt example links tasks by drag, in four link types

Closed v14.0.0/archive-v14-0-0-chunk-5 enhancementaiportal
neo-fable-clio
neo-fable-clio commented on Nov 20, 2026, 7:44 PM

Context

A leaf of #21346, the planning examples under #21140. The visitor's question: can a planner draw a dependency from one task to another, and does the chart know finish-to-start from start-to-start?

No contributor labels: the capability is read from the source (the check on #21346) and has not been driven in a browser. A maintainer builds it, and the drive is the first step.

The Problem

gantt/basic mentions that a link can be created. No example is about links: which types exist, where a link starts, what a refused link looks like. The link handles are also the affordance whose look the operator named on 13 Nov as neglected, so this example is where they are designed and shown.

The Architectural Reality

  • dependencyCreation_ (src/gantt/Container.mjs:39, default false): a Boolean, or a function that filters link gestures. The four types (FS, SS, FF, SF) are on src/gantt/DependencyModel.mjs:5-6. src/gantt/DependencyLayer.mjs draws the links.
  • cascadeDependencies_ (src/gantt/Container.mjs:37) recomputes successors after an edit; runDependencyCascade (src/gantt/Cascade.mjs:113) reports cycles.
  • Nothing sets highlightedDependencyIds from a gesture (the source check linked above).
  • Template: examples/gantt/basic (not edited). Specs for the family: test/playwright/e2e/gantt/.
  • Shared files stay out of this pull request (#21539: every examples pull request that edits them makes the others stale): the catalog's data, its two specs and test/playwright/externalBrainSelection.mjs belong to #21613, which takes the record below as written.
  • Design authority: n/a — a new example; it calls no existing behaviour wrong.

The Fix

  1. Drive it first on a scratch copy of the base example: a link of each type by drag, a link onto the task itself, and a link that would close a cycle. A defect becomes an engine ticket, linked here as a blocker.
  2. A new folder examples/gantt/dependencies: a product launch. Fourteen tasks in three phases, eight links at the start with at least one of each type, and six tasks without a link. dependencyCreation is on. A legend draws the four types. The data ships with the example, in stores of models.
  3. The record, for #21613: id gantt-dependencies, name "Link tasks by drag", feature "Dependencies drawn from one task's handle to another, in four link types", lookFor "Hover a task and drag from its end handle to another task's start. Then move the first task: the linked one follows." Cover: the plan with its eight links and the legend.

Acceptance Criteria

  • The example opens with its eight links and a legend of the four types.
  • A drag from a handle to another task creates a link. The example or the pull request says which pair of handles gives which type.
  • A link onto the same task and a link that closes a cycle are refused, and the pull request shows how the refusal looks.
  • The pull request says whether a link can be removed and what a keyboard user can do.
  • A spec under test/playwright/e2e/gantt/ asserts a created link's record and the refused cycle.
  • No console error. 1440 × 900 and 390 × 844. Every theme the base example's neo-config.json lists.
  • Look: the first frame at both sizes, in the dark theme, is on the pull request beside gantt/basic's, read cold by one reader of the builder's seat. A handle's rest, hover, active and dragging states, the line while it is dragged, and a valid and a refused target are shown enlarged, in the dark and in the light theme.
  • The pull request edits no shared file.

Out of Scope

Engine changes. Highlighting a task's links, and an editor for a link's lag: engine gaps named on #21346. How successors move when a task moves is the cascade's own example, which waits for an engine ticket.

Avoided Traps

  • Handles that appear only on hover and are never shown at rest in a frame. The look names every state.
  • A plan in which every task is already linked. Six tasks wait for the visitor.

Related

Parent #21346 · #21140 (the Gantt row of its content table) · #21613 (publication).

unowned-rationale: open to a maintainer now. It ships with Engine 14 if it has merged by Sun 22 Nov 12:00 CET, so that #21613 can publish it before the lock; otherwise the week after.

Live latest-open + closed sweep: latest 20 open read (62 open before this batch, red band: a leaf of the owning epic #21346), open and closed search ("scheduler OR gantt OR board example", titles read; #21355, #21356 and #21357 are the three examples this epic has delivered) at 2026-11-20T18:41Z: no equivalent and no prior exclusion. A2A in-flight sweep: the latest 12 messages, all read-states, back to 18:23Z: no claim on a planning example. MC sweep ("scheduler, Gantt and task board show two examples each; which new planning examples does the release need"): 6 results, turns of 7 to 20 Nov, no decision that excludes this example. Own-assignment sweep: 8 open; #21346 is the parent.

Decision Record impact: none.

Origin Session ID: d33dee4c-5fa8-4403-8864-4f146d8a50c9

Retrieval Hint: "Gantt example dependencies by drag, dependencyCreation, link types FS SS FF SF, link handles' states, refused cycle"

📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code