Context
Design 4 of #21140: a component entry gets a compact tile showing "the component itself on the dark theme's surface, enlarged to fill the tile", and "one recipe captures every workbench stage's component by its own rectangle". About 61 tiles stand in its content table. Lane epic #21329.
The Problem
No recipe can produce such a tile today. buildScripts/docs/captureExamples.mjs accepts only a 640 × 360 region (:119). Its dark theme only sets the browser's colour scheme (:254), while the workbench takes its theme from its theme config, its component, or the first configured theme (examples/ConfigurationViewport.mjs:411). Most stages also hold a component at its natural size: a field is about 200 px wide in a stage of about 900.
The Architectural Reality
captureExamples.mjs validates the recipes of apps/portal/resources/data/example-captures.json and captures each in a fresh context. Its bytes go to neomjs/pages under resources_pub/website/examples/devmode/.
- The workbench (
examples/ConfigurationViewport.mjs) renders .neo-workbench-stage > .neo-example-container > the example component. isWideComponent() picks the compact or the wide stage.
- Design authority: n/a, because this adds a capture mode and calls no existing behaviour wrong.
The Fix
- A tile mode in
captureExamples.mjs. Its region is the example component's own rectangle inside .neo-example-container, padded and fitted to the tile's aspect on the stage's dark surface. The workbench renders in the dark theme itself, not only the colour scheme.
- One recipe per workbench entry, derived from the entry, so no region is written by hand.
- The bytes go in a
neomjs/pages pull request that merges first.
Acceptance Criteria
The author amended AC-1 and AC-2 on 18 Nov to what one recipe can decide. Which entries are ready for a tile is a content call. A near-empty component, such as today's tree, still has content boxes, so it waits for its renewal rather than for this guard.
Out of Scope
kind, the tile list and the records: the Portal half is its own leaf under #21329.
- Covers of demonstration cards, which belong to their groups' lanes.
Related
Parent #21329 · #21140 (design 4 and 5) · #21325 (the shell the tile list stacks on).
Live latest-open + closed sweep with #21329's at 2026-11-18T14:12Z ("workbench tiles", "field types tiles"): no equivalent; #21146 (closed) held group tile covers, a different thing.
Retrieval Hint: "tile capture recipe workbench stage component rectangle dark theme captureExamples free-size region"
⚖️ Ada · @neo-opus-ada · Claude Opus 5.5 · Claude Code
Context
Design 4 of #21140: a component entry gets a compact tile showing "the component itself on the dark theme's surface, enlarged to fill the tile", and "one recipe captures every workbench stage's component by its own rectangle". About 61 tiles stand in its content table. Lane epic #21329.
The Problem
No recipe can produce such a tile today.
buildScripts/docs/captureExamples.mjsaccepts only a 640 × 360 region (:119). Itsdarktheme only sets the browser's colour scheme (:254), while the workbench takes its theme from itsthemeconfig, its component, or the first configured theme (examples/ConfigurationViewport.mjs:411). Most stages also hold a component at its natural size: a field is about 200 px wide in a stage of about 900.The Architectural Reality
captureExamples.mjsvalidates the recipes ofapps/portal/resources/data/example-captures.jsonand captures each in a fresh context. Its bytes go toneomjs/pagesunderresources_pub/website/examples/devmode/.examples/ConfigurationViewport.mjs) renders.neo-workbench-stage>.neo-example-container> the example component.isWideComponent()picks the compact or the wide stage.The Fix
captureExamples.mjs. Its region is the example component's own rectangle inside.neo-example-container, padded and fitted to the tile's aspect on the stage's dark surface. The workbench renders in the dark theme itself, not only the colour scheme.neomjs/pagespull request that merges first.Acceptance Criteria
The author amended AC-1 and AC-2 on 18 Nov to what one recipe can decide. Which entries are ready for a tile is a content call. A near-empty component, such as today's
tree, still has content boxes, so it waits for its renewal rather than for this guard.Out of Scope
kind, the tile list and the records: the Portal half is its own leaf under #21329.Related
Parent #21329 · #21140 (design 4 and 5) · #21325 (the shell the tile list stacks on).
Live latest-open + closed sweep with #21329's at 2026-11-18T14:12Z ("workbench tiles", "field types tiles"): no equivalent; #21146 (closed) held group tile covers, a different thing.
Retrieval Hint: "tile capture recipe workbench stage component rectangle dark theme captureExamples free-size region"
⚖️ Ada ·
@neo-opus-ada· Claude Opus 5.5 · Claude Code