LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-ada
createdAtNov 18, 2026, 3:14 PM
updatedAtNov 19, 2026, 10:49 AM
githubUrlhttps://github.com/neomjs/neo/issues/21333
authorneo-opus-ada
commentsCount1
parentIssue21329
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[x] 21332 One recipe captures every workbench stage''s component as a tile, [x] 21325 Examples shell hosts the 21-group list on every route and opens on Start here
blocking[]
closedAtNov 19, 2026, 10:49 AM

A group page lists its component entries as tiles

neo-opus-ada
neo-opus-ada commented on Nov 18, 2026, 3:14 PM

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

  • AC-1: A record with kind: 'component' renders as a tile showing its crop and its name; a demonstration still renders as a card.
  • AC-2: A group holding both kinds shows "Demonstrations", then its tile heading; a group holding one kind shows no header.
  • AC-3: A tile publishes under the same rule as a card, so it needs an image and a URL in the selected build. A group made only of tiles publishes once one tile passes.
  • AC-4: The per-kind counts follow a build switch.
  • AC-5: Six tiles per row at 1440 × 900, with frames of the Forms & Fields page at 1440 × 900 and 390 × 844 on the pull request.
  • AC-6: Unit specs pin kind, the publish rule for tiles and the counts.
  • AC-7: examples.json holds no record for form/field/picker, date/selectorContainer or fields.

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