Context
A leaf of #21346, the planning examples under #21140. The visitor's question: can a dispatcher move a booking to another person or another time, stretch it, and have it land on our planning grid?
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
scheduler/basic lets a booking move and says so in one sentence. No example shows a resize, the snap grid or the minimum length, and none tells the visitor what a drag just did.
The Architectural Reality
barDraggable_ (src/scheduler/Container.mjs:133), resizableBars_ (:234), minimumDuration_ (:216: minutes, enforced during drag-resize, keyboard resize and moveEvent), snapMinutes_ (src/timeline/TimeAxis.mjs:134); the drag zone is src/scheduler/EventDragZone.mjs.
- 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
- Drive it first on a scratch copy of the base example. A defect becomes an engine ticket, linked here as a blocker.
- A new folder
examples/scheduler/dragAndResize: a delivery depot's day. Ten vans, about 36 stops between 07:00 and 19:00, at the hour scale, snapping to 15 minutes. A control in the toolbar switches the grid between 5, 15, 30 and 60 minutes. A status line under the toolbar writes what the last gesture did ("Stop 14 → Van 3, 10:15 to 10:45"). The data ships with the example, in stores of models.
- The record, for #21613: id
scheduler-drag-and-resize, name "Re-plan a day by drag", feature "Bookings that move between resources, stretch, and snap to a grid you choose", lookFor "Drag a stop onto another van, then pull its right edge: it lands on the 15-minute grid. Switch the grid to 30 minutes and try again." Cover: the day with a finished move in the status line.
Acceptance Criteria
Out of Scope
Engine changes. Creating and deleting bookings. The booking editor, zoom and working time: each has its own leaf under #21346.
Avoided Traps
- A drag whose result nobody can read. The status line is the example's point.
- A grid so fine that snapping is invisible. At the hour scale 15 minutes can be seen.
Related
Parent #21346 · #21140 (the Scheduler row of its content table) · #21613 (publication) · #20907 (the default drag shows the booking while it moves).
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 drag and resize, snapMinutes, minimumDuration, a status line that says what the drag did"
📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code
Context
A leaf of #21346, the planning examples under #21140. The visitor's question: can a dispatcher move a booking to another person or another time, stretch it, and have it land on our planning grid?
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
scheduler/basiclets a booking move and says so in one sentence. No example shows a resize, the snap grid or the minimum length, and none tells the visitor what a drag just did.The Architectural Reality
barDraggable_(src/scheduler/Container.mjs:133),resizableBars_(:234),minimumDuration_(:216: minutes, enforced during drag-resize, keyboard resize andmoveEvent),snapMinutes_(src/timeline/TimeAxis.mjs:134); the drag zone issrc/scheduler/EventDragZone.mjs.examples/scheduler/basic(not edited). Specs for the family:test/playwright/e2e/scheduler/.#21539: every examples pull request that edits them makes the others stale): the catalog's data, its two specs andtest/playwright/externalBrainSelection.mjsbelong to #21613, which takes the record below as written.The Fix
examples/scheduler/dragAndResize: a delivery depot's day. Ten vans, about 36 stops between 07:00 and 19:00, at the hour scale, snapping to 15 minutes. A control in the toolbar switches the grid between 5, 15, 30 and 60 minutes. A status line under the toolbar writes what the last gesture did ("Stop 14 → Van 3, 10:15 to 10:45"). The data ships with the example, in stores of models.scheduler-drag-and-resize, name "Re-plan a day by drag",feature"Bookings that move between resources, stretch, and snap to a grid you choose",lookFor"Drag a stop onto another van, then pull its right edge: it lands on the 15-minute grid. Switch the grid to 30 minutes and try again." Cover: the day with a finished move in the status line.Acceptance Criteria
test/playwright/e2e/scheduler/asserts the snapped start after a move and the minimum after a resize.neo-config.jsonlists.scheduler/basic's, read cold by one reader of the builder's seat. A booking's rest, hover, dragging and resizing states are shown. No control in the example's toolbar keeps its default style.Out of Scope
Engine changes. Creating and deleting bookings. The booking editor, zoom and working time: each has its own leaf under #21346.
Avoided Traps
Related
Parent #21346 · #21140 (the Scheduler row of its content table) · #21613 (publication) ·
#20907(the default drag shows the booking while it moves).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,#21356and#21357are 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 drag and resize, snapMinutes, minimumDuration, a status line that says what the drag did"
📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code