LearnNewsExamplesConnect
Frontmatter
assignees[]
createdAtNov 15, 2026, 6:01 PM
updatedAtNov 16, 2026, 3:02 PM
githubUrlhttps://github.com/neomjs/neo/issues/21039
authorneo-fable-mnemosyne
commentsCount0
parentIssue20874
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 16, 2026, 3:02 PM
milestonev14.0

The timeline column has no runnable example outside a scheduler

Closed v14.0.0/archive-v14-0-0-chunk-2 enhancementhelp wantedgood first issueaigrid
neo-fable-mnemosyne
neo-fable-mnemosyne commented on Nov 15, 2026, 6:01 PM

Please comment to claim before starting; check current assignees and linked PRs.

Context

Engine 14 (cut on Nov 23, ROADMAP.md) adds four families on one time axis. Epic #20874 gives each of them "one example in the examples index". The scheduler and the Gantt chart have one (examples/scheduler/basic, examples/gantt/basic). The timeline family, which both are built on, has none: there is no examples/timeline, and no file under examples/ imports from src/timeline (checked on dev at b6e691cf).

The Problem

The timeline column is the piece a developer uses to put bars on a time axis into a grid they already have, without adopting a scheduler. Nobody can see that today. The only place that mounts the column on its own is a unit spec.

The Architectural Reality

All paths are on dev at b6e691cf.

  • src/timeline/Column.mjs: Neo.timeline.Column, a grid column (type: 'timeline'). The type is not in Neo.grid.Container.columnTypes (src/grid/Container.mjs), so a grid takes the column by module, not by type name.
  • test/playwright/unit/timeline/Column.spec.mjs:250-270 is the working shape: a plain Neo.grid.Container whose columns hold one ordinary column and {module: TimelineColumn, ntype: 'timeline-header', dataField: 'timeline', text: 'Schedule', timeAxis: axis, eventStore}.
  • src/timeline/TimeAxis.mjs: Neo.timeline.TimeAxis with start, end, tickUnit, tickStep, pxPerMinute, snapMinutes, nonWorkingDays.
  • src/timeline/store/Events.mjs and src/timeline/model/Event.mjs: the interval records, with id, title, startDate, endDate, resourceId among their fields. resourceId points at a row of the grid's store.
  • An example is four files, as in examples/scheduler/basic: app.mjs, index.html, neo-config.json, Viewport.mjs.
  • The examples index is apps/portal/resources/data/examples.json. The entries gantt-basic and scheduler-basic show the shape: id, image, name, sourceUrl, the four urls, hiddenIn, family ("calendar" for both), component, feature, lookFor.
  • test/playwright/unit/apps/portal/view/examples/TabContainerController.spec.mjs pins the index: 75 entries (:81, :276-289) and the full order of ids (:398).
  • Design authority: n/a — calls no existing behavior wrong.

The Fix

  1. examples/timeline/basic: a plain grid with one name column and one timeline column. Six to ten rows, each with one to three intervals inside one day, from an inline resource store and an inline Neo.timeline.store.Events.
  2. One control that changes a record, for example a button that shifts the selected row's first interval by one hour through record.set(). The bar follows, because the view projects records.
  3. One entry timeline-basic in apps/portal/resources/data/examples.json next to the two existing ones, with a feature and a lookFor sentence that say what to try.
  4. The index spec follows: the count becomes 76 and the id joins the ordered list.

Styling only if the example needs it, and then as SCSS in the same place the two sibling examples use.

Acceptance Criteria

  • AC-1: examples/timeline/basic/index.html opens in development mode and shows a grid whose timeline column draws one bar per interval at the position of its dates. The pull request shows a screenshot.
  • AC-2: the control changes a record and the bar moves without a reload. The pull request shows the frame before and after.
  • AC-3: the example imports nothing from src/scheduler or src/gantt.
  • AC-4: examples.json carries timeline-basic, and npm run test-unit -- test/playwright/unit/apps/portal/view/examples/TabContainerController.spec.mjs passes with the count and the order updated.
  • AC-5: CI is green, check-examples-body-only included.

Out of Scope

Dragging or editing bars in the plain grid (the scheduler adds that); a guide page for the timeline (it follows once this example exists); any change under src/. If the column cannot be mounted as the spec mounts it, that is a finding for a ticket of its own, linked from the pull request, not something to patch here.

Avoided Traps

  • Reaching for Neo.scheduler.Container. The point is the column in an ordinary grid.
  • type: 'timeline' in the column config. The grid does not know that type name; pass the module.
  • Rows as hand-mapped arrays. Rows and intervals are records of two stores.

Related

#20874 (parent; the family landed with #20876), #20498 (the standard for example overviews), the sibling guide issues for the scheduler and the Gantt chart filed the same hour.

unowned-rationale: Ready for a contributor; maintainers provide planning and review.

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 example: #20876 closed without one. A2A in-flight claim sweep: the newest rows to 16:59Z, no claim on this scope. MC sweep: "the timeline column has no example", 5 results, no prior decision. Own-assignment sweep: none overlapping.

Origin Session ID: 3b1cda7a-2168-43fb-a65e-dc792af81989

Retrieval Hint: "timeline column example plain grid TimelineColumn module examples.json catalog count curated issue"

🪢 Mnemosyne (Claude Fable 5.2, Claude Code)

mrdeyroy cross-referenced by PR #21044 on Nov 15, 2026, 7:45 PM
mrdeyroy referenced in commit 4e8d4bd - "feat(timeline): add runnable basic timeline example (#21039)" on Nov 16, 2026, 6:14 AM
mrdeyroy referenced in commit fef1044 - "feat(timeline): add runnable basic timeline example (#21039)" on Nov 16, 2026, 9:51 AM