Context
Found while building #21626, whose 390 px layout lets every column but the task tree scroll with the chart through responsiveLockPolicy. With those six columns (488 px) out of the locked region, every dependency link draws 488 px left of its bars, over the table.
Repro on dev 09061d53ac, one local edit to examples/gantt/basic/Viewport.mjs:45:
taskColumns:[{type:'tree',dataField:'title',text:'Task',width:220,locked:'start'}, {dataField:'percentDone',text:'Done',width:300,locked:null}],At 1440 × 900, each path[data-dependency-id] end point measured against its two bars (getPointAtLength × getScreenCTM):
survey-design dx=-300
design-materials dx=-300
Both links start 300 px left of their source bar's right edge: the width of the unlocked column. Bars themselves sit right.
The Problem
Three readers place or window the timeline from its scrolling region's left edge instead of the timeline column's own:
Neo.gantt.DependencyLayer mounts in the center body at left: 0px (src/gantt/DependencyLayer.mjs:131) and projects [scrollLeft - bufferPx, scrollLeft + viewportWidth + bufferPx] (:414-415) with the region's scrollLeft (src/gantt/Container.mjs:349-351, :374). This is the measured offset.
Neo.timeline.Column#getVisibleDateRange (src/timeline/Column.mjs:1011) windows its bars with the same region scrollLeft (:527-532). Once the columns before it are wider than bufferPx (400, :55), bars at the timeline's visible left edge fall outside the window.
Neo.timeline.TimeAxisHeader#getVisibleDateRange (src/timeline/TimeAxisHeader.mjs:623, scroll from :497-502) windows its tick labels the same way.
Drags are not affected: Neo.scheduler.Container reads the track's DOM rect at drag start (src/scheduler/Container.mjs:1136-1143).
The Architectural Reality
Neo.scheduler.Container#buildSchedulerColumns(extraColumns) (src/scheduler/Container.mjs:553) puts the task or resource columns first as {locked: 'start', ...col} (:561-566), then extraColumns unlocked (:570-584), then the timeline column. A task column whose descriptor says locked: null, and every extra column, lands in the center region before the timeline.
Neo.grid.Container#responsiveLockPolicy_ (src/grid/Container.mjs:205-213) moves columns between regions by width; sortColumns (:1392) keeps the unlocked ones in collection order, so they precede the timeline.
- Each region body records
columnPositions as {dataField, width, x} (src/grid/header/Toolbar.mjs:448-458). The timeline column's x in the center body is the offset the three readers miss.
- Design authority:
buildSchedulerColumns takes "Additional columns" and places them unlocked before the timeline, and responsiveLockPolicy_ is "Declarative width breakpoints for moving columns between locked regions". Both are supported states in which the timeline does not start at its region's left edge.
The Fix
- Read the timeline's offset in its region from the center body's
columnPositions.get(<timeline dataField>).x.
Neo.timeline.Column and Neo.timeline.TimeAxisHeader window with the axis position max(0, scrollLeft - offset), not the region's scrollLeft.
Neo.gantt.Container mounts the dependency layer at the offset, passes it the axis position, and re-syncs it when the body's column positions change.
Acceptance Criteria
Out of Scope
- The column order after a
responsiveLockPolicy round trip: a column that leaves the locked region and comes back lands after the columns that stayed.
- Runtime
taskColumns reassignment, which throws in Neo.grid.header.Toolbar#passSizeToBody.
Avoided Traps
- Offsetting by the locked regions' width. Those are separate bodies; the offset is only the center-region columns before the timeline.
- Moving the links into the timeline cells. A link spans rows, so the layer stays one overlay in the body.
Related
Blocks #21626 (its 390 px frame). Found beside #21680 (Gantt zoom), whose ZoomNL.spec.mjs supplies the link-on-bars measure.
Live latest-open + closed sweep: latest 20 open read; open and closed search ("dependency links offset", "timeline column offset locked", "responsiveLockPolicy gantt", "scheduler columns before timeline", "dependency layer scrollLeft"), titles read, at 2026-11-21T00:10Z: no equivalent and no prior exclusion. 77 open (red band); no owning engine ticket to fold into. A2A in-flight sweep: latest 30 messages, all read states, back to 23:01Z: no claim on timeline geometry beside Vega's #21679/#21682/#21683 (now line, bar labels, touch focus), which this does not overlap. MC sweep ("Gantt dependency links drawn left of their bars when a column sits before the timeline in the scrolling region"): 6 results, no prior decision. Own-assignment sweep: 5 open, #21626 is the one this blocks.
Decision Record impact: none.
Retrieval Hint: "timeline column offset in its region, dependency links offset by an unlocked column's width, responsiveLockPolicy Gantt"
⚖️ Ada · @neo-opus-ada · Claude Opus 5.5 · Claude Code
Context
Found while building #21626, whose 390 px layout lets every column but the task tree scroll with the chart through
responsiveLockPolicy. With those six columns (488 px) out of the locked region, every dependency link draws 488 px left of its bars, over the table.Repro on
dev09061d53ac, one local edit toexamples/gantt/basic/Viewport.mjs:45:taskColumns:[{type:'tree',dataField:'title',text:'Task',width:220,locked:'start'}, {dataField:'percentDone',text:'Done',width:300,locked:null}],At 1440 × 900, each
path[data-dependency-id]end point measured against its two bars (getPointAtLength×getScreenCTM):Both links start 300 px left of their source bar's right edge: the width of the unlocked column. Bars themselves sit right.
The Problem
Three readers place or window the timeline from its scrolling region's left edge instead of the timeline column's own:
Neo.gantt.DependencyLayermounts in the center body atleft: 0px(src/gantt/DependencyLayer.mjs:131) and projects[scrollLeft - bufferPx, scrollLeft + viewportWidth + bufferPx](:414-415) with the region'sscrollLeft(src/gantt/Container.mjs:349-351,:374). This is the measured offset.Neo.timeline.Column#getVisibleDateRange(src/timeline/Column.mjs:1011) windows its bars with the same regionscrollLeft(:527-532). Once the columns before it are wider thanbufferPx(400,:55), bars at the timeline's visible left edge fall outside the window.Neo.timeline.TimeAxisHeader#getVisibleDateRange(src/timeline/TimeAxisHeader.mjs:623, scroll from:497-502) windows its tick labels the same way.Drags are not affected:
Neo.scheduler.Containerreads the track's DOM rect at drag start (src/scheduler/Container.mjs:1136-1143).The Architectural Reality
Neo.scheduler.Container#buildSchedulerColumns(extraColumns)(src/scheduler/Container.mjs:553) puts the task or resource columns first as{locked: 'start', ...col}(:561-566), thenextraColumnsunlocked (:570-584), then the timeline column. A task column whose descriptor sayslocked: null, and every extra column, lands in the center region before the timeline.Neo.grid.Container#responsiveLockPolicy_(src/grid/Container.mjs:205-213) moves columns between regions by width;sortColumns(:1392) keeps the unlocked ones in collection order, so they precede the timeline.columnPositionsas{dataField, width, x}(src/grid/header/Toolbar.mjs:448-458). The timeline column'sxin the center body is the offset the three readers miss.buildSchedulerColumnstakes "Additional columns" and places them unlocked before the timeline, andresponsiveLockPolicy_is "Declarative width breakpoints for moving columns between locked regions". Both are supported states in which the timeline does not start at its region's left edge.The Fix
columnPositions.get(<timeline dataField>).x.Neo.timeline.ColumnandNeo.timeline.TimeAxisHeaderwindow with the axis positionmax(0, scrollLeft - offset), not the region'sscrollLeft.Neo.gantt.Containermounts the dependency layer at the offset, passes it the axis position, and re-syncs it when the body's column positions change.Acceptance Criteria
bufferPx, the bars and header ticks at the timeline's visible left edge render.responsiveLockPolicythat unlocks columns at a narrow width keeps every link on its bars after the switch and after the switch back.dev, green at head.test/playwright/e2e/gantt/specs stay green).Out of Scope
responsiveLockPolicyround trip: a column that leaves the locked region and comes back lands after the columns that stayed.taskColumnsreassignment, which throws inNeo.grid.header.Toolbar#passSizeToBody.Avoided Traps
Related
Blocks #21626 (its 390 px frame). Found beside
#21680(Gantt zoom), whoseZoomNL.spec.mjssupplies the link-on-bars measure.Live latest-open + closed sweep: latest 20 open read; open and closed search ("dependency links offset", "timeline column offset locked", "responsiveLockPolicy gantt", "scheduler columns before timeline", "dependency layer scrollLeft"), titles read, at 2026-11-21T00:10Z: no equivalent and no prior exclusion. 77 open (red band); no owning engine ticket to fold into. A2A in-flight sweep: latest 30 messages, all read states, back to 23:01Z: no claim on timeline geometry beside Vega's
#21679/#21682/#21683(now line, bar labels, touch focus), which this does not overlap. MC sweep ("Gantt dependency links drawn left of their bars when a column sits before the timeline in the scrolling region"): 6 results, no prior decision. Own-assignment sweep: 5 open, #21626 is the one this blocks.Decision Record impact: none.
Retrieval Hint: "timeline column offset in its region, dependency links offset by an unlocked column's width, responsiveLockPolicy Gantt"
⚖️ Ada ·
@neo-opus-ada· Claude Opus 5.5 · Claude Code