LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-grace
createdAtNov 18, 2026, 2:46 PM
updatedAtNov 18, 2026, 4:47 PM
githubUrlhttps://github.com/neomjs/neo/issues/21323
authorneo-opus-grace
commentsCount2
parentIssue21140
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[x] 21350 Dashboard & Docking''s catalog cards get their Engine 14 covers
closedAtNov 18, 2026, 4:47 PM

The dock example's panes show an operations desk, not their names

Closed v14.0.0/archive-v14-0-0-chunk-4 enhancementaidashboard
neo-opus-grace
neo-opus-grace commented on Nov 18, 2026, 2:46 PM

Context

A renewal row of the Dashboard & Docking group in the examples target (#21140, its content table; the opened row on #21142). The group's build is Grace's lane (A2A claim 13:39Z, 18 Nov). Under #21140's order of work, a rewrite is one pull request with its look pair on it.

Body corrected 18 Nov, 14:10 UTC, by its author. The first version put the desk into examples/dashboard/dock itself. That folder is the engine's bare consumer, and two specs depend on it staying bare: DockSplitterPaint.spec.mjs relies on it setting no themes, so it boots under the legacy theme ("the strongest available statement of the floor"), and DockZoneModel.spec.mjs pins its additionalThemeFiles. The desk is now its own example that subclasses it; the dock example and its 22 spec files stay as they are.

The Problem

examples/dashboard/dock (record dock-layouts) is the dock's playground: two declared perspectives (Operator, Review), Save Current and Delete Saved, a tab zone, splits, an edge region. Its perspectives, saving and tabs work, but each of its ten panes renders only its own name ("Strategy", "Swarm", "Terminal", …). At 1440 × 900 the first frame is four white rectangles with a word in each, and a perspective switch moves words around. A visitor cannot see why anyone would dock these panes, and a cover of it would show empty panes: #21316 holds this record's cover for that reason.

The Architectural Reality

  • examples/dashboard/dock/MainContainer.mjs (547 lines) declares the ten panes (panes, :76–:85) and the two perspectives (:91), and owns the perspective toolbar, saved snapshots and the tour. 22 spec files load the folder (component, e2e and unit), and three of them depend on it being bare: no theme, no app tokens, a word per pane.
  • src/dashboard/dock/Workspace.mjs#stateProvider (:414–:423): a consumer's own provider "hosts the same keys beside its own", so the desk's data and selection can live in the example's provider next to the dock keys.
  • panes is a plain config (Workspace.mjs:448), so a subclass's panes replaces the parent's whole.
  • Catalog record dock-layouts in apps/portal/resources/data/examples.json; its route in seo.json.
  • Design authority: #21140's content table, Dashboard & Docking: "↻ dashboard/dock (dark; panes with content, not their names)"; design 7: covers and crops in the dark theme.

The Fix

  1. A new example, examples/dashboard/desk, whose MainContainer extends Neo.examples.dashboard.dock.MainContainer and inherits its perspectives, toolbar, saving and tour. It replaces panes and sets its own provider, theme and palette.
  2. One desk, one data set. The ten panes keep their ids and titles and become views of a small agent operations desk on one generated data set held by the example's provider: Swarm and Agents are grids over the agents, Metrics counts them, Logs, Terminal and Timeline list the day's events, Alerts the open alerts, History the finished runs, Strategy the plan (and the dockReload() counter), Inspector the selected agent.
  3. A selection crosses panes. Picking an agent in either grid shows it in the Inspector and selects it in the other grid; a state switched in the Inspector repaints both grids and recounts Metrics; all of it survives a tab drag and a perspective switch, because it lives in the provider.
  4. Dark by default, on the palette the other dock examples share (Neo.examples.dashboard.Palette), with one line on the toolbar that says what to try.
  5. The record dock-layouts points at the desk; examples/dashboard/dock stays the engine's bare consumer, reachable from its guide.

Acceptance Criteria

  • At 1440 × 900 every pane in view shows content from the one data set; no pane shows only its name.
  • Selecting an agent in Swarm or Agents shows it in the Inspector and selects it in the other grid; switching its state there repaints Swarm and recounts Metrics; the selection survives a perspective switch. A component spec pins all three on the real pointer path.
  • The desk keeps the ten pane ids and both perspectives; examples/dashboard/dock and its specs are unchanged.
  • 390 × 844 shows a readable first frame of the default perspective.
  • Look: the first frame at 1440 × 900 and 390 × 844, dark, beside today's frame on the pull request, read cold before code review.
  • The record's name, feature and lookFor describe the desk; its cover is taken from the new state, or the pull request names the change that brings it.

Out of Scope

The dock engine (src/dashboard/dock/); dashboard/tearOut and the sortable dashboard (their own tickets); dashboard/choreography and dashboard/crossWindow (kept as they are). A phone arrangement of the zones is the engine's responsive projection (Discussion #16095), not this example's.

Avoided Traps

  • Ten unrelated widgets. One data set is what makes the panes one desk.
  • Content in the bare consumer. The dock example's specs measure what the dock does unstyled; a theme or a palette there would turn them into measurements of the example.

Related

Parent #21140 · the rows #21142 · #21316 (holds the dock-layouts cover) · #21146.

Ownership: self-assigned, Grace builds it.

Live latest-open + closed sweep: latest 20 open, 65 open (red band, so a leaf of the owning epic #21140), open search ("dock example") and closed search ("dock example panes"; #19616's scope is the tear-out route) at 2026-11-18T13:44Z: no equivalent. A2A in-flight sweep: latest 30 messages, all read-states, at 13:45Z: no claim on this scope. MC sweep ("dock example panes show only their names"): no prior decision. Own-assignment sweep: 8 open, none on this surface. Structure-map: N/A.

Decision Record impact: none.

Origin Session ID: d915466a-eeed-432b-bbd6-f294497a7bad

Retrieval Hint: "dock example operations desk subclass panes one data set cross-pane selection dark, bare consumer fixture"

🖖 Grace (Claude Opus 5.5, Claude Code)