Context
Design 4 and 5 of #21140: "A component entry is one component in the workbench, and gets a compact tile … The record says which (kind: 'component'; a demonstration is the default)." A group page has "one header per kind when it holds both", with six tiles per row at 1440 × 900 (design 6). The Portal half stacks on the shell's pull request, #21325. Lane epic #21329.
The Problem
A group page renders every record as a cover card. A workbench entry therefore reads as an empty page: Forms & Fields shows three white cards titled by class name.
The Architectural Reality
Portal.model.Example#publishes() is the one rule for a card: a cover, and a URL in the selected build.
GroupPage renders the group's records through List.
MainContainerController#publishGroups() (apps/portal/view/examples/MainContainerController.mjs:96) writes count and crossCount on each group on every load and build switch.
- #21325 keeps
tileHeading: 'Field types' on the forms family definition.
- Design authority: #21140's body, design 4: "A tile needs no hand-made cover: one recipe captures every workbench stage's component by its own rectangle", and its build note: "A record becomes
kind: 'component' in the pull request that gives it its crop, never before: a tile without an image would unpublish its group."
The Fix
kind on Portal.model.Example, defaulting to a demonstration.
- A tile list on the group page under the group's
tileHeading (default "Components"); the headers show only when a group holds both kinds.
- Per-kind counts written by
publishGroups().
- A record for every workbench entry with
kind: 'component' and its crop from the tile recipe as image.
- The Forms & Fields records #21140 marks ✕ leave the catalog:
form/field/picker, date/selectorContainer, and fields once #21334's Range entry is on dev. Their folders stay (#21140: "the folder stays where a spec loads it").
Acceptance Criteria
Out of Scope
- The capture recipe (its own leaf under #21329).
- The shell, Start here and Find (#21325, #21326).
Intake on dev a4f333a2cc (Ada, 18 Nov)
The shell is on dev (PR #21347), and nothing in it changes the fix above. This exploration settled three things:
- Counts. A tile opens a live workbench entry, so it is a live example too.
count and crossCount keep counting every published record of either kind, so the overview headline and the index count both kinds. publishGroups() adds tileCount, the tiles a page shows (its own and those other groups lend it). The two headers show only when the page has tiles and cards. A group made only of tiles publishes through the same counts (AC-3).
- Census.
example-captures.json lists 45 tile paths. 27 of them already have a record, which turns kind: 'component' and takes devmode/tiles/<tile id>-14.jpg. 18 have none and get one: form/field/ country, currency, display, iban, password, phone, range, search and zipcode; button/base, menu/list, list/base, list/chip, list/color; functional/ defineComponent, hostComponent and nestedTemplateComponent; and sitemap. The records that leave (AC-7) are picker-field, fields-runtime-triggers and date-selector-container.
- Renderer.
List gets a tile mode: the crop on a fixed 4:3 surface in the stage's dark colour, in both Portal themes (the crops are dark-theme stages), with the name below. It uses the same link and the same lazy image path as a card. The range tile is on neomjs/pages#117, so this PR merges after it.
Related
Parent #21329 · #21140 · #21325 (stacks on it) · #21334 (the Range entry fields waits on).
Live latest-open + closed sweep with #21329's at 2026-11-18T14:12Z: no equivalent.
Retrieval Hint: "component tile list group page kind component Portal.model.Example publishes tiles header per kind"
⚖️ Ada · @neo-opus-ada · Claude Opus 5.5 · Claude Code
Context
Design 4 and 5 of #21140: "A component entry is one component in the workbench, and gets a compact tile … The record says which (
kind: 'component'; a demonstration is the default)." A group page has "one header per kind when it holds both", with six tiles per row at 1440 × 900 (design 6). The Portal half stacks on the shell's pull request, #21325. Lane epic #21329.The Problem
A group page renders every record as a cover card. A workbench entry therefore reads as an empty page: Forms & Fields shows three white cards titled by class name.
The Architectural Reality
Portal.model.Example#publishes()is the one rule for a card: a cover, and a URL in the selected build.GroupPagerenders the group's records throughList.MainContainerController#publishGroups()(apps/portal/view/examples/MainContainerController.mjs:96) writescountandcrossCounton each group on every load and build switch.tileHeading: 'Field types'on theformsfamily definition.kind: 'component'in the pull request that gives it its crop, never before: a tile without an image would unpublish its group."The Fix
kindonPortal.model.Example, defaulting to a demonstration.tileHeading(default "Components"); the headers show only when a group holds both kinds.publishGroups().kind: 'component'and its crop from the tile recipe asimage.form/field/picker,date/selectorContainer, andfieldsonce #21334's Range entry is ondev. Their folders stay (#21140: "the folder stays where a spec loads it").Acceptance Criteria
kind: 'component'renders as a tile showing its crop and its name; a demonstration still renders as a card.kind, the publish rule for tiles and the counts.examples.jsonholds no record forform/field/picker,date/selectorContainerorfields.Out of Scope
Intake on
deva4f333a2cc(Ada, 18 Nov)The shell is on
dev(PR #21347), and nothing in it changes the fix above. This exploration settled three things:countandcrossCountkeep counting every published record of either kind, so the overview headline and the index count both kinds.publishGroups()addstileCount, the tiles a page shows (its own and those other groups lend it). The two headers show only when the page has tiles and cards. A group made only of tiles publishes through the same counts (AC-3).example-captures.jsonlists 45 tile paths. 27 of them already have a record, which turnskind: 'component'and takesdevmode/tiles/<tile id>-14.jpg. 18 have none and get one:form/field/country, currency, display, iban, password, phone, range, search and zipcode;button/base,menu/list,list/base,list/chip,list/color;functional/defineComponent, hostComponent and nestedTemplateComponent; andsitemap. The records that leave (AC-7) arepicker-field,fields-runtime-triggersanddate-selector-container.Listgets a tile mode: the crop on a fixed 4:3 surface in the stage's dark colour, in both Portal themes (the crops are dark-theme stages), with the name below. It uses the same link and the same lazy image path as a card. The range tile is on neomjs/pages#117, so this PR merges after it.Related
Parent #21329 · #21140 · #21325 (stacks on it) · #21334 (the Range entry
fieldswaits on).Live latest-open + closed sweep with #21329's at 2026-11-18T14:12Z: no equivalent.
Retrieval Hint: "component tile list group page kind component Portal.model.Example publishes tiles header per kind"
⚖️ Ada ·
@neo-opus-ada· Claude Opus 5.5 · Claude Code