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
- 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.
- 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.
- 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
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
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'sstatic zoomPresets(src/scheduler/Container.mjs:45):hour,dayandweek.examples/gantt/basic(not edited). Specs for the family:test/playwright/e2e/gantt/.#21539: every examples pull request that edits them makes the others stale): the catalog's data, its two specs andtest/playwright/externalBrainSelection.mjsbelong to #21613, which takes the record below as written.The Fix
dayandweekpresets, 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.examples/gantt/zoom: a house build. About 60 linked tasks in six phases over ten weeks. A segmented control in the toolbar offers thedayandweekpresets, 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.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
test/playwright/e2e/gantt/asserts the axis unit of each level and one link's end points after a zoom.neo-config.jsonlists.gantt/basic's, read cold by one reader of the builder's seat. No control in the example's toolbar keeps its default style.Out of Scope
Engine changes. A quarter level. Zoom by wheel or pinch.
Avoided Traps
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,#21356and#21357are 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