The cold read on PR #21418 (the tiles' Portal half, #21333) graded Forms & Fields 7/10 against 3/10 today: "names great, previews weak". Its first change: "Crop each thumbnail to the control and scale all to one legible size … Half the tiles currently sell nothing." #21140's gate reads one group page on Fri 20 Nov at 9 of 10.
Measured on the 45 crops in neomjs/pages devmode/tiles/ (pixel width ÷ 2 = the region in CSS px), shown in a tile about 175 px wide at 1440 × 900:
Region
Tiles
14 px text on the tile
864 to 466 px
sitemap, Monaco editor, Clock, Circle, Magic move text, Form layout, Date selector
2.8 to 5.3 px
408 to 338 px
Text area, the copy-to-clipboard trigger, IBAN, File upload, Timer, Fieldset, and the text, URL, select, search, password, email, display, country, combo box, chip, range and date fields
6.0 to 7.3 px
328 to 248 px
13 more: phone, checkbox, currency, time, zip code, number, color fields, the three lists, Progress bar, menu list, Hosting a class component, Nested templates
7.4 to 9.9 px
207 to 160 px
Button, Radio button, Switch, Chip, Function component, Status badge
11.9 to 15.3 px
39 of 45 tiles show their text below 11 px; 20 of them at 7.3 px or less.
The Problem
A tile shrinks its crop to the tile's width. The recipe sizes each crop around the component as the workbench renders it, so a field drawn 300 px wide becomes a 348 px region and shows at half size. The tiles then differ in scale from 0.20 to 1.09, which is the reader's "preview scale varies".
The Architectural Reality
buildScripts/docs/captureExamples.mjsfitTileRegion(): a 4:3 region around the component's content box, TILE_PADDING 24, TILE_MIN 160 × 120, never cutting the component (the insist rule). tileRegion() measures the settled stage component; --tiles writes devmode/tiles/<id>-14.jpg at device scale 2.
The Portal shows a tile at the grid's width: six to a row at 1440 × 900 (about 175 px), two on a phone (about 171 px), #21333 AC-5.
The field entries render through examples/form/field/StatesViewport.mjs (#21334); most workbenches expose a width control.
The Fix
A tile entry may name the width its component takes for the capture ({"path": "examples/form/field/text", "width": 220}); the recipe applies it to the stage component before it measures, then crops as today. Plain strings keep working.
Widths for the text-led tiles so each region is at most 272 CSS px (14 px text at 9 px or more on a 175 px tile).
Recapture all 45 with one run; the bytes go to neomjs/pages first, under the same file names, so no catalog record changes.
Acceptance Criteria
AC-1: Every tile whose component narrows to its capture width has a region at most 272 CSS px wide (its 14 px text at 9 px or more on a 175 px tile). A tile whose component keeps its own size under any bound (the lists, File upload, Range, Fieldset, Date selector, Form layout, Nested templates, Sitemap) is captured at the smallest region that holds it, and the pull request names each such tile with its region. Clock, Circle, Magic move text and Timer, which read as pictures, may keep larger regions. (Amended 19 Nov after the first capture runs: a bound does not narrow those ten components, and cutting them is what AC-2 forbids.)
AC-2: No crop cuts its component: the recipe's existing refusal still holds for every tile.
AC-3: One script run reproduces the 45 tiles, and their checksums match the bytes in the linked neomjs/pages pull request.
AC-4: test/playwright/unit/buildScripts/docs/CaptureExamples.spec.mjs pins the object form of a tile entry and the width it applies.
AC-5: The pull request shows Forms & Fields at 1440 × 900 and 390 × 844 before and after, with one cold read.
Out of Scope
The density of the tile grid (#21140 design 6, six to a row). Fewer, larger tiles would raise every scale without a recapture; that is the design board's call, raised on #21140.
The neo dark theme's drawing of a checked radio and of the file upload button (defect-notes of 19 Nov).
The Portal's tile renderer and the catalog (#21333).
Avoided Traps
Cropping inside the component to enlarge it: a tile that cuts its field shows a broken control, which is what the insist rule prevents.
Scaling the image up in CSS: it enlarges the pixels, not the detail the capture took.
Live latest-open + closed sweep: checked latest 20 open + open and closed search ("tile crop legible", "tiles" in titles; #21332's Out of Scope and ACs read) and the A2A claims of the last hour at 2026-11-19T02:55Z; no equivalent or prior exclusion found. Backlog: 78 open (red), so this is a sub of #21329 rather than a standalone. Memory Core sweep on the symptom: no prior art. Own open assignments read: none covers the recipe.
Context
The cold read on PR #21418 (the tiles' Portal half, #21333) graded Forms & Fields 7/10 against 3/10 today: "names great, previews weak". Its first change: "Crop each thumbnail to the control and scale all to one legible size … Half the tiles currently sell nothing." #21140's gate reads one group page on Fri 20 Nov at 9 of 10.
Measured on the 45 crops in neomjs/pages
devmode/tiles/(pixel width ÷ 2 = the region in CSS px), shown in a tile about 175 px wide at 1440 × 900:39 of 45 tiles show their text below 11 px; 20 of them at 7.3 px or less.
The Problem
A tile shrinks its crop to the tile's width. The recipe sizes each crop around the component as the workbench renders it, so a field drawn 300 px wide becomes a 348 px region and shows at half size. The tiles then differ in scale from 0.20 to 1.09, which is the reader's "preview scale varies".
The Architectural Reality
buildScripts/docs/captureExamples.mjsfitTileRegion(): a 4:3 region around the component's content box,TILE_PADDING24,TILE_MIN160 × 120, never cutting the component (theinsistrule).tileRegion()measures the settled stage component;--tileswritesdevmode/tiles/<id>-14.jpgat device scale 2.apps/portal/resources/data/example-captures.jsontiles: 45examples/paths, plain strings today.examples/form/field/StatesViewport.mjs(#21334); most workbenches expose awidthcontrol.The Fix
{"path": "examples/form/field/text", "width": 220}); the recipe applies it to the stage component before it measures, then crops as today. Plain strings keep working.Acceptance Criteria
test/playwright/unit/buildScripts/docs/CaptureExamples.spec.mjspins the object form of a tile entry and the width it applies.Out of Scope
Avoided Traps
insistrule prevents.Related
Parent #21329 · #21332 (the recipe) · #21333 and PR #21418 (the tiles in the Portal) · #21334 (the field template) · #21140
Decision Record impact: none.
Live latest-open + closed sweep: checked latest 20 open + open and closed search ("tile crop legible", "tiles" in titles; #21332's Out of Scope and ACs read) and the A2A claims of the last hour at 2026-11-19T02:55Z; no equivalent or prior exclusion found. Backlog: 78 open (red), so this is a sub of #21329 rather than a standalone. Memory Core sweep on the symptom: no prior art. Own open assignments read: none covers the recipe.
Origin Session ID: 62d5f130-8e39-474f-9f68-f8ecced38b5b
Retrieval Hint: "tile crop region width legible text scale fitTileRegion example-captures tile width"
⚖️ Ada ·
@neo-opus-ada· Claude Opus 5.5 · Claude Code