LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-maryam
createdAtNov 22, 2026, 2:05 PM
updatedAtNov 22, 2026, 4:10 PM
githubUrlhttps://github.com/neomjs/neo/issues/21939
authorneo-fable-clio
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 22, 2026, 4:10 PM

Seven planning examples land in one piece at 960 px

neo-fable-clio
neo-fable-clio commented on Nov 22, 2026, 2:05 PM

Context

An example's cover is the frame a visitor lands on, shot at 960 × 540 (#21140, ruled 22 Nov). neomjs/pages#171 re-shot six planning examples at that size from dev 3766834958. Four frames hold. Two show a header that falls apart, so their pairs cannot become covers, and a visitor with a window of that width sees the same header.

The Problem

Observed in the frames of neomjs/pages#171 at 44babebb17, dark and light alike:

  • examples/gantt/bigData ("Harbour Point build programme"): the header wraps. "Days" stays alone at the right end of the first row, cut by the window's edge; "Weeks" and the theme button drop to a second row. The Days and Weeks switch is torn in two. The frame.
  • examples/gantt/dependencies ("Product launch"): the theme button drops onto a row of its own, between the hint and the link types. The frame.

Widened on 22 Nov, 13:35Z, from the frames of neomjs/pages#175 at d4d621e14f:

  • examples/scheduler/dragAndResize, examples/scheduler/zoom, examples/scheduler/resourceColumns and examples/gantt/cascade: at 960 px the theme button stands alone on a row of its own under the header. The cascade example's frame.
  • examples/gantt/zoom opens on Week, where three bars of its plan are in view and the remaining rows are empty. Its old cover showed Month, where the plan's shape reads. The frame.

The Architectural Reality

  • Both headers are a Toolbar with layout: {ntype: 'hbox', align: 'center', wrap: 'wrap'} (examples/gantt/bigData/Viewport.mjs:157, examples/gantt/dependencies/Viewport.mjs:98). Their items run title, count or status, hint, then the controls; in bigData a spacer with flex: 1 stands before "Days", "Weeks" and the ThemeSwitcher.
  • Their styles are resources/css/src/examples/gantt/bigData/Viewport.css and resources/css/src/examples/gantt/dependencies/Viewport.css; both set flex-wrap: wrap on the toolbar.
  • The ThemeSwitcher joined both rows as their last item with #21706. Inference, not measured: with one item more the row no longer fits 960 px, and its tail wraps.
  • Design authority: "The landing viewport is 960 × 540 at device scale 1⅓ … at 960 the desktop layout holds and the example's own title reads" (#21140, body, the cover rule of 22 Nov).

The Fix

In both examples the header holds at 960 px. Controls that belong together stay together: the two zoom buttons form one group that does not wrap. The theme button stays in the header's first row. The hint is the item that gives way: it wraps under the title or shortens. The four further headers get the same. The zoom example opens on the level that shows its whole plan, set in its own code. Then all seven pairs are re-shot through the landing capture and return on neomjs/pages.

Acceptance Criteria

  • At 960 × 540 the header of examples/gantt/bigData shows "Days" and "Weeks" side by side, and no control is cut by the window's edge.
  • At 960 × 540 the theme button of examples/gantt/dependencies stands in the header's first row.
  • The same holds for examples/scheduler/dragAndResize, examples/scheduler/zoom, examples/scheduler/resourceColumns and examples/gantt/cascade.
  • examples/gantt/zoom opens on the level that shows its whole plan.
  • All six headers still hold at 1440 × 900 and at 390 × 844, in Neo Dark and Neo Light.
  • No console error on load at the three sizes.
  • The look: the first frame of all seven examples at 960 × 540, Neo Dark, as one board on the pull request, read by the design seat.
  • Post-merge: the dark and the light cover of all seven examples, re-shot at 960 × 540 from the fixed frame, are merged on neomjs/pages.

Out of Scope

The other planning examples. The capture report behind neomjs/pages#171 screened 26 of them and holds the list of those that do not yet land well at 960 × 540; this leaf fixes the seven that were offered as covers and did not hold. A shared header component for the planning families.

Avoided Traps

  • Fixing the cover instead of the example. A capture at a wider viewport hides a header that still breaks for a visitor.
  • No wrap at all. A row that never wraps overflows the window at 390 px.

Related

neomjs/pages#171 (the review that found it) · #21140 (the cover rule) · #21346 (the planning families' epic; it holds 31 subs, so this leaf is related to it and not linked as one more) · #21936 and #21933 (paired covers) · #21706 (the theme button in the planning examples).

Live latest-open + closed sweep: checked latest 20 open (84 open, red band: no open ticket owns these two headers, and the owning epic #21346 is past its sub count) + open search ("header wraps", "toolbar wraps", "960 gantt example") + closed search ("example header wrap toolbar narrow width ThemeSwitcher") at 2026-11-22T13:04Z; no equivalent or prior exclusion found. A2A in-flight sweep: all read-states, 12:19Z to 13:05Z: no claim on these headers. MC sweep: "example header wraps at a narrow window: toolbar buttons torn apart across two rows, theme switcher drops onto its own row, 960 px", 5 results, no prior decision found. Own-assignment sweep: 6 open; #21346 is the parent outcome, none owns this fix.

unowned-rationale: open to any maintainer for the Engine 14 cut; no contributor labels, because the examples' lock is Mon 23 Nov 07:00 UTC. Emmy has the capture at hand and is closest to the two frames.

Decision Record impact: none.

Origin Session ID: 0793b41f-8fa2-42ac-b0fd-d217b35c015c

Retrieval Hint: "gantt example header wraps at 960, Days Weeks switch torn apart, theme button on its own row"

📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code · session 0793b41f-8fa2-42ac-b0fd-d217b35c015c