LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtNov 21, 2026, 2:46 AM
updatedAtNov 21, 2026, 4:40 AM
githubUrlhttps://github.com/neomjs/neo/issues/21703
authorneo-gemini-maryam
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 21, 2026, 4:40 AM

Gantt and Scheduler column headers clash with the timeline header surface

neo-gemini-maryam
neo-gemini-maryam commented on Nov 21, 2026, 2:46 AM

Context

Engine 14 release blocker confirmed by @tobiu on https://neomjs.com/dist/production/examples/gantt/basic/index.html (and previously surfaced as an open question during #21418 / session 5b452f4a, memory 58772d7a, without a ticket ever being filed): in Gantt and Scheduler views, the top-left resource/task column header cell (Task, Studio, etc., and additional locked/unlocked resource or task columns) paints in Neo.grid.header.Button's standalone steel-blue (#5d83a7 in neo-theme-neo-light and neo-theme-light) or deep purple (var(--purple-900) in neo-theme-neo-dark), clashing starkly with the adjacent Neo.timeline.TimeAxisHeader surface (#e9edf2 / #f2f2f2 / #161c26).

The Problem

A Gantt chart or Scheduler has one continuous header bar (Neo.grid.header.Toolbar) split horizontally between its resource/task column headers (Neo.grid.header.Button) on the left and Neo.timeline.TimeAxisHeader on the right:

  1. TimeAxisHeader uses --neo-timeline-header-background (#e9edf2 in neo-light, #f2f2f2 in light, #161c26 in neo-dark, var(--cyber-bg-alt) in cyberpunk) and --neo-timeline-header-color (#1f2937 / #1f2933 / #d6dce6).
  2. Meanwhile, resources/css/src/scheduler/Container.css:3–8 and resources/css/src/gantt/Container.css:87–91 only set .neo-grid-header-button { height: 100%; }, leaving every resource/task Neo.grid.header.Button on the raw data-grid palette (resources/css/theme-neo-light/grid/header/Button.css:2 #5d83a7 with white #fff text and justify-content: flex-end; theme-light/grid/header/Button.css:2 #5d83a7 with justify-content: flex-end; theme-neo-dark/grid/header/Button.css:2 var(--purple-900) with hover var(--purple-500)).
  3. As a result, unless an individual example manually overrides .neo-grid-header-button in its own Viewport.css, the top-left corner (Task in gantt/basic, Studio in scheduler/basic, etc.) renders as an alien steel-blue or purple block beside the neutral timeline header, and in light / neo-light right-aligns (flex-end) single-column labels unless overridden.

The Architectural Reality

  • resources/css/src/scheduler/Container.css:3–8 & resources/css/src/gantt/Container.css:87–91 (plus resources/css/theme-{neo-light,neo-dark,light,dark,cyberpunk}/{scheduler,gantt}/Container.css and timeline/TimeAxisHeader.css): own family-level header bar appearance for Neo.scheduler.Container (.neo-scheduler) and Neo.gantt.Container (.neo-gantt).
  • Non-timeline column headers inside .neo-scheduler and .neo-gantt can be either non-sortable (sortable: false / .neo-sort-hidden) or sortable (e.g. examples/scheduler/resourceColumns, examples/gantt/taskColumns #21655). Sortable column headers still need a subtle, theme-coherent hover state derived from the timeline header palette rather than #6d93b7 steel-blue or --purple-500, while non-sortable column headers (sortable: false) should not look like primary action buttons.
  • Design authority: @tobiu Engine 14 visual release gate on examples/gantt/basic (2026-11-19 memory 58772d7a + 2026-11-21 escalation confirming the mismatched steel-blue top-left corner is a v14 release blocker).

The Fix

  1. Align .neo-scheduler .neo-grid-header-toolbar .neo-grid-header-button:not(.neo-timeline-header) and .neo-gantt .neo-grid-header-toolbar .neo-grid-header-button:not(.neo-timeline-header) (via --grid-header-button-* CSS custom property bindings in resources/css/src/{scheduler,gantt}/Container.css and theme tokens in resources/css/theme-*/{scheduler,gantt}/Container.css or timeline/TimeAxisHeader.css where needed) so that across all five themes (neo-theme-neo-light, neo-theme-neo-dark, neo-theme-light, neo-theme-dark, neo-theme-cyberpunk):
    • Rest background, text color, glyph color, bottom border, and right/locked-region divider match --neo-timeline-header-background, --neo-timeline-header-color, and --neo-timeline-border-color.
    • Default horizontal alignment in Scheduler and Gantt resource/task headers is flex-start (while honoring .neo-header-align-right / .neo-header-align-center column alignment classes from #21273).
    • Hover state on sortable column headers uses a subtle neutral surface step coherent with --neo-timeline-header-background and high-contrast text (>= 4.5:1 WCAG AA), never #6d93b7 steel-blue or --purple-500.
  2. Rebuild themes (node ./buildScripts/build/themes.mjs -f -n -e dev -t all) and verify npm run check-theme-surfaces + check-theme-var-references.mjs.
  3. Add Playwright visual/computed-style assertions verifying that in examples/gantt/basic and examples/scheduler/basic across all five themes, the locked-start header button's rest background matches .neo-timeline-header and text contrast passes.

Decision Record impact: none.

Acceptance Criteria

  • In both Neo.gantt.Container (examples/gantt/basic) and Neo.scheduler.Container (examples/scheduler/basic), non-timeline column header buttons (Task, Studio, and multi-column locked/unlocked headers) share a cohesive header surface and border seam with .neo-timeline-header across all five shipped themes (neo-theme-neo-light, neo-theme-neo-dark, neo-theme-light, neo-theme-dark, neo-theme-cyberpunk) — no #5d83a7 steel-blue or --purple-900 mismatch.
  • Left-aligned default (justify-content: flex-start) applies to Gantt and Scheduler column headers in light and neo-light while preserving .neo-header-align-right and .neo-header-align-center overrides.
  • Sortable column headers in Gantt and Scheduler retain a subtle, high-contrast (>= 4.5:1) hover state coherent with each theme's timeline header palette.
  • Automated Playwright spec asserts header surface parity across all five themes, and PR includes before/after screenshots of examples/gantt/basic and examples/scheduler/basic in neo-theme-neo-light and neo-theme-neo-dark.

Out of Scope

  • Changing standalone Neo.grid.Container header colors outside .neo-scheduler and .neo-gantt.
  • Neutralizing TimeAxisHeader whole-axis :hover (tracked in the sibling TimeAxisHeader hover ticket).

Avoided Traps

  • Putting selector rules inside resources/css/theme-*/... token-only files, which fails check-theme-value-files.mjs; keep selectors in resources/css/src/... and only --* token declarations in resources/css/theme-*/....
  • Overriding justify-content with high specificity that breaks .neo-header-align-right numeric columns in gantt/taskColumns or scheduler/resourceColumns — bind --grid-header-button-justify-content: flex-start instead!

Related

  • Parent epic context: #20874 · #21140 · Prior theme leaves: #20879 · #20932
  • Multi-column consumers to verify unaffected: #21619 (scheduler/resourceColumns) · #21626 (gantt/taskColumns)

unowned-rationale: Engine 14 release blocker (curated newcomer labels omitted per urgent cut scope); double-checked per @tobiu (2026-11-19 memory 58772d7a had noted the issue without filing a ticket) and open for immediate maintainer pickup.

Live latest-open + closed sweep: checked latest 25 open (79 open total, red band — operator-confirmed missing v14 release-blocker ticket) + open and closed search (neo-grid-header-button, gantt header, scheduler header, header button blue, Out of Scope / Avoided Traps read on #20879, #20932, #21273, #21655) + @neo-opus-ada & @neo-gemini-julia recent filings at 2026-11-21T01:43Z; confirmed no ticket existed. A2A in-flight sweep: scanned latest 30 messages across all read states (00:58Z–01:43Z); zero competing claim on Gantt/Scheduler column header colors. MC sweep: query_raw_memories (21418 21296 Gantt header design question engine theme follow-up blue, surfaced 58772d7a confirming unfiled status) + ask_knowledge_base (type='ticket', 5 refs). Own-assignment sweep: 1 open (#21621, PR #21694), disjoint.

Origin Session ID: 59ca0d8c-dfdf-4d07-aefe-8ec5c658a398

Retrieval Hint: "gantt scheduler top-left Task Studio column header steel-blue #5d83a7 purple-900 mismatch TimeAxisHeader surface"