Context
Leaf of #20874. It adds the shared base of the scheduler and the Gantt, and later of the calendar's week view.
The Problem
The engine has no shared way to map time to pixels. The calendar carries its own scale inside its views, and any new time-based view would write a third. Overlap packing and time-aware dragging exist nowhere as reusable parts.
The Architectural Reality
- The time axis is a plain
Neo.core.Base scale with no DOM reads: start, end, tick unit and step, snapping, pixels per minute, and a working calendar (non-working weekdays and dates) with working-time arithmetic.
- The timeline column plugs into the multi-body grid (
src/grid); the header renders the axis' ticks.
- The drag zone extends
Neo.draggable.DragZone and commits a move or a resize as one record.set.
- The event model and store are
data.Model and data.Store (id, startDate, endDate, title, description, allDay, resourceId), sorted by start.
- Placement inside
src/timeline (for example model, store, draggable, util subfolders as in src/calendar) is decided by the structural pre-flight in the pull request.
- Styles under
resources/scss/src/timeline plus theme folders; this leaf brings the two neo themes.
- Guards: file size (1,000 code lines), ticket archaeology, class-module-scope lint, JSDoc with
@summary.
The Fix
Add the family under Neo.timeline: the time axis, its header, the timeline column, an interval packer (lanes for overlapping intervals), an event drag zone (move and resize, horizontal or vertical), an event editor, and the event model and store. The implementation exists and lands in one pull request with its unit specs and its styles.
Contract Ledger
| Target surface |
Source of authority |
Proposed behaviour |
Fallback |
Docs |
Evidence |
Neo.timeline.* (new) |
this ticket |
one axis converts dates and offsets, snaps and clamps; the packer assigns lanes without mutating its input; a drop is one record change; the working calendar skips non-working days when asked |
none: the family is new |
JSDoc; the guide is a later leaf |
the family's unit specs |
Acceptance Criteria
Out of Scope
A view of its own: the scheduler and the Gantt are separate leaves. The calendar's move onto this axis. The three other themes.
Related
#20874 (parent), #20667.
Ownership: unowned-rationale: the implementation is contributed by the maintainers in one pull request and needs a reviewer from another model family. Not labelled for first-time contributors for that reason.
Live latest-open + closed sweep: the latest 20 open and a closed search (timeline, time axis) at 2026-11-13T14:38Z; no equivalent. A2A in-flight claim sweep: no claim on this scope. MC and own-assignment sweeps: as attested on #20874.
Origin Session ID: 85bbcada-122e-4cc1-a480-4b9f7f0d862c
Retrieval Hint: "Neo.timeline family time axis interval packer event drag zone working calendar"
📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code · session 85bbcada-122e-4cc1-a480-4b9f7f0d862c
Context
Leaf of #20874. It adds the shared base of the scheduler and the Gantt, and later of the calendar's week view.
The Problem
The engine has no shared way to map time to pixels. The calendar carries its own scale inside its views, and any new time-based view would write a third. Overlap packing and time-aware dragging exist nowhere as reusable parts.
The Architectural Reality
Neo.core.Basescale with no DOM reads: start, end, tick unit and step, snapping, pixels per minute, and a working calendar (non-working weekdays and dates) with working-time arithmetic.src/grid); the header renders the axis' ticks.Neo.draggable.DragZoneand commits a move or a resize as onerecord.set.data.Modelanddata.Store(id,startDate,endDate,title,description,allDay,resourceId), sorted by start.src/timeline(for examplemodel,store,draggable,utilsubfolders as insrc/calendar) is decided by the structural pre-flight in the pull request.resources/scss/src/timelineplus theme folders; this leaf brings the two neo themes.@summary.The Fix
Add the family under
Neo.timeline: the time axis, its header, the timeline column, an interval packer (lanes for overlapping intervals), an event drag zone (move and resize, horizontal or vertical), an event editor, and the event model and store. The implementation exists and lands in one pull request with its unit specs and its styles.Contract Ledger
Neo.timeline.*(new)Acceptance Criteria
Neo.timelineand appear in the output ofnpm run generate-docs-json.highlightedRecordIds. The class and the data attribute it renders are named for that state (highlighted) and for no particular analysis; which bars are marked is the business of the caller.theme-neo-darkandtheme-neo-light.Out of Scope
A view of its own: the scheduler and the Gantt are separate leaves. The calendar's move onto this axis. The three other themes.
Related
#20874 (parent), #20667.
Ownership: unowned-rationale: the implementation is contributed by the maintainers in one pull request and needs a reviewer from another model family. Not labelled for first-time contributors for that reason.
Live latest-open + closed sweep: the latest 20 open and a closed search (timeline, time axis) at 2026-11-13T14:38Z; no equivalent. A2A in-flight claim sweep: no claim on this scope. MC and own-assignment sweeps: as attested on #20874.
Origin Session ID: 85bbcada-122e-4cc1-a480-4b9f7f0d862c
Retrieval Hint: "Neo.timeline family time axis interval packer event drag zone working calendar"
📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code · session 85bbcada-122e-4cc1-a480-4b9f7f0d862c