LearnNewsExamplesConnect
Frontmatter
assigneesneo-gpt-euclid
createdAtNov 10, 2026, 1:03 AM
updatedAtNov 16, 2026, 7:19 PM
githubUrlhttps://github.com/neomjs/neo/issues/20679
authorneo-fable-clio
commentsCount4
parentIssue21140
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[x] 20500 Publish the Grid-family examples with stable captions
blocking[ ] 21146 Covers for the remaining example groups, and one tile cover per group, [ ] 20696 The State & Data examples get their overview, [ ] 20694 Buttons, containers, lists, menus and trees get their overview, [ ] 21121 Forms, Multi-Window, Calendar, Scheduler and Gantt examples get their covers, [ ] 21120 The Components examples get their covers
closedAtNov 16, 2026, 7:19 PM
milestonev14.0

Example covers come from recorded captures; Grid and Table first

Closed v14.0.0/archive-v14-0-0-chunk-1 enhancementdesignaigridportal
neo-fable-clio
neo-fable-clio commented on Nov 10, 2026, 1:03 AM

Context

A leaf of #21140 (moved from #20498 on 16 Nov), cornerstone 1 of Engine 14 (ROADMAP.md). Its first leaf, #20500 (PR #20675), put 21 captioned Grid and Table demonstrations on the Portal. Seventeen of them have no screenshot.

Rewritten on 16 Nov 2026. The operator read the examples overview that day and graded the covers in its previews 1 of 10 (#21119 carries his words and the measurements). Two things change here:

  • The card will show a cover whole (#21119). The rule "the telling detail sits in the top-left third" is withdrawn.
  • 46 of 76 records have no cover on dev 2404340dfa, 71 of 101 once #21105 merges. Covers now come from recorded captures, not from hand screenshots. This ticket delivers the script and the Grid and Table covers as its first output.

The frame table below is unchanged.

The Problem

A stranger evaluating the grid sees seventeen near-identical cards. The caption says what an example proves and nothing shows it.

Count receipt: examples.json at c8034978b8, filtered on family === 'grid-table': 21 records, 4 with an image (grid-big-data, grid-issues, grid-tree-big-data, table-filtering), 17 with "image": null, listed in the frame table. Re-counted on dev 2404340dfa: unchanged.

The 30 covers in use were made one by one for the 13.4 list: whole browser windows, some with the tab strip and address bar (helix.png, offscreenCanvas.png), in mixed themes and scales. Seventy more by hand would repeat that, and none could be re-shot when a theme changes.

The Architectural Reality

  • Portal.view.examples.List#imageBasePath (apps/portal/view/examples/List.mjs:73-87) serves a record's image from neomjs/pages main, resources_pub/website/examples/: by relative path on the deployed site, from raw.githubusercontent.com everywhere else. A new cover is invisible in a local Portal until Pages holds it.
  • Pages holds every cover. The engine tree holds five originals (apps/portal/resources/images/examples/devmode/); the other covers in use exist on Pages only. A hundred covers at 150 KB would add 15 MB to the engine tree.
  • buildScripts/ has no capture script. The Portal's other producers live in buildScripts/docs/seo/; the script's home is the implementer's placement call through structural-pre-flight.
  • Design authority: the operator's read of 16 Nov 2026, quoted on #21119, for the withdrawn composition rule; the covers themselves call no existing behavior wrong.

The Fix

One recipe per record, one script that runs them, 17 covers as the first output.

  • The recipe, committed beside the catalog: the record's id, the example's URL, viewport, theme, the interactions that reach the state, and the region to capture.
  • The script opens each recipe in headless Chromium against the local dev server and writes the cover, for one record or for all. No hand screenshot and no crop in an image editor. It names the public data an example reads (the COVID examples, the Issues snapshot) and records a capture whose data did not answer, never a cover of an error.
  • The frame: 1280×720 JPEG, at most 150 KB. Text arrives on the card at 0.64 of its size or more: a record shown in a family tab (a 445 px card) is captured at 695 px of layout or less, by default the whole example at a 640×360 viewport and device scale 2; a record shown on Featured alone (a 615 px card) may use 960×540 at scale 4/3. The frame is the whole viewport, with the example's own margins and scrollbars; a region only where the example does not lay out at that size, and then it ends on component borders, never inside a label. No browser or OS chrome. The telling part sits in the upper 60 %, because the caption covers the rest, and the top-right 64×44 px stay calm for the card's badge. An example whose claim is scale shows that scale in the frame. Changed 16 Nov after four cold reads of the first screen (#21121, the look): a cut label read as a rendering accident, a slice as a widget, the whole 1280 px layout as illegible.
  • State: the feature in action, never the untouched default view.
  • Theme: the dark theme where the example offers a switch, otherwise the example's default.
  • Bytes: the covers go to neomjs/pages as resources_pub/website/examples/devmode/<record id>-14.jpg. The engine pull request carries the script, the recipes and the 17 image values. A local Portal can show a freshly written cover before Pages merges.
Record The frame shows
grid-animated-row-sorting the grid sorted on a column, the Transition Duration field in view
grid-cell-editing an open editor in the Country or Random Date column
grid-container a selected row crossing a selected column
grid-content-sized-rows wrapped Summary rows of unequal height beside the locked # and Title columns
grid-covid the first countries with flags and colored measures
grid-header-groups quarter headers over their month columns, Region locked at the start
grid-locked-columns the centre scrolled to the populated Private contributions column while #, Rank, User and Updated stay locked (the year columns have no source values)
grid-nested-record-fields the nested columns in the grid itself, one row selected (not the Edit dialog: its Country field renders squeezed, a defect of its own)
grid-tree the file hierarchy expanded two levels
grid-value-banding Country and Department bands in the sorted grid
json-grid-container the grid after Load Grid Container
table-cell-editing an open editor
table-container a cell menu open
table-covid the first countries with flags and colored measures
table-nested-record-fields the nested columns in the table, with a visible difference from the grid variant
table-store the table with its three action buttons
table-performance the three tables with their Rows and Interval fields

Contract Ledger

Target surface Source of authority Proposed behavior Fallback / edge case Docs Evidence
A cover recipe this ticket one per Grid and Table record; running it again reproduces the frame and the state, and the same bytes only where the example shows no live or random data an example that needs a key or an unreachable service gets no recipe and no cover the script's header the 17 recipes
The cover files #19640, #19947; #21119 1280×720 JPEG, at most 150 KB, the example's own surface, legible at 445 px a feature a still cannot show (animated sorting) shows the control that drives it a per-cover table printed from the recipes one sheet of the covers at card width
17 image values in examples.json #20498's kitchen-sink standard each names a published cover a record without a cover renders no card (#21119) this ticket a unit arm: every Grid and Table image has a recipe

Decision Record impact: none.

Acceptance Criteria

  • The script writes all 17 covers from their recipes in one run on a clean checkout. The command is in the pull request and in the script's header.
  • Each cover is 1280×720, JPEG, at most 150 KB, shows the state its row of the frame table names, and contains no browser or OS chrome.
  • Look: the pull request shows the 17 covers on one sheet at card width (445 px). On each, the component and the named state are recognised without zooming. The design seat reads the sheet before review.
  • The four existing Grid and Table covers are held to the same rule; the pull request says which were re-shot.
  • A unit arm fails when a Grid or Table record's image has no recipe; recipe ids are unique and resolve to catalog records. That covers all 21 records of the family. Each further family joins the guard when its covers move to the script (#21120, #21121).
  • The companion neomjs/pages pull request is linked and carries the bytes the script wrote; both bodies list the checksums.
  • No caption changes, no new example.

Post-Merge Validation

After the Pages deployment and the Engine publication the public overview shows 21 Grid and Table covers. Whoever merges the Pages pull request records the served result under #21140.

Out of Scope

Covers for the other families (#21120, #21121; they reuse this script); the card (#21119); caption copy; where deployed covers are served from.

Avoided Traps

  • A frame of the example's untouched default view: most of these examples open on a plain grid that looks like the next one.
  • A whole-window screenshot: at card width it is texture.
  • A mock-up or a composited image: a cover is a capture of the running example.
  • A script that needs a service or a private checkout: it runs against the local dev server, so a contributor can add a recipe.

Related

Parent #21140 (moved from #20498 on 16 Nov) · the card: #21119 · other families: #21120, #21121 · precedents #19640, #19947.

unowned-rationale: a maintainer lane since Mon 16 Nov, the date this ticket set for itself; the seat that takes it says so here. Due as a pull request by Wed 18 Nov, because the two family tickets wait for the script. Not good first issue: it defines the capture contract the other families follow.

Live latest-open + closed sweep (first filing): all 12 open issues + closed search ("example covers screenshots portal cards"; #19640's Out of Scope read) at 2026-11-10T00:02Z; no equivalent or prior exclusion found. Rewrite, 2026-11-16T09:08Z: latest 20 open read (59 open, red band) + closed searches ("example card cover preview design", "examples covers capture screenshots"): no second covers ticket; the script folds into this owning ticket instead of a new one. A2A in-flight sweep: latest 30 messages, all read-states, at 09:09Z; no claim on example covers. MC sweep: "example cards without a screenshot, grey placeholder covers, Portal examples images missing", 5 results (video covers and #19640's two covers), no prior decision found. Own-assignment sweep: 5 open, #20498 is the parent. Structure-map: not run; the script's placement is the implementer's call (see The Architectural Reality).

Origin Session ID: 084c73f0-fc84-48b5-84ab-82bca929a513 (rewrite: 87ab3754-2f97-47b5-a3b1-9bd3bf2393b9) Retrieval Hint: "example covers from recorded captures, recipe per record, capture script, Grid and Table overview, kitchen sink"

📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code

tobiu referenced in commit 13626c0 - "feat(build): capture example covers from recorded recipes (#20679) (#21161) on Nov 16, 2026, 7:19 PM
tobiu closed this issue on Nov 16, 2026, 7:19 PM