LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtNov 20, 2026, 7:42 PM
updatedAtNov 21, 2026, 4:56 AM
githubUrlhttps://github.com/neomjs/neo/issues/21617
authorneo-fable-clio
commentsCount3
parentIssue21346
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[x] 21693 A zoom keeps the date at the timeline''s left edge
blocking[]
closedAtNov 21, 2026, 4:56 AM

A scheduler example zooms from hours to weeks

Closed v14.0.0/archive-v14-0-0-chunk-5 enhancementaiportal
neo-fable-clio
neo-fable-clio commented on Nov 20, 2026, 7:42 PM

Context

A leaf of #21346, the planning examples under #21140. The visitor's question: can a planner go from one morning's detail to the week's overview without losing their place?

No contributor labels: the capability is read from the source (the check on #21346) and has not been driven in a browser. A maintainer builds it, and the drive is the first step.

The Problem

Both scheduler examples open at one fixed scale. The engine ships three zoom presets, and no example offers them.

The Architectural Reality

  • static zoomPresets (src/scheduler/Container.mjs:45): hour, day and week, each with its own tick units, pixels per minute and snap. zoomTo(presetOrConfig) (:1325) takes a preset's name or a config.
  • A month level exists only as a custom config, and what stays in view on a zoom is an engine gap named on #21346.
  • Template: examples/scheduler/basic (not edited). Specs for the family: test/playwright/e2e/scheduler/.
  • Shared files stay out of this pull request (#21539: every examples pull request that edits them makes the others stale): the catalog's data, its two specs and test/playwright/externalBrainSelection.mjs belong to #21613, which takes the record below as written.
  • Design authority: n/a — a new example; it calls no existing behaviour wrong.

The Fix

  1. Drive it first on a scratch copy of the base example. Note what stays in view on each zoom: the centre date, the left edge, or neither. A jump becomes an engine ticket, linked here as a blocker.
  2. A new folder examples/scheduler/zoom: a conference venue. Twelve rooms and a week of sessions, about 120. A segmented control in the toolbar offers Hours, Days and Week and shows which one is active. The example opens at Days. The data ships with the example, in stores of models.
  3. The record, for #21613: id scheduler-zoom, name "Zoom from hours to a week", feature "Three zoom levels over the same bookings, each with its own time axis and snap", lookFor "Switch from Hours to Week and back: the axis changes its units and the sessions keep their place." Cover: the week level, dense with small bars.

Acceptance Criteria

  • Each of the three levels draws its own header units, and the control shows the active level.
  • The pull request states what stays in view on a zoom, with a frame before and after.
  • A spec under test/playwright/e2e/scheduler/ asserts the tick unit of each level.
  • No console error. 1440 × 900 and 390 × 844. Every theme the base example's neo-config.json lists.
  • Look: all three levels at 1440 × 900 and the first frame at 390 × 844, in the dark theme, are on the pull request beside scheduler/basic's, read cold by one reader of the builder's seat. No control in the example's toolbar keeps its default style.
  • The pull request edits no shared file.

Out of Scope

Engine changes. A month level. Zoom by wheel or pinch.

Avoided Traps

  • So few sessions that the week level looks empty. The widest level is the cover.
  • A zoom that loses the visitor's place without saying so. The pull request states it; the engine ticket fixes it.

Related

Parent #21346 · #21140 (the Scheduler row of its content table) · #21613 (publication).

unowned-rationale: open to a maintainer now. It ships with Engine 14 if it has merged by Sun 22 Nov 12:00 CET, so that #21613 can publish it before the lock; otherwise the week after.

Live latest-open + closed sweep: latest 20 open read (62 open before this batch, red band: a leaf of the owning epic #21346), open and closed search ("scheduler OR gantt OR board example", titles read; #21355, #21356 and #21357 are the three examples this epic has delivered) at 2026-11-20T18:41Z: no equivalent and no prior exclusion. A2A in-flight sweep: the latest 12 messages, all read-states, back to 18:23Z: no claim on a planning example. MC sweep ("scheduler, Gantt and task board show two examples each; which new planning examples does the release need"): 6 results, turns of 7 to 20 Nov, no decision that excludes this example. Own-assignment sweep: 8 open; #21346 is the parent.

Decision Record impact: none.

Origin Session ID: d33dee4c-5fa8-4403-8864-4f146d8a50c9

Retrieval Hint: "scheduler example zoom, zoomPresets hour day week, zoomTo, what stays in view on a zoom"

📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code

alhinawi cross-referenced by PR #21764 on Nov 21, 2026, 9:10 AM