LearnNewsExamplesConnect
Frontmatter
assigneesneo-gpt-euclid
createdAtNov 10, 2026, 3:41 AM
updatedAtNov 10, 2026, 2:20 PM
githubUrlhttps://github.com/neomjs/neo/issues/20690
authorneo-fable-clio
commentsCount2
parentIssue20498
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[ ] 20696 The State & Data examples get their overview, [ ] 20695 The visual components, canvas and wrappers get their overview, [ ] 20694 Buttons, containers, lists, menus and trees get their overview, [ ] 20693 The Calendar examples get their overview, [ ] 20692 The Multi-Window examples get their overview, [ ] 20691 The Forms examples get their overview
closedAtNov 10, 2026, 2:20 PM
milestonev13.5

The examples section opens on families, not on a build

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

Context

The 13.5 gate asks that a stranger finds each component family's examples as an overview in which every example names what it proves (ROADMAP.md). #20500 delivered the first family as a fifth tab beside four build tabs; its review announced the next step for the second family: families become the navigation and the build a selector. The steward's map on #20498 (comment) carries the decision, the family table and the counts. This leaf is the structure every family leaf waits for.

The Problem

Measured on dev 62f75736ba in a real Chromium at 1440×900: /examples opens on the tab dist/prod and shows 44 cards in one column, two on the first screen. The tab bar reads dist/prod, dist/esm, dist/dev, Dev Mode, Grid & Table: four answers to "which build" before the one answer to "what can it do". Five more families (116 demonstrations under examples/, 103 of them without a catalog record) have no place to go. Adding each as one more hand-written tab would also collide: the tab list lives in three places that are kept in step by hand, so parallel family pull requests would edit the same lines.

The Architectural Reality

  • apps/portal/view/examples/TabContainer.mjs:43-92: five items. Four differ only in catalogMode and environment; the fifth filters the same store by family (lines 82-86).
  • apps/portal/view/examples/TabContainerController.mjs:18-21 routes /examples and /examples/{itemId}; line 29 tabItems mirrors the item order by hand; lines 46-57 resolve a list by a reference naming convention and default to dist_prod.
  • apps/portal/view/examples/List.mjs:35 catalogMode and :41 environment are non-reactive and encode the same build twice; lines 125-128: the cover fallback hardcodes fa-table.
  • resources/scss/src/apps/portal/examples/List.scss:286: the three-column captioned layout is keyed to .portal-examples-grid-overview.
  • apps/portal/model/Example.mjs: family is one string; nothing marks a showcase record.
  • Portal.view.shared.TabContainer gives the section its left tab bar with Neo.tab.plugin.Overflow; the News section carries seven tabs in it.
  • Specs: test/playwright/unit/apps/portal/view/examples/TabContainerController.spec.mjs (tab order, 46 identities, the 21 family identities, the established card order) and test/playwright/e2e/portal/ExamplesCatalogNL.spec.mjs (the four mode selections).
  • Design authority: "One overview page per family on the portal at the kitchen-sink standard" (#20498, Intended solution shape 1).

The Fix

  1. Tabs are Featured plus the families that have records, in this order: Featured, Grid & Table, Forms, Multi-Window, Calendar, Components, State & Data. Title, route, icon and order of a family come from one place. A family without records renders no tab, and its route opens Featured.
  2. Featured is the established showcase: the 27 records that are not family-only (workstation through liquid-glass, and dock-choreography), marked on the record, in catalog order, in today's one-column layout.
  3. Every family tab uses the captioned three-column layout of /examples/grid. The cover fallback shows the family's icon.
  4. The build becomes one control at the foot of the tab bar (production by default; ESM, the development build, dev mode). It sets the build for every list: catalogMode becomes reactive and environment derives from it. /examples/dist_prod, /examples/dist_esm, /examples/dist_dev and /examples/devmode keep resolving: Featured in that build.
  5. The three featured records without a home family get their captions here: devindex, covid-dashboard, portal.
  6. The gate becomes a spec: a record with a family and without feature or lookFor fails the unit spec.

Removed by this change: the four hand-written build tabs, the hand-kept tabItems mirror and the duplicate environment config.

Contract Ledger

Target Surface Source of Authority Proposed Behavior Fallback Docs Evidence
/examples buildScripts/docs/seo/generate.mjs:40,49 (sitemap, priority 0.9) opens Featured, production build none the block on Example.mjs e2e
/examples/grid #20500 unchanged none same unit, e2e
/examples/forms, /multi-window, /calendar, /components, /state the map on #20498 opens the family once it has records Featured same unit
/examples/dist_prod, /dist_esm, /dist_dev, /devmode TabContainerController.mjs:18-21 Featured with that build selected Featured, production same e2e (the four-mode test, adapted)
Portal.model.Example#featured new Boolean, default false n/a model JSDoc unit
Portal.view.examples.List#catalogMode List.mjs:35 reactive; a change re-renders links and visibility n/a JSDoc unit

Acceptance Criteria

  • /examples shows Featured: the same 27 records in the same order as before, with the per-build exclusions that exist today. The unit spec's order arm is adapted, not dropped.
  • On dev the tab bar reads Featured, Grid & Table. /examples/forms opens Featured until Forms has records.
  • One control selects the build for every list, production by default; no build tab remains; the four mode routes resolve as the ledger says.
  • /examples/grid renders its 21 cards as before: three per row at 1440 px, one per row at 390 px.
  • devindex, covid-dashboard and portal carry feature and lookFor, each checked in the running application.
  • Unit: a family record without feature or lookFor fails; the tab order has one source.
  • The pull request shows /examples and /examples/grid before and after, at 1440×900 and 390×844, from a real browser.
  • Post-merge, not this pull request: the family routes enter seo.json and the sitemap with #20688.

Out of Scope

New family records and their captions (the family leaves under #20498); covers (#20679); a search field or grouping inside a family; the home's cards linking to families (#20682); sitemap and seo.json entries.

Avoided Traps

  • One hand-written tab item per family in TabContainer.items, tabItems and the spec: five parallel family pull requests would collide on the same lines.
  • Dropping the build modes: maintainers verify builds through them. They move, they do not go.
  • A new page or card design for families: /examples/grid is the standard and the section's tab bar stays.
  • Changing the showcase order: it is delivered intent (#19640, #19947), and the review of #20675 restored it once.

Related

Parent #20498 · #20500 and its pull request #20675 · #20679 · #20688 · #20682

Not a good first issue: the family leaves wait on it. unowned-rationale: a maintainer seat with Portal context takes it; the steward takes it on Wed Nov 11 if it is still unclaimed.

Live latest-open + closed sweep: latest 20 open read (14 open in all: green band) and closed searches (portal examples tabs, examples overview family caption; Out of Scope and Avoided Traps of #20500, #19640 and #19947 read) at 2026-11-10T02:40Z; no equivalent and no exclusion. A2A sweep: the last 30 rows, all read-states, 02:40Z; no claim on the examples section. MC sweep: "Portal examples section opens on dist/prod build tabs, example cards without captions unreachable" (6 results: the order work of #19640 and #19947, no navigation decision). Own-assignment sweep: 2 open (#20682, #20498), the parent and its sibling epic. Structure-map gate: N/A, no new .mjs placement is decided here.

Origin Session ID: 5d246e78-1341-4491-af1a-4f73e098abdc Retrieval Hint: query_raw_memories("examples section families navigation build selector Featured")

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

tobiu referenced in commit d4ad2fa - "feat(portal): browse examples by family with one build selector (#20690) (#20703) on Nov 10, 2026, 2:20 PM
tobiu closed this issue on Nov 10, 2026, 2:20 PM