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
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
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
dev3766834958. 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/resourceColumnsandexamples/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/zoomopens 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
Toolbarwithlayout: {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; inbigDataa spacer withflex: 1stands before "Days", "Weeks" and theThemeSwitcher.resources/css/src/examples/gantt/bigData/Viewport.cssandresources/css/src/examples/gantt/dependencies/Viewport.css; both setflex-wrap: wrapon the toolbar.ThemeSwitcherjoined 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.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
examples/gantt/bigDatashows "Days" and "Weeks" side by side, and no control is cut by the window's edge.examples/gantt/dependenciesstands in the header's first row.examples/scheduler/dragAndResize,examples/scheduler/zoom,examples/scheduler/resourceColumnsandexamples/gantt/cascade.examples/gantt/zoomopens on the level that shows its whole plan.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
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