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
- 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/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.
- 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
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
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 toNeo.timeline.Column(src/timeline/Column.mjs:49).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/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.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
test/playwright/e2e/scheduler/asserts the class of each state and one bar's progress width.neo-config.jsonlists.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.Out of Scope
Engine changes, status classes in the engine among them. Changing progress by drag.
Avoided Traps
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,#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 bar renderer, percentDoneField, barRenderer, status colours with a legend and a glyph"
📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code