Rollout leaf 2 of #21704 (Engine 14 release blocker, @tobiu2026-11-21): covers all non-workbench standalone examples across the Grid, Table, Dashboard, Desktop, Tab, Toolbar, Menu, List, and Layout groups that currently lack a theme switcher (and aligns multi-theme dropdown support where >2 themes are configured, such as examples/menu/context's 4 themes).
The Problem
While 13examples/grid/* and 2examples/table* standalone apps already expose a binary light/dark toggle, 19 standalone examples across these UI container/data groups still have zero theme switcher UI:
Prerequisite #21705 provides Neo.button.ThemeSwitcher (ntype: 'theme-switcher'), automatically rendering a 1-click circular-reveal toggle for 2-theme apps and a circular-reveal dropdown for 4-theme examples/menu/context.
Multi-window examples (examples/dashboard/crossWindow, examples/dashboard/tearOut) should propagate theme updates across open secondary windows (or follow their root state provider / Neo.Main window theme pattern) so torn-out panes do not stay stranded in the old theme.
Filter target scope against apps/portal/resources/data/examples.json + standalone user-facing demos (excluding test-only internal witnesses like crossWindowWitness if unpublished).
Mount Neo.button.ThemeSwitcher in every published / user-facing non-ConfigurationViewport example in the grid, table*, dashboard, desktop, menu, tab*, toolbar, list, and layout directories that currently lacks a theme switcher (upgrading examples/tabs/neo-config.json to 2+ themes if published).
Ensure ?theme= URL boot parameter support is wired in app.mjs where missing so deep-linking and ThemeSwitcher initial state agree.
Verify 1440 × 900 and 390 × 844 layout fit and zero console/404 errors across touched examples, keeping existing E2E specs green.
Decision Record impact: none.
Acceptance Criteria
Every published non-ConfigurationViewport example in examples/{grid,table,tablePerformance,tableStore,dashboard,desktop,menu,tab,tabs,toolbar,list,layout}/** exposes an interactive theme switcher (ThemeSwitcher from #21705, or existing verified wave switcher on the 15 grid/table examples that already have one).
examples/menu/context exposes all 4 of its configured themes via the dropdown switcher; 2-theme examples toggle light↔dark with circular-reveal wave.
Existing Playwright E2E tests for touched surfaces pass, plus E2E verification of live theme switching across representative 2-theme and 4-theme examples in this slice.
Out of Scope
board/*, scheduler/*, gantt/*, timeline/* (owned by #21706).
form/*, component/*, charts, stateProvider/*, todoList/*, worker/* (owned by sibling leaf 3 under #21704).
ConfigurationViewport workbench examples.
Avoided Traps
Adding ThemeSwitcher to internal Playwright test-fixture apps that are not user-facing examples and whose E2E geometry tests assert exact pixel heights (crossWindowWitness — check examples.json + spec references first!).
unowned-rationale: Engine 14 rollout open for parallel maintainer pickup.
Live latest-open + closed sweep: checked latest 25 open (84 open total, red band — bounded leaf under #21704) + open and closed search (ThemeSwitcher, headerGroups theme#20635) at 2026-11-21T01:46Z; no duplicate.
A2A in-flight sweep, MC sweep & Own-assignment sweep: attested on #21704.
Context
Rollout leaf 2 of #21704 (Engine 14 release blocker,
@tobiu2026-11-21): covers all non-workbench standalone examples across the Grid, Table, Dashboard, Desktop, Tab, Toolbar, Menu, List, and Layout groups that currently lack a theme switcher (and aligns multi-theme dropdown support where >2 themes are configured, such asexamples/menu/context's 4 themes).The Problem
While
13examples/grid/*and2examples/table*standalone apps already expose a binary light/dark toggle,19standalone examples across these UI container/data groups still have zero theme switcher UI:examples/grid/animatedRowSorting(2),examples/grid/contentSizedRows(2),examples/grid/lockedColumns(2),examples/table/covid(2),examples/tablePerformance(2),examples/tableStore(default 2)examples/dashboard/base(default 2),examples/dashboard/choreography(2),examples/dashboard/crossWindow(2),examples/dashboard/crossWindowWitness(default 2 — internal witness only if unpublished, verify againstapps/portal/resources/data/examples.json),examples/dashboard/desk(2),examples/dashboard/dock(default 2),examples/dashboard/tearOut(2),examples/desktop/basic(2)examples/menu/context(4 themes — needs dropdown!),examples/menu/contextFiles(2),examples/tab/browser(2),examples/tabs(1 -> upgradeneo-config.jsonto light+dark),examples/toolbar/breadcrumb(2),examples/toolbar/paging(2),examples/list/animate(default 2),examples/list/reorder(2),examples/layout/sideBySide(2)The Architectural Reality
Neo.button.ThemeSwitcher(ntype: 'theme-switcher'), automatically rendering a 1-click circular-reveal toggle for 2-theme apps and a circular-reveal dropdown for 4-themeexamples/menu/context.examples/dashboard/crossWindow,examples/dashboard/tearOut) should propagate theme updates across open secondary windows (or follow their root state provider /Neo.Mainwindow theme pattern) so torn-out panes do not stay stranded in the old theme.apps/portal/resources/data/examples.json+ standalone user-facing demos (excluding test-only internal witnesses likecrossWindowWitnessif unpublished).@tobiuEngine 14 release gate).The Fix
Neo.button.ThemeSwitcherin every published / user-facing non-ConfigurationViewportexample in thegrid,table*,dashboard,desktop,menu,tab*,toolbar,list, andlayoutdirectories that currently lacks a theme switcher (upgradingexamples/tabs/neo-config.jsonto 2+ themes if published).?theme=URL boot parameter support is wired inapp.mjswhere missing so deep-linking andThemeSwitcherinitial state agree.1440 × 900and390 × 844layout fit and zero console/404 errors across touched examples, keeping existing E2E specs green.Decision Record impact: none.
Acceptance Criteria
ConfigurationViewportexample inexamples/{grid,table,tablePerformance,tableStore,dashboard,desktop,menu,tab,tabs,toolbar,list,layout}/**exposes an interactive theme switcher (ThemeSwitcherfrom #21705, or existing verified wave switcher on the 15grid/tableexamples that already have one).examples/menu/contextexposes all 4 of its configured themes via the dropdown switcher; 2-theme examples toggle light↔dark with circular-reveal wave.crossWindow,tearOut) switch theme cleanly without console errors.Out of Scope
board/*,scheduler/*,gantt/*,timeline/*(owned by #21706).form/*,component/*,charts,stateProvider/*,todoList/*,worker/*(owned by sibling leaf 3 under #21704).ConfigurationViewportworkbench examples.Avoided Traps
ThemeSwitcherto internal Playwright test-fixture apps that are not user-facing examples and whose E2E geometry tests assert exact pixel heights (crossWindowWitness— checkexamples.json+ spec references first!).Related
unowned-rationale: Engine 14 rollout open for parallel maintainer pickup.
Live latest-open + closed sweep: checked latest 25 open (
84open total, red band — bounded leaf under #21704) + open and closed search (ThemeSwitcher,headerGroups theme#20635) at2026-11-21T01:46Z; no duplicate. A2A in-flight sweep, MC sweep & Own-assignment sweep: attested on #21704.Origin Session ID: 59ca0d8c-dfdf-4d07-aefe-8ec5c658a398
Retrieval Hint: "ThemeSwitcher grid table dashboard desktop menu toolbar list standalone examples"