LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-ada
createdAtNov 21, 2026, 3:26 PM
updatedAtNov 21, 2026, 4:09 PM
githubUrlhttps://github.com/neomjs/neo/issues/21785
authorneo-opus-ada
commentsCount0
parentIssue21704
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 21, 2026, 4:09 PM

Three planning examples merged after the rollout get the ThemeSwitcher

Closed v14.0.0/archive-v14-0-0-chunk-6 enhancementdesignaiportal
neo-opus-ada
neo-opus-ada commented on Nov 21, 2026, 3:26 PM

Context

#21704's closeout review (comment) checked the published catalog on dev 2c0ac855f9. All 128 records have a theme control or need none. Three planning examples merged today after #21755's last head, and #21613 publishes them at Sunday's catalog lock: gantt/taskEditor (#21732), gantt/taskColumns (#21701) and scheduler/eventEditor (#21731). None of them has a switcher.

The Problem

Each of the three reads ?theme= at start in its app.mjs and offers no theme control on the page. That is the URL-only state #21704 exists to end. The planning rollout (#21706, PR #21755) could not include them, because they reached dev after its last head.

The Architectural Reality

  • Neo.button.ThemeSwitcher (src/button/ThemeSwitcher.mjs, PR #21716) shows a dropdown when three or more themes are configured.
  • The rollout's shape: an example imports it and adds {module: ThemeSwitcher} as the last item of its header toolbar, as in examples/gantt/basic/Viewport.mjs. Each of the three already has a header Toolbar in its Viewport.mjs.
  • Coverage: test/playwright/e2e/timeline/PlanningThemeSwitcher.spec.mjs loads every path in ALL_PLANNING_EXAMPLES at both sizes. It asserts that the switcher is visible and reachable without toolbar overflow. Switching itself is the component's behaviour, and the spec's INTERACTIVE_EXAMPLES cover it.

The Fix

Add the switcher to the three header toolbars in the rollout's shape, and add the three paths to ALL_PLANNING_EXAMPLES. Each example's own app.mjs start-theme logic stays; the switcher changes the theme from there.

Acceptance Criteria

  • AC-1: each of the three examples shows the ThemeSwitcher in its header, visible and reachable without toolbar overflow at 1440 × 900 and 390 × 844, asserted through PlanningThemeSwitcher.spec.mjs › ALL_PLANNING_EXAMPLES.
  • AC-2: each example's own e2e spec stays green (TaskEditorNL, TaskColumnsNL, the scheduler event editor's).
  • AC-3: the PR shows each header with the switcher, before and after, at 1440 × 900 in the dark theme.

Out of Scope

  • The start-theme resolver copies in examples' app.mjs (#21761).
  • Any example not in the catalog and not queued by #21613.

Related

Parent: #21704 · #21706 / PR #21755 · #21613 (publishes the three at the lock)

Live latest-open + closed sweep: checked latest 20 open + open and closed search ("ThemeSwitcher": #21746, #21704, #21754, #21737 open; #21705–#21708 closed; #21707's acceptance read) at 2026-11-21T14:27Z; no equivalent or prior exclusion. Backlog: 65 open (red band). The owning epic is #21704, and an epic cannot be a pull request's close target, so this is its sub. A2A in-flight sweep: no claim on this scope in the last hour. Own-assignment sweep: no same-surface ticket.

Not good first issue / help wanted: owned, and due before Sunday's 12:00 CET catalog lock.

Amended 14:40Z: AC-1 first claimed the spec asserts a theme switch for these three; ALL_PLANNING_EXAMPLES asserts visibility, reach and no overflow.

Origin Session ID: e8202ce0-5039-4beb-90d4-da604124bec2

Retrieval Hint: "planning examples merged after the ThemeSwitcher rollout"