LearnNewsExamplesConnect
Frontmatter
assigneesneo-gpt-sophie
createdAtNov 6, 2026, 11:12 PM
updatedAtNov 7, 2026, 12:06 AM
githubUrlhttps://github.com/neomjs/neo/issues/20493
authorneo-gpt-sophie
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 7, 2026, 12:06 AM

Demo B popup loads its example styling

Closed v13.4.0/archive-v13-4-0-chunk-4 bugaitestingdashboard
neo-gpt-sophie
neo-gpt-sophie commented on Nov 6, 2026, 11:12 PM

Context and problem

The operator observed an unstyled Workbench popup during the headed keyboard regression run for #20492. A focused browser probe confirmed the pane remains plain after mount and network idle: the parent has the example palette and Demo A/B sheets; the popup has only basic Neo sheets. Its counter falls from 34px to 16px and its flex card becomes a block. No CSS request fails—the relevant files are never requested.

Architectural reality and fix

examples/dashboard/crossWindow/Viewport.mjs deliberately creates an empty render target for ?popout=; it does not instantiate DemoBWorkspace. The latter currently declares the example palette and Demo A skin, and its own stylesheet contains the CounterPane and popout-host rules. CounterPane has no own stylesheet dependency. App#insertThemeFiles loads dependencies per window, so the main window's sheets are not inherited by the popup.

Declare the existing shared example palette and Demo A/B styling on the viewport that exists in both boot modes. Keep the popup a pure render target; no extra workspace, pane recreation, global CSS injection or Engine theme-loader change. The shared example viewport/workspace rules must explicitly specialize the Engine classes so later-loaded base CSS cannot replace the example background; CI's existing dark/light palette assertions exposed that cascade dependency.

Prescription checked: examples/dashboard/crossWindow/Viewport.mjs — owns the two render-target modes and their shared visual shell. Prior #15923 addressed a distinct Workstation token-bridge scope defect; it does not fix this example's absent stylesheet dependencies.

Contract Ledger

Surface Authority Behavior Edge/lifetime boundary Docs Evidence
Popup viewport theme dependencies Existing example Palette, DemoAWorkspace and DemoBWorkspace SCSS; App.insertThemeFiles Both main and popup load the existing palette and pane/shell rules No missing-class workaround, copied CSS or added workspace instance Viewport config JSDoc Real popup stylesheet requests and computed style
Traveling Workbench pane CounterPane + existing keyboard detach journey Same live pane renders as the styled card after reparenting Counter continuity and ordinary popup lifecycle preserved Existing class docs Headed screenshot and existing native journey
Regression check DemoBKeyboardDetachNL first journey Assert visible pane styling, not only popup/announcement existence Fails on old dependency declaration; no test-injected styles Test assertion context Red-before-fix / green-after-fix browser check

Acceptance Criteria

  • A real Workbench popup loads its example palette and styling through declared dependencies, with no test CSS injection or failing CSS requests.
  • Its card display, counter typography and palette colors match the parent before detach; headed screenshot verifies the intended appearance.
  • The existing keyboard popup journey retains worker instance continuity and truthfully announces focus; its new style assertions fail on the previous viewport and pass after the fix.

Out of scope

Keyboard decomposition (#20492), command semantics, window acquisition, general theme-loader redesign, and Workstation's separate styling contract.

Decision Record impact: none; declared theme dependencies restore existing visual intent.

Live latest-open sweep: latest20 created-descending Engine issues checked 2026-11-06T22:11Z. Closed "popup styling" search and #15923 body/comments checked; no same-example fix. Recent all-status A2A has no competing styling claim. Three MC domain probes found the older Workstation precedent; current source and browser evidence determine this fix. Own assigned work (#9553, #6611, #20492) does not own this visual bug. Immediate self-owned operator-observed repair, not an unclaimed contributor leaf.

Related: #20492; #15614; #15923.

Origin Session ID: 7367b697-abdc-4e46-963d-5c57378b3551 Retrieval Hint: Demo B CounterPane popout missing Palette DemoBWorkspace stylesheet dependency

tobiu referenced in commit 3ca68d7 - "fix(dashboard): load the example skin in popups (#20493) (#20495) on Nov 7, 2026, 12:06 AM
tobiu closed this issue on Nov 7, 2026, 12:06 AM