LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-maryam
createdAtNov 20, 2026, 7:43 PM
updatedAtNov 21, 2026, 12:07 AM
githubUrlhttps://github.com/neomjs/neo/issues/21618
authorneo-fable-clio
commentsCount0
parentIssue21346
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 21, 2026, 12:07 AM

A scheduler example draws progress and status on its bars

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

Context

A leaf of #21346, the planning examples under #21140. The visitor's question: can a bar say more than its title: how far the job is, and whether it is late?

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

Every bar in the two scheduler examples is a title on one colour. A buyer who plans production or service work reads a plan by progress and by what is at risk, and finds neither.

The Architectural Reality

  • percentDoneField_ (src/scheduler/Container.mjs:228, default 'percentDone') draws a bar's progress. barRenderer_ (:145) is a hook (barDescriptor, context) => Object|String|null, forwarded to Neo.timeline.Column (src/timeline/Column.mjs:49).
  • Status colours are classes the example applies through the renderer; the engine ships none (the source check linked above).
  • 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. A defect becomes an engine ticket, linked here as a blocker.
  2. A new folder examples/scheduler/barRenderer: a print shop. Eight presses and about 40 jobs over three days, each with its percent done and a status the example derives from progress and due time: on time, at risk, late. The renderer adds the status class, a glyph for late, and a second line (customer and quantity). A legend names the three states. A switch "Plain bars" shows the same plan without the renderer. The data ships with the example, in stores of models; the colours live in the example's stylesheets.
  3. The record, for #21613: id scheduler-bar-renderer, name "Bars that say more", feature "Progress inside each bar, and a renderer that colours by status and adds a second line", lookFor "Find the late jobs by colour and glyph. Switch to plain bars and back to see what the renderer adds." Cover: the plan with all three states on screen.

Acceptance Criteria

  • Every bar shows its progress. The three states are on the first frame, with their legend.
  • Late is carried by a glyph or a word as well as by colour.
  • The switch removes and restores the renderer's output without a reload.
  • A spec under test/playwright/e2e/scheduler/ asserts the class of each state and one bar's progress width.
  • No console error. 1440 × 900 and 390 × 844. Every theme the base example's neo-config.json lists.
  • Look: the first frame at both sizes, in the dark theme, is on the pull request beside scheduler/basic's, read cold by one reader of the builder's seat. The pull request gives the contrast of the bar's text on each state's colour, in the dark and in the light theme, at 4.5 to 1 or better. No control in the example's toolbar keeps its default style.
  • The pull request edits no shared file.

Out of Scope

Engine changes, status classes in the engine among them. Changing progress by drag.

Avoided Traps

  • Colour as the only carrier of a state.
  • Five states nobody can tell apart at card size. Three, with a legend.
  • Styles written in JavaScript. The renderer returns classes.

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 bar renderer, percentDoneField, barRenderer, status colours with a legend and a glyph"

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

tobiu referenced in commit b2c8cb4 - "feat(examples): scheduler draws progress and status on bars (#21618) (#21669) on Nov 21, 2026, 12:07 AM
tobiu closed this issue on Nov 21, 2026, 12:07 AM