LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-julia
createdAtNov 20, 2026, 3:21 PM
updatedAtNov 20, 2026, 10:12 PM
githubUrlhttps://github.com/neomjs/neo/issues/21573
authorneo-gemini-julia
commentsCount4
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[x] 21572 Default neo-theme buttons to neutral surface and add primary ui
blocking[]
closedAtNov 20, 2026, 10:10 PM

Retake neo-themed example covers in pages after button fill update

Closed v14.0.0/archive-v14-0-0-chunk-5 enhancementdesignaiportal
neo-gemini-julia
neo-gemini-julia commented on Nov 20, 2026, 3:21 PM

Owned by @neo-gemini-julia for the Engine 14 cut (2026-11-23), blocked_by #21572 (and sequenced after #21570 merges for grid-animated-row-sorting-14.jpg), so curated contributor labels are omitted (ticket-create §4).

Context

Once #21572 changes default Neo.button.Base (ui: null) in neo-theme-neo-dark and neo-theme-neo-light from filled primary blue (rgb(62, 99, 221)) to the neutral bordered control surface, previously captured Engine 14 example covers (60 recipes) and component tiles (51 entries in apps/portal/resources/data/example-captures.json) stored in neomjs/pages (resources_pub/website/examples/devmode/*-14.jpg) that render un-styled neo-dark buttons will show stale electric-blue buttons — and PR #21570 (examples/grid/animatedRowSorting, branched from d49f1dd494 prior to #21395) additionally captured grid-animated-row-sorting-14.jpg at the retired 48 px button height.

The Problem

  1. Cover-to-live visual mismatch on neomjs.com: As established in #21558 (neomjs/pages#146), an example card's cover promises what the live example renders. Serving covers with 48 px or electric-blue toolbar/header buttons after #21395 and #21572 land makes the Engine 14 catalog cards display the exact visual defect #21395 and #21572 eliminated.
  2. Built CSS prerequisite: buildScripts/docs/captureExamples.mjs renders from dist/development/css, so node buildScripts/build/themes.mjs -f -n -e dev -t all must run on dev after #21572 merges before recapturing.

The Architectural Reality

  • apps/portal/resources/data/example-captures.json holds 60 recipes (--record <id>) and 51 tiles (--tile <path>, captured under TILE_THEMES = ['neo-theme-neo-dark', 'neo-theme-dark']).
  • buildScripts/docs/captureExamples.mjs outputs 1280 × 720 (640 × 360 @ 2× DPR, <= 150 KB) .jpg covers and 4:3 component tiles for neomjs/pages/resources_pub/website/examples/devmode/.
  • Sibling precedent: #21558 (neomjs/pages#146), which re-shot form-app-14.jpg and dialog-drag-drop-14.jpg after #21537's ComboBox width change.
  • Design authority: operator direction (@tobiu, 2026-11-20, session fdac7b58-4686-4e42-9233-7d3e0be881f4: "once buttons look nice, we might need newer example cover images => pages repo") and #20679 / #21140 cover fidelity contract.

The Fix

  1. After #21572 merges to dev (and after #21570 merges for grid-animated-row-sorting), sync dev and rebuild development theme CSS (node buildScripts/build/themes.mjs -f -n -e dev -t all).
  2. Identify every recipe and tile in apps/portal/resources/data/example-captures.json whose captured frame renders a neo-theme-neo-dark .neo-button without an explicit ui override (including grid-animated-row-sorting, dashboard/desk, Gantt/scheduler/timeline, form/dialog, table-filtering, video-move, and affected button/toolbar tiles; note that examples/button/{base,effect} explicitly set ui: 'primary' and stay blue).
  3. Run node buildScripts/docs/captureExamples.mjs across the affected --record and --tile entries, verify visual crispness (32 px compact neutral controls, zero 48 px or unintended blue toolbar buttons) and byte budget (<= 150 KB).
  4. Open a PR in neomjs/pages updating resources_pub/website/examples/devmode/*-14.jpg (and tiles/*-14.jpg where changed) with before/after visual comparison tables, and update neomjs/neo apps/portal/resources/data/examples.json only if any newly added cover path requires registration.

Contract Ledger Matrix

Target Surface Source of Authority Proposed Behavior Fallback Docs Evidence
neomjs/pages resources_pub/website/examples/devmode/*-14.jpg & tiles/*-14.jpg #21572 + #20679 + operator direction (2026-11-20) Affected neo-dark covers and tiles reflect 32 px neutral bordered buttons from dev post-#21572 Unaffected classic-theme or buttonless covers remain untouched Before/after table in neomjs/pages PR captureExamples.mjs run receipts + served raw byte verification post-merge

Decision Record impact: none

Acceptance Criteria

  • AC-1: Audit all 60 recipes and 51 tiles in apps/portal/resources/data/example-captures.json on dev post-#21572 and record the exact list of neo-theme-neo-dark covers/tiles whose rendered buttons changed (explicitly including grid-animated-row-sorting-14.jpg once #21570 lands).
  • AC-2: Rebuild dist/development/css (node buildScripts/build/themes.mjs -f -n -e dev -t all), recapture every affected cover and tile via buildScripts/docs/captureExamples.mjs within the 150 KB cap, and open a neomjs/pages PR with before/after visual comparisons.
  • AC-3: (Post-merge in neomjs/pages) Verify served bytes on raw.githubusercontent.com/neomjs/pages/main/resources_pub/website/examples/devmode/ match the recaptured hashes.

Out of Scope

  • Changing Neo.button.Base CSS tokens themselves (#21572).
  • Classic-theme (neo-theme-dark) covers whose button styling does not change in #21572.

Avoided Traps

  • Recapturing before rebuilding dist/development/css: captureExamples.mjs reads dist/development/css, which would re-render pre-#21572 blue buttons unless themes.mjs -f -n -e dev -t all runs first (#21558).
  • Uploading #21570's branch-captured grid-animated-row-sorting-14.jpg as final: #21570 branched from d49f1dd494 before #21395 and #21572, so its cover must be recaptured on dev after both merge.

Related

Blocked by: #21572 · Precedent: #21558 (neomjs/pages#146) · Related: #21140, #20679, PR #21570 (#21179)

Live latest-open + closed sweep: checked latest 20 open (#21572..#21346, 58 open — red band; cross-repo neomjs/pages asset refresh leaf paired with #21572 alongside #21140's 40 subs) + open and closed searches (covers pages captureExamples button; Out of Scope / Avoided Traps read on #21558 and #21393) at 2026-11-20T14:21Z; no duplicate found. A2A in-flight claim sweep: checked latest 30 messages across all read states (2026-11-20T14:21Z); zero competing claim on post-button-fill cover retakes. MC sweep: "too big blue buttons inside toolbars layouts headers example cover images pages repo", 5 results, no prior ticket found. Own-assignment sweep: 4 open (#21572, #21543, #20987, #20671 — all bodies read), #21572 is the direct prerequisite.

Origin Session ID: fdac7b58-4686-4e42-9233-7d3e0be881f4 Retrieval Hint: "retake example covers tiles neomjs pages captureExamples button fill neutral secondary 21572 grid-animated-row-sorting-14"

tobiu referenced in commit 7a2a1fb - "fix(examples): retake neo-themed covers for neutral buttons and dark recipes (neomjs/neo#21573) (#148)" on Nov 20, 2026, 10:09 PM
tobiu referenced in commit 90d6b0d - "fix(portal): capture Country Statistics and Table Filtering covers in dark theme (#21573) (#21656)" on Nov 20, 2026, 10:10 PM
tobiu closed this issue on Nov 20, 2026, 10:10 PM