Please comment to claim before starting; check current assignees and linked PRs.
Context
Engine 14 (cut on Nov 23, ROADMAP.md) adds a scheduler: Neo.scheduler.Container shows resources as grid rows and bookings as bars on a time axis. Epic #20874 asks for "a runnable example and a guide per family". The example exists, examples/scheduler/basic. The learning section has no page for the scheduler (git ls-tree -r origin/dev learn/, no file named for it, at b6e691cf).
The Problem
A developer, or a coding agent asked for "a room booking view", finds the class and one example. Nothing says which two stores a scheduler needs, how a booking finds its row, or how the time axis is set. Today that is learned from the 147 lines of examples/scheduler/basic/Viewport.mjs and from the JSDoc of each config.
The Architectural Reality
All paths are on dev at b6e691cf.
src/scheduler/Container.mjs: Neo.scheduler.Container, ntype: 'scheduler', extends Neo.grid.Container. The rows are the records of the grid's own store, the resources. The bars are the records of eventStore.
eventStore is a Neo.timeline.store.Events (src/timeline/store/Events.mjs) of Neo.timeline.model.Event records with the fields id, title, description, startDate, endDate, allDay, resourceId, cls and percentDone. resourceIdField (default 'id') names the row field that a booking's resourceId points at.
timeAxis is a Neo.timeline.TimeAxis (src/timeline/TimeAxis.mjs): start, end, tickUnit, tickStep, pxPerMinute, snapMinutes, timeZone, nonWorkingDays, nonWorkingDates.
- Interaction:
barDraggable (default true), editable (default true; it opens Neo.timeline.EventEditor on a double-click or on Enter), minimumDuration (default 15), barRenderer (a hook for a bar's content), resourceColumns, rowHeight (48).
- The pattern for a guide page:
learn/guides/datahandling/Grids.md (frontmatter with seoTitle and seoDescription, then one # title) and its line in learn/tree.json.
Design authority: n/a — calls no existing behavior wrong.
The Fix
One page, learn/guides/datahandling/Scheduler.md, and one line for it in learn/tree.json after the grid pages of guides/datahandling. Seven sections, in this order:
- What a scheduler is here: rows are records, bars are records, and an edit is a record change.
- A minimal scheduler: the smallest working config with a resource store, an
eventStore and a timeAxis.
- The two stores and the link between them (
resourceIdField, resourceId).
- The time axis: range, ticks, snapping, non-working days.
- Moving, resizing and editing a booking (
barDraggable, editable, minimumDuration).
- A bar's content with
barRenderer.
- Where to go next: the example, and the Gantt chart, which extends this class.
Between 150 and 300 lines. Every code block is taken from examples/scheduler/basic or checked against it, so that it runs.
Acceptance Criteria
Out of Scope
The Gantt chart (a guide of its own), the board, server-backed loading, a second example, any change under src/.
Avoided Traps
- A reference dump of every config. The page teaches the dozen a first scheduler needs and leaves the rest to the API docs.
- Code blocks that were never run.
- Hand-mapped arrays. Every view projects the records of a store.
Related
#20874 (parent; the family landed with #20877), #20498 (the standard for examples and the learning section).
unowned-rationale: Ready for a contributor; maintainers provide planning and review. The place under guides/datahandling is a default that the steward of #20874 may change.
Live latest-open + closed sweep: the latest 20 open and an open and closed search (scheduler guide, Gantt guide, timeline example) at 2026-11-15T16:59Z; 54 open, the red band, and no ticket or epic leaf owns this page: #20877 closed without one. A2A in-flight claim sweep: the newest rows to 16:59Z, no claim on this scope. MC sweep: "no guide for the scheduler or the Gantt chart", 5 results, no prior decision. Own-assignment sweep: none overlapping.
Origin Session ID: 3b1cda7a-2168-43fb-a65e-dc792af81989
Retrieval Hint: "scheduler guide learn datahandling eventStore resourceIdField TimeAxis curated issue"
🪢 Mnemosyne (Claude Fable 5.2, Claude Code)
Please comment to claim before starting; check current assignees and linked PRs.
Context
Engine 14 (cut on Nov 23,
ROADMAP.md) adds a scheduler:Neo.scheduler.Containershows resources as grid rows and bookings as bars on a time axis. Epic #20874 asks for "a runnable example and a guide per family". The example exists,examples/scheduler/basic. The learning section has no page for the scheduler (git ls-tree -r origin/dev learn/, no file named for it, atb6e691cf).The Problem
A developer, or a coding agent asked for "a room booking view", finds the class and one example. Nothing says which two stores a scheduler needs, how a booking finds its row, or how the time axis is set. Today that is learned from the 147 lines of
examples/scheduler/basic/Viewport.mjsand from the JSDoc of each config.The Architectural Reality
All paths are on
devatb6e691cf.src/scheduler/Container.mjs:Neo.scheduler.Container,ntype: 'scheduler', extendsNeo.grid.Container. The rows are the records of the grid's ownstore, the resources. The bars are the records ofeventStore.eventStoreis aNeo.timeline.store.Events(src/timeline/store/Events.mjs) ofNeo.timeline.model.Eventrecords with the fieldsid,title,description,startDate,endDate,allDay,resourceId,clsandpercentDone.resourceIdField(default'id') names the row field that a booking'sresourceIdpoints at.timeAxisis aNeo.timeline.TimeAxis(src/timeline/TimeAxis.mjs):start,end,tickUnit,tickStep,pxPerMinute,snapMinutes,timeZone,nonWorkingDays,nonWorkingDates.barDraggable(defaulttrue),editable(defaulttrue; it opensNeo.timeline.EventEditoron a double-click or on Enter),minimumDuration(default 15),barRenderer(a hook for a bar's content),resourceColumns,rowHeight(48).learn/guides/datahandling/Grids.md(frontmatter withseoTitleandseoDescription, then one#title) and its line inlearn/tree.json.Design authority: n/a — calls no existing behavior wrong.The Fix
One page,
learn/guides/datahandling/Scheduler.md, and one line for it inlearn/tree.jsonafter the grid pages ofguides/datahandling. Seven sections, in this order:eventStoreand atimeAxis.resourceIdField,resourceId).barDraggable,editable,minimumDuration).barRenderer.Between 150 and 300 lines. Every code block is taken from
examples/scheduler/basicor checked against it, so that it runs.Acceptance Criteria
learn/guides/datahandling/Scheduler.mdexists withseoTitleandseoDescriptionfrontmatter and the seven sections above.src/schedulerorsrc/timelineon the pull request's base. The pull request lists them with file and line.learn/tree.jsonregisters the page;npm run check-relative-linksand CI'sunitjob pass.Out of Scope
The Gantt chart (a guide of its own), the board, server-backed loading, a second example, any change under
src/.Avoided Traps
Related
#20874 (parent; the family landed with #20877), #20498 (the standard for examples and the learning section).
unowned-rationale: Ready for a contributor; maintainers provide planning and review. The place under
guides/datahandlingis a default that the steward of #20874 may change.Live latest-open + closed sweep: the latest 20 open and an open and closed search (scheduler guide, Gantt guide, timeline example) at 2026-11-15T16:59Z; 54 open, the red band, and no ticket or epic leaf owns this page: #20877 closed without one. A2A in-flight claim sweep: the newest rows to 16:59Z, no claim on this scope. MC sweep: "no guide for the scheduler or the Gantt chart", 5 results, no prior decision. Own-assignment sweep: none overlapping.
Origin Session ID: 3b1cda7a-2168-43fb-a65e-dc792af81989
Retrieval Hint: "scheduler guide learn datahandling eventStore resourceIdField TimeAxis curated issue"
🪢 Mnemosyne (Claude Fable 5.2, Claude Code)