LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-maryam
createdAtNov 16, 2026, 3:26 PM
updatedAtNov 19, 2026, 5:00 AM
githubUrlhttps://github.com/neomjs/neo/issues/21144
authorneo-fable-clio
commentsCount2
parentIssue21140
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[x] 21143 The examples'' config viewport becomes a workbench: stage, inspector, reset
blocking[ ] 21411 A workbench example keeps its changed configs in the URL
closedAtNov 19, 2026, 5:00 AM

A workbench example shows its component as code; then its state lives in the URL

Closed v14.0.0/archive-v14-0-0-chunk-3 enhancementdesignai
neo-fable-clio
neo-fable-clio commented on Nov 16, 2026, 3:26 PM

Context

The second slice of the examples workbench. The operator's direction of 16 Nov 2026 (relayed) asks for something like a storybook for Neo; Discussion #20744 described what the config panel could become and has had no comment since 10 Nov. A leaf of #21140.

Re-cut on 18 Nov 2026. The first slice is on dev (#21143, pull request #21154: stage, inspector, reset). On 18 Nov the operator relayed a developer's read of the examples: a kitchen sink is a reference, and the code beside a running example is its major part, because it shows how the thing on screen is made. In the target of #21140 the 61 workbench entries publish as tiles, so this slice decides whether a tile opens a toy or a reference. The code view therefore comes first and is in Engine 14's scope; the state in the URL follows after the cut.

The Problem

In a workbench example a visitor changes configs and finds a state worth showing. Nothing shows the config object that produced it, a reload starts over, and a link cannot carry it. A developer cannot see how the component on the stage is written, an evaluator cannot send a colleague "this is the button we want", and a coding agent cannot read the configs it would have to write.

The Architectural Reality

  • examples/ConfigurationViewport.mjs, after its first slice: the configs an example exposes are known to the inspector.
  • The engine's config system reports a component's changed configs; a route hash is available to every example.
  • Design authority: the operator's direction of 16 Nov; the target in #21140's body; Discussion #20744 (ungraduated, an input).

The Fix

  1. The code view, in Engine 14's scope. Beside the stage and the inspector a view shows the component as code: its module and the config object as changed, valid Neo config, with one action that copies it. It follows the inspector live. It works for every example of the workbench without code of its own.
  2. State in the URL, after the cut. A changed config is reflected in the example's URL and restored on load; the reset clears it.

The look is on the pull request, as for every leaf of #21140: the first frame at 1440×900 and 390×844 with one config changed, read cold by the builder's seat. The operator reads at the merge gate.

Acceptance Criteria

Code view:

  • The code view shows the component's module and only the configs that differ from the example's initial state, as valid Neo config.
  • It updates when the inspector changes a config, and the reset empties it.
  • One action copies the text; the copied text matches the component's configs.
  • Works in every example of the workbench; exceptions are listed with the reason.
  • At 390×844 the code view does not push the stage out of the first screen.
  • e2e: change a config, the code shows it; copy, the text matches.
  • Look: released and changed on the pull request, one cold reader of the builder's seat.

State in the URL (after the cut):

  • Changing a config updates the URL; opening that URL restores the state; the reset clears it.
  • e2e: change, reload, same state.

Out of Scope

Named here so they are not lost; each becomes a leaf of #21140 when this one lands: the events an interaction fires, a size switch, a config's description and type in the inspector. The same holds for the options of Discussion #20744 that no slice has decided: controls generated from the class (B), curated by the catalog record (C), and one read and write path for a human and an agent (E), with its open questions on where a config's type and description come from at runtime and whether the playground becomes an engine class. Also out: an example page of its own that runs in place (named in #21140, "After the cut"), the source files of a whole demonstration, Storybook (#5010).

Avoided Traps

  • State in local storage. It cannot be sent to a colleague.
  • A generated example file. The config object is the unit a reader copies.
  • The example's own source file as the code view. It shows the workbench's wiring, not the component a developer wants to write.

Related

Parent #21140 (the target: design 4, the tiles) · Discussion #20744 · #21143 and pull request #21154 (the first slice, merged 17 Nov).

unowned-rationale: the code view is open now, for a maintainer or for the contributor who built the first slice. It is in the cut if its pull request passes by the lock, Sun 22 Nov 18:00 CET; otherwise it lands after it. The state in the URL waits for the cut.

Live latest-open + closed sweep: with the sweep of #21140 (latest 20 open, 61 open, red band) and searches across all states ("ConfigurationViewport", "storybook") at 2026-11-16T14:38Z: no equivalent. A2A in-flight sweep: latest 30 messages, all read-states, at 14:33Z: no claim. MC sweep: the query of #21140, no prior decision beyond Discussion #20744. Own-assignment sweep: 7 open; #21140 is the parent. Structure-map: N/A.

Body refreshed 2026-11-18 by its author: the order of the two parts, the look on the pull request, the criteria split.

Decision Record impact: none.

Origin Session ID: d78141ab-63aa-4916-a1b6-c5a8a05701a1

Retrieval Hint: "workbench second slice, code view, config as code, example state in the URL, storybook for neo, code beside the example"

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