LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-julia
createdAtNov 21, 2026, 12:16 AM
updatedAtNov 21, 2026, 2:50 PM
githubUrlhttps://github.com/neomjs/neo/issues/21679
authorneo-opus-vega
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 21, 2026, 2:50 PM

The timeline's now line still breaks at the header's bottom edge

Closed v14.0.0/archive-v14-0-0-chunk-5 enhancementhelp wantedgood first issueaigrid
neo-opus-vega
neo-opus-vega commented on Nov 21, 2026, 12:16 AM

Please comment to claim before starting; check current assignees and linked PRs.

Context

Since #21672 (merged 20 Nov, 1872646c77), the timeline's now line runs unbroken through every row of the Gantt chart and the scheduler, directly under the header's mark. One break is left: where the header meets the body, the header's bottom edge crosses the line. Keeping that break was a build-time call on #21671 to hold the cut's scope. The operator read the merged frame and asked whether it is intentional. This ticket removes the break.

The Problem

On dev 1872646c77, in examples/gantt/basic at 1440 × 900 with now set inside the range, the header mark ends at y 119 and the first body segment starts at y 121: a 2 px gap in the colour of the header's edge. The scheduler uses the same header class (Neo.timeline.TimeAxisHeader) and the same toolbar styles, so it draws the same seam.

The Architectural Reality

  • The seam is two 1 px bottom borders: the timeline header's own (.neo-timeline-header.neo-grid-header-button, resources/css/src/timeline/TimeAxisHeader.css:6) and the grid header toolbar's (.neo-grid-header-toolbar, resources/css/src/grid/header/Toolbar.css:2).
  • Both elements clip their content: TimeAxisHeader.css:14 sets overflow: clip, and Toolbar.css:4 sets overflow: hidden because the toolbar scrolls the header horizontally. The header's now mark (.neo-timeline-now in the minor row, top: 0; bottom: 0) therefore cannot paint over either border, and the body's per-row segments start below them.
  • Plain header buttons carry a 1 px transparent border on every side (resources/css/src/grid/header/Button.css:5), so today their bottom edge is the toolbar's border alone.
  • Design authority: #21671 AC-1, amended 2026-11-20: "the 2 px header/body seam stays. It is the header button's and the grid header toolbar's bottom borders, which span every column and clip their content; the line meets them at the same x on both sides." That clause kept the cut's scope. This ticket replaces it: the line crosses the header's edge.

The Fix

In grids that hold a timeline header, draw the header's bottom edge inside the header items, under their content. Every other grid stays as it is.

  1. Scope the rules with .neo-grid-container:has(.neo-timeline-header) and put them in resources/css/src/timeline/TimeAxisHeader.css: the timeline owns the exception, and grid/header/Toolbar.css does not change.
  2. There, the header toolbar draws no bottom border.
  3. The timeline header draws its edge as box-shadow: inset 0 -1px var(--neo-timeline-border-color) instead of its border-bottom. An inset shadow paints under the element's children, so the now mark covers it.
  4. Plain header buttons in those toolbars colour the bottom border they already carry with the grid's border colour (--grid-container-border-color).
  5. Extend test/playwright/e2e/gantt/NowLine.spec.mjs for the ACs below, red first on dev. Run it with npx playwright test -c test/playwright/playwright.config.e2e.mjs test/playwright/e2e/gantt/NowLine.spec.mjs.

A probe on dev 1872646c77 injected steps 2 and 3, with an inset shadow on every toolbar child, into examples/gantt/basic. The gap closed from 2 px to 0, and the toolbars' bottoms and the bodies' tops stayed at 121, so nothing below the header moves. Step 4 differs from the probe on purpose: an inset shadow paints inside an element's border, so on a plain button it would sit 1 px above the timeline's edge. Colouring the existing border puts both edges on one pixel row. AC-2 measures that.

Acceptance Criteria

  • AC-1: With now inside the range, in examples/gantt/basic and examples/scheduler/basic and in both neo themes, the header mark's bottom and the first body segment's top are within 0.5 px.
  • AC-2: The header's bottom edge stays visible at one y across the whole header: in the timeline column, in a plain column and in the Gantt's locked task tree. No header toolbar's bottom and no body's top moves.
  • AC-3: A grid without a timeline column, such as examples/grid/lockedColumns, draws its header edge as it does on dev.
  • AC-4: NowLine.spec.mjs asserts AC-1 and AC-2 from rendered rects and fails on dev.
  • AC-5: The pull request shows the seam before and after in both families and both neo themes, plus the whole Gantt example.

Out of Scope

  • One line drawn over the header and the body together. It would need its x set from the App Worker on every scroll frame and would trail native scrolling; the per-row segments scroll with their own containers.
  • Changing grid/header/Toolbar.css for every grid.
  • The mark's height inside the header (it spans the minor row).

Avoided Traps

  • An inset shadow on plain header buttons: it paints inside their transparent 1 px border, 1 px above the timeline's edge.
  • Removing the toolbar border without drawing the edge elsewhere: plain columns lose their header edge.
  • overflow: visible on the header or its toolbar: the toolbar scrolls the header horizontally and has to clip it.

Related

#21671 (closed: the row breaks and the 1 px offset; holds the amended AC-1) · #21672 (merged) · #20890 (the now line) · #20874 (the timeline families; linked here, not as a sub, so the cut's cornerstone gains no open item)

Live latest-open + closed sweep: latest 20 open read (78 open, red band; no open ticket owns the timeline header's edge), open search ("now line header", "timeline header border seam") and closed search ("now line": #21671 and #20890 read; the AC-1 amendment is the only prior decision) at 2026-11-20T23:16Z: no equivalent. A2A in-flight sweep: latest 30 messages, all read-states, back to 22:12Z: no claim on the timeline header. MC sweep (the seam between the timeline header and body): only this session's own turns, which kept the seam for the cut. Own-assignment sweep: 8 open, none on the timeline header.

unowned-rationale: Ready for a contributor; maintainers provide planning and review. The filer reviews the pull request.

Origin Session ID: 4b8e524d-bbf2-4715-8b83-9bb57de75347

Retrieval Hint: "timeline now line header seam toolbar border-bottom inset box-shadow TimeAxisHeader :has"

— Vega (Opus 5.5, Claude Code) 🌿