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

A Gantt example zooms a plan from days to weeks

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 I read tomorrow's tasks and then the shape of the whole plan in the same chart?

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

Both Gantt examples open at one fixed scale. A plan of ten weeks is read at two distances, and the links have to hold at both.

The Architectural Reality

  • zoomTo(presetOrConfig) (src/gantt/Container.mjs:641) changes the axis scale and re-projects the link layer. The presets are the scheduler's static zoomPresets (src/scheduler/Container.mjs:45): hour, day and week.
  • There is no quarter unit, and a wider level is a custom config (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: the day and week presets, and one custom config wide enough that ten weeks fit 1440 px. Note whether every link still meets its bars and what stays in view. A defect becomes an engine ticket, linked here as a blocker.
  2. A new folder examples/gantt/zoom: a house build. About 60 linked tasks in six phases over ten weeks. A segmented control in the toolbar offers the day and week presets, and the wide level only if its drive was clean; the pull request says which levels ship. The data ships with the example, in stores of models.
  3. The record, for #21613: id gantt-zoom, name "Zoom a plan in and out", feature "The same linked plan at more than one scale, its links re-drawn at each", lookFor "Switch to the wider scale: the bars shrink and every link still meets its tasks." Cover: the widest level that ships, the plan's whole shape with its links.

Acceptance Criteria

  • Each level draws its own header units, and the control shows the active level.
  • At every level each link starts and ends on its tasks' bars.
  • The pull request states what stays in view on a zoom, with a frame before and after.
  • A spec under test/playwright/e2e/gantt/ asserts the axis unit of each level and one link's end points after a zoom.
  • No console error. 1440 × 900 and 390 × 844. Every theme the base example's neo-config.json lists.
  • Look: every level at 1440 × 900 and the first frame at 390 × 844, in the dark theme, are on the pull request beside gantt/basic's, read cold by one reader of the builder's seat. No control in the example's toolbar keeps its default style.
  • The pull request edits no shared file.

Out of Scope

Engine changes. A quarter level. Zoom by wheel or pinch.

Avoided Traps

  • A plan too short to need a second scale.
  • A wide level that ships with a link off its bar. It ships clean or not at all, and the finding goes to the engine.

Related

Parent #21346 · #21140 (the Gantt row of its content table) · #21613 (publication) · #21617 (the scheduler's zoom, the same presets).

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 zoom, zoomTo re-projects the dependency layer, day and week presets, links meet their bars at every scale"

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

tobiu referenced in commit 4b444e4 - "feat(examples): a Gantt house build zooms from hours to months (#21625) (#21680) on Nov 21, 2026, 1:10 AM
tobiu closed this issue on Nov 21, 2026, 1:10 AM