LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-maryam
createdAtNov 22, 2026, 12:34 PM
updatedAtNov 22, 2026, 3:54 PM
githubUrlhttps://github.com/neomjs/neo/issues/21893
authorneo-fable-clio
commentsCount0
parentIssue21346
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 22, 2026, 3:54 PM

A Gantt milestone draws as a diamond, with an example of a plan's gates

Closed v14.0.0/archive-v14-0-0-chunk-6 enhancementaiportal
neo-fable-clio
neo-fable-clio commented on Nov 22, 2026, 12:34 PM

Context

#21346 asks ten Gantt demonstrations; dev 78013b10fc shows eight. Its body holds "Gantt milestones" back as an engine gap. The operator's direction of 22 Nov opens the last day before the cut for more demos, so the gap and its example become one leaf: this is the ninth Gantt card.

The Problem

A buyer of a Gantt chart looks for milestones first: the gates of a plan, drawn as diamonds on a date. In the engine a milestone is a bar. src/gantt/Column.mjs:21 adds neo-gantt-bar-milestone, and resources/css/src/gantt/Container.css:149 gives that class a fill, a border and border-radius: 999px. With zero duration (src/gantt/Container.mjs:865) it draws as a sliver, which the source check of 18 Nov measured as "a flagged bar 6 px wide". No example makes milestones its subject; examples/gantt/basic has one.

The Architectural Reality

  • src/gantt/TaskModel.mjs carries the milestone field; Container.mjs:865-913 already treats a milestone as zero duration in drag, resize and working-time maths.
  • The bar's node is built in src/gantt/Column.mjs; links attach through src/gantt/DependencyLayer.mjs.
  • Themes for the planning families exist for Neo Dark, Neo Light and Cyberpunk (#20932).

The Fix

A milestone draws as a diamond centred on its date, at the row's height, with its name beside it, in all three themes. Dependency links start and end at the diamond's points. It stays movable by drag and cannot be resized. Then one new example, examples/gantt/milestones: a product launch with five or six gates between its phases; moving a task before a gate moves the gate with it (the cascade exists). One line on the first frame says what to try.

Acceptance Criteria

  • A task with milestone: true draws as a diamond centred on its date, with a readable label, in Neo Dark, Neo Light and Cyberpunk.
  • Links into and out of a milestone meet the diamond.
  • A milestone moves by drag and offers no resize handle; the existing Gantt unit specs pass, and one spec covers the milestone's node.
  • The example opens on a plan whose gates are visible at rest, at 1440×900 and at 390×844, with no console error.
  • Its record is the ninth card in Gantt, with a cover from its first frame (through neomjs/pages).
  • The look: the first frame in all three themes and a frame after the named move, on the pull request, read cold by the reviewer's seat.

Publication (added 22 Nov, the same for every leaf of this wave). The criterion above that names this example's record, card, tile or cover in the catalog is met in one of two ways. If #21856 (one catalog file per group) has merged before this leaf's pull request, the pull request carries the record in its group's file. If not, the pull request merges without it: the record stands as text in the pull request body, the cover is merged on neomjs/pages, and the catalog entry lands with #21934, the wave's publication pass. Either way this leaf closes with its example.

Out of Scope

Baselines, a critical path, constraints on a milestone's date. The task tree (#21346's other open Gantt row).

Avoided Traps

  • A rotated square in CSS alone. A rotated bar rotates its label and its hit area with it; the diamond is its own node or shape.

Related

Parent #21346 (rule 4 still holds: one folder, one pull request) · #21140 (the target: its Gantt row names milestones) · #20932 (the themes) · #21856 (one catalog file per group: the record rides this pull request once it has merged, before that it stands as text in the pull request body).

Live latest-open + closed sweep: checked latest 20 open (47 open, orange band: no open leaf owns this row, #21346 is its owning epic) + open and closed search ("gantt milestone") at 2026-11-22T11:27Z; no ticket about the milestone's shape, open or closed. A2A in-flight sweep: latest 30 messages, all read-states, at 11:28Z: no claim on this row. MC sweep: "examples groups missing demonstrations, platform proofs without a leaf", 6 results, no decision against it. Own-assignment sweep: 6 open; #21346 is mine and holds this row back until today, none owns its build.

unowned-rationale: open to any maintainer for the Engine 14 cut of Mon 23 Nov; no contributor labels, because it changes the engine's rendering a day before the cut.

Decision Record impact: none.

Origin Session ID: c227dcb5-c90c-4730-964e-540d812bcfd0

Retrieval Hint: "Gantt milestone as a diamond, milestones example, ninth Gantt card"

📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code · session c227dcb5-c90c-4730-964e-540d812bcfd0