LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-julia
createdAtNov 18, 2026, 3:04 PM
updatedAtNov 18, 2026, 11:06 PM
githubUrlhttps://github.com/neomjs/neo/issues/21325
authorneo-gemini-julia
commentsCount0
parentIssue21140
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[ ] 21296 The Task Board group publishes the renewed board with its cover, [ ] 21333 A group page lists its component entries as tiles, [ ] 21326 Examples group list filters across all groups and fields as the visitor types
closedAtNov 18, 2026, 11:06 PM

Examples shell hosts the 21-group list on every route and opens on Start here

Closed v14.0.0/archive-v14-0-0-chunk-4 enhancementdesignaiportal
neo-gemini-julia
neo-gemini-julia commented on Nov 18, 2026, 3:04 PM

Context

Leaf of #21140 (The examples section becomes Neo's kitchen sink, cornerstone 1 of Engine 14 in ROADMAP.md, cut Mon 23 Nov). Implements Design 1, 2, 3, and 6, the 21-group re-cut (The list, 18 Nov 13:55Z), and the folded half of #21131 (closed into Shell on 18 Nov) in one cohesive Portal PR so the Tiles and Find lanes can stack cleanly.

The Problem

On dev (0128668721), /examples renders Overview.mjs without the upright desktop navigation list (GroupIndex, presentation 'list'), repeating every published group across GroupList overview cards, four band card sections, and the 4-band index while showing zero actual example cards. Group pages (GroupPage.mjs) mount 44 separate GroupIndex instances (list + sheet) and 22 buildControl instances across the cached card stack, render 2 columns instead of 3 at 1440×900 (410px minimum card width), omit the resting "live examples" / "Open live" cues and visible multi-window label (#21131), and still carry the pre-re-cut 22-group topology (4 bands, timeline group, unrenamed Tree / Kanban Board / Tab Container).

The Architectural Reality

  • apps/portal/view/examples/MainContainer.mjs:67–97, 158–196: owns familyDefinitions, catalog, groups, buildModes, and the card stage (removeInactiveCards: false). Currently each GroupPage constructs its own GroupIndex (list), mobile crumb/sheet, and buildControl, while Overview sits at index 0 without the left navigation rail.
  • apps/portal/view/examples/MainContainerController.mjs:96–141: publishes ExampleGroup records (deriving image covers for GroupList) and switches MainContainer.layout.activeIndex.
  • apps/portal/view/examples/Overview.mjs:75–208 & apps/portal/view/examples/GroupList.mjs: build 3 startFamilies group cards, 4 band sections of group cards, and desktop GroupIndex (overview), duplicating navigation and showing no concrete example cards.
  • apps/portal/view/examples/GroupIndex.mjs:141–190: assumes every group has a non-empty band string and omits aria-current="page" on "All examples" when on /examples.
  • apps/portal/model/ExampleGroup.mjs:44–80: carries image / tile fields solely for GroupList and returns "N example(s)" rather than "N live example(s)".
  • apps/portal/view/examples/List.mjs:143–172 & resources/css/src/apps/portal/examples/List.css: uses minmax(min(100%, 410px), 1fr) (yielding 2 columns at 1440×900), renders .neo-multi-window as an icon-only circle without text/aria-label, and shows no resting open-live cue on the caption.
  • buildScripts/docs/seo/seoJson.mjs:494–524 & apps/portal/service/Seo.mjs:33–71: validated 1:1 by Generate.spec.mjs and Seo.spec.mjs against familyDefinitions.
  • Design authority: #21140 body ("The target, Wed 18 Nov 2026" and "The list") approved on operator board read (13:30Z, "i already like your new drafts"), plus #21140 Design 7 folding #21131.

The Fix

  1. Hoist shared shell & navigation into MainContainer.mjs (GroupPage.mjs simplified):
    • MainContainer (layout: {ntype: 'grid'}) renders once: .portal-examples-group-crumb (mobile crumb + GroupIndex sheet, hidden on desktop and on /examples), .portal-examples-sidebar (desktop GroupIndex list, ready for Find to prepend above "All examples"), and .portal-examples-stage (card layout holding Overview + published GroupPage cards with removeInactiveCards: false).
    • MainContainerController updates MainContainer#syncNavigation(group) and switches stage.layout.activeIndex.
    • GroupPage becomes a clean scrolling pane owning only its .portal-examples-group-header (h1, subtitle, buildControl) and List (leadCard: true).
  2. Apply the 21-group "The list" re-cut (#21140):
    • Update MainContainer#familyDefinitions to 21 groups: unbanded Apps (band: null) first, followed by 5 bands (Data views, Planning, Layout, Components, Platform), renaming Trees (tree), Task Board (board, keeping "kanban" in sentence & SEO title), and Tabs (tabs), removing timeline, removing tile, and setting tileHeading: 'Field types' on forms.
    • Update apps/portal/resources/data/examples.json: set timeline-basic (family: 'grid-table', alsoIn: ['scheduler']), add 'tree' to alsoIn on grid-tree and grid-tree-big-data, rename helix from "component.Helix" to "3D Helix", place the 12 Start here records first in #21140 catalog order (grid-big-data, workstation, grid-tree-big-data, dock-choreography, shared-covid, grid-issues, scheduler-basic, gantt-basic, board-basic, calendar, webdesktop, helix) with featured: true, and set featured: false on all other records.
    • Align buildScripts/docs/seo/seoJson.mjs (EXAMPLE_FAMILY_SEO), apps/portal/service/Seo.mjs (routeTitles), and regenerated apps/portal/resources/data/seo.json.
    • Update GroupIndex.mjs & GroupIndex.css to render unbanded groups above the first band section and mark "All examples" aria-current="page" when activeFamily === null.
  3. Transform Overview.mjs into Start here & retire GroupList:
    • Remove apps/portal/view/examples/GroupList.mjs, resources/css/src/apps/portal/examples/GroupList.css, and image / tile fields from ExampleGroup.
    • Overview.mjs keeps the headline ("<N> live examples in <M> groups"), workers lead sentence, primary CTA buttons, and "Start here" header with buildControl, then renders a Portal.view.examples.List (leadCard: true, showGroup: true) bound to a chained ExampleStore filtering item.featured && Example.publishes(item, catalogMode). Mobile (<= 640px) renders GroupIndex (presentation: 'overview') below the cards only.
  4. 3-column grid, 2×2 lead card, and folded #21131 cues (List.mjs + List.css):
    • Switch .portal-examples-list to 3 columns beside the sidebar at 1440×900 (@container (min-width: 1040px)), spanning .portal-examples-list-with-lead > .neo-list-item:first-child across 2 columns × 2 rows with a 9:16 row/column gap ratio (13.5px 24px) so card bottoms align cleanly.
    • Render top-left group badges on Start here (showGroup: true), a visible "Multi-window" label + aria-label on .neo-multi-window, "live example(s)" in ExampleGroup.countLabel, and a resting "Open live ↗" caption cue (>= 4.5:1 contrast, opacity: 1, >= 45% desktop / >= 30% phone clear cover, hidden on hover/focus/selection).

Contract Ledger

Surface Authority Behaviour Fallback Docs Evidence
Portal.view.examples.MainContainer (familyDefinitions, hoisted shell) #21140 Design 1–2, "The list" 21 groups (Apps band: null + 5 bands); hosts one GroupIndex (list), mobile crumb+sheet, and card stage Unknown route resolves to Start here (Overview) Class & config JSDoc MainContainerController.spec.mjs, Generate.spec.mjs, ExamplesCatalogNL.spec.mjs
Portal.view.examples.Overview (Start here) #21140 Design 3 Renders featured Portal.view.examples.List (leadCard: true, showGroup: true); mobile-only GroupIndex (overview) below cards Hides unpublished featured records via Example.publishes() Class & method JSDoc MainContainerController.spec.mjs, ExamplesCatalogNL.spec.mjs
Portal.view.examples.List (leadCard_, showGroup_, resting cues) #21140 Design 3, 6, 7 & #21131 3 cols + 2×2 lead at 1440×900; optional group pill; resting "Open live ↗" cue; "Multi-window" visible text + aria-label 1–2 columns below container threshold Config & method JSDoc ExamplesCatalogNL.spec.mjs contrast & geometry checks
Portal.model.ExampleGroup (countLabel, retired image/tile) #21140 Design 3, 7 Drops image and tile; countLabel uses "live example" / "live examples" count === 0 renders "N live examples from other groups" Class & method JSDoc MainContainerController.spec.mjs
Portal.view.examples.GroupList (retired) #21140 Design 3 Removed (Overview uses Portal.view.examples.List) n/a Removed from view & CSS seo/verify.mjs, ExamplesCatalogNL.spec.mjs
EXAMPLE_FAMILY_SEO / Portal.service.Seo#routeTitles buildScripts/docs/seo/seoJson.mjs, #21140 "The list" Removes /examples/timeline; aligns /examples/board (Task & Kanban Board), /examples/tabs, /examples/tree getExampleFamilySeo fallback Method JSDoc Generate.spec.mjs, Seo.spec.mjs, Verify.spec.mjs

Decision Record impact: none (neomjs/neo-agent-brain ADRs unaffected; #21140 operator-directed Portal target).

Acceptance Criteria

  • Desktop /examples (1440×900) and every /examples/{group} route display one hoisted left GroupIndex (presentation: 'list', .portal-examples-sidebar) ordered per #21140 "The list": "All examples" (aria-current="page" on /examples), unbanded Apps, then the 5 bands (Data views, Planning, Layout, Components, Platform), with Trees, Task Board, Tabs, and no Timeline group.
  • Phone (390×844) keeps Start here cards + mobile-only banded GroupIndex (overview) below on /examples, and keeps the hoisted crumb + GroupIndex (sheet) on /examples/{group}.
  • Overview.mjs renders "Start here" with the 12 catalog-ordered featured: true demonstrations (11 currently published; board-basic once covered), each with its home group pill, a 2×2 lead card and 3 card columns at 1440×900; GroupList and ExampleGroup tile/image are deleted.
  • Group pages render 3 columns with a 2×2 lead card at 1440×900, grid-tree and grid-tree-big-data appear under Trees (alsoIn: ['tree']), timeline-basic sits under Grid & Table with alsoIn: ['scheduler'], helix renders as "3D Helix", every count line uses "live example(s)", every card caption shows a resting >= 4.5:1 open-live cue leaving >= 45% desktop / >= 30% phone cover clear, and .neo-multi-window displays "Multi-window" with an accessible name.
  • node buildScripts/build/themes.mjs -f -n -t all -e dev, node buildScripts/docs/seo/generate.mjs && node buildScripts/docs/seo/verify.mjs, unit specs (MainContainerController.spec.mjs, Generate.spec.mjs, Verify.spec.mjs, Seo.spec.mjs), and Whitebox E2E (ExamplesCatalogNL.spec.mjs) pass cleanly.
  • Look: unlabelled before (dev 0128668721) and after frames at 1440×900 and 390×844 (/examples and /examples/grid, dark and light themes) evaluated by two cold readers, both scoring after > before and naming opening a live example as the next action.

Out of Scope

  • Find cross-group filter input (#21140 Design 8 — separate leaf ticket & stacked PR right after Shell).
  • Tiles (#21140 Design 4–5: kind: 'component', 6-per-row dark workbench crop tiles, and crop recipes).
  • Individual group slate renewals, new demonstrations, and apps/portal/view/home/.

Avoided Traps

  • Leaving tileHeading / band: null as non-literal expressions in MainContainer#familyDefinitions (breaks Acorn parsing in seoJson.mjs#extractExampleFamilyDefinitions).
  • Leaving stale /examples/timeline or mismatched /examples/{board,tabs,tree} titles between seoJson.mjs and Portal.service.Seo (fails Generate.spec.mjs / Seo.spec.mjs).
  • Creating another GroupIndex inside Overview or keeping 44 instances in GroupPage instead of hoisting into MainContainer.

Related

Parent #21140 · #21131 (folded closed into #21140) · #21130 · #21141

Live latest-open + closed sweep: latest 20 open read (65 open, red band) and searches across all states ("examples shell Start here", "find examples group list", "#21131", "#21306") at 2026-11-18T14:02Z; no open leaf owns #21140 Shell (#21131 and #21306 are closed). A2A in-flight sweep: latest 30 messages + unread mailbox at 14:02Z, zero competing claim on Shell (Clio confirmed Shell & Find open for Julia at 13:34Z and sent 13:55Z re-cut note). MC sweep: "examples overview repeats group list no examples shown drag across groups", 5 results, no contradicting decision. Own-assignment sweep: #20671, #20987, neither overlaps.

Origin Session ID: 613064f8-74aa-4baa-8ee7-6a0b8540f31b

Retrieval Hint: "Portal examples Shell hoisted GroupIndex 21 groups unbanded Apps 5 bands Start here featured 2x2 lead card 3 columns folded 21131"

🏛️ Julia · @neo-gemini-julia · Gemini 4 Argon · Antigravity

tobiu referenced in commit 458a00c - "feat(portal): host 21-group list across examples shell and open on Start here (#21325) (#21347) on Nov 18, 2026, 11:06 PM
tobiu closed this issue on Nov 18, 2026, 11:06 PM