LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtNov 19, 2026, 8:05 AM
updatedAtNov 19, 2026, 3:46 PM
githubUrlhttps://github.com/neomjs/neo/issues/21454
authorneo-opus-vega
commentsCount0
parentIssue21367
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[ ] 21459 Lists & Galleries part 2: drag reorder, the animated list, three tiles
closedAtNov 19, 2026, 3:46 PM

Lists & Galleries renews the gallery, the helix and the country pair

Closed v14.0.0/archive-v14-0-0-chunk-4 enhancementaiportal
neo-opus-vega
neo-opus-vega commented on Nov 19, 2026, 8:05 AM

Owned: a leaf of #21367 until its lock, Sun 22 Nov 18:00 CET. Part 1 of Lists & Galleries: the four cards it already publishes. Part 2 (reorder by drag in a list and a card grid, component/carousel with images, list/buffered and list/circle) follows as its own leaf, as Charts did in two parts.

Context

#21140's target for Lists & Galleries is 5 to 7 cards. It publishes four (gallery, helix, covid-gallery, covid-helix); carousel has no cover. The rows on #21142 (comment, correction 6) renew all four. Measured on dev 87e0ae1bc4:

  • All four frames carry a "DeltaUpdates / s: 0" counter (renderCountDeltas: true in their neo-config.json) and a GitHub star button loaded from buttons.github.io; both helix pages add a logDeltaUpdates checkbox.
  • The gallery's "Navigation Concept" label passes its markup through text (examples/component/gallery/MainContainer.mjs:199), so the card prints <b>Navigation Concept</b><p>…</p> as text.
  • "Sort by Lastname" and "Sort by Firstname" are disabled: true in the gallery (since 2021) and the helix (examples/component/helix/Viewport.mjs:209, :217), while all 590 records of resources/examples/data/ai_contacts.json carry firstname and lastname.
  • At 390 × 844 the 260-px control panel takes two thirds of the width.
  • The COVID pair reads cvid_static_countries.json from neomjs/pages (useFallbackApi: true in both neo-config.json), a snapshot of the disease.sh feed: a 2020 subject whose "Cases today" reads 0 on every card. #21166 moved the country grid off that feed to examples/grid/countries/data/countries.json: 217 economies, World Bank indicators retrieved 2026-11-17, CC BY 4.0.

The Problem

A visitor who opens Lists & Galleries sees four cards whose frames show a counter at zero, a star button, raw tags and two disabled buttons, and two of them show a pandemic's numbers frozen in 2020. None of that is what Gallery and Helix are for: laying out a store's records in 3D, sorting them, and walking them by keyboard.

The Architectural Reality

Design authority: #21367's terminal predicate, "every label drawn, focus where the page promises, nothing cut at 390 px, no card that opens on an error", and #21140's card count.

  • Neo.component.Gallery and Neo.component.Helix build an item per record (createItem) and follow their store's sort.
  • The countries file gives each record flag (ISO 3166 alpha-2), country, region and nine indicators. Neo.util.CountryFlags.getFlagUrl() resolves a code to its flag; CountryGallery.mjs:115-173 maps names to flag images by hand.
  • Records: apps/portal/resources/data/examples.json (family lists); recipes: example-captures.json; seo.json; covers ship in a neomjs/pages pull request. Count specs: MainContainerController.spec.mjs, ExamplesCatalogNL.spec.mjs.

The Fix

  • Gallery and helix: the counter, the star button and the logDeltaUpdates checkbox go; the Navigation Concept label renders its markup; both sort buttons are enabled and reorder the items; at 390 the component keeps the screen and the controls stay reachable.
  • The COVID pair becomes a country pair on #21166's file, read where it lives: examples/component/countryGallery and countryHelix (ids country-gallery, country-helix). Each item shows the flag, the country and three indicators, and the page names its source. The snapshot fetch with its live-API branch and the name-to-flag table go.
  • Records, recipes, SEO entries and covers for the four cards; the count specs follow.

Acceptance Criteria

  • AC-1: The two country pages load no COVID data. The gallery and the helix keep their DeltaUpdates counter, star button and logDeltaUpdates checkbox (the operator's review on #21458).
  • AC-2: The gallery's Navigation Concept label renders as formatted text, no tag visible.
  • AC-3: The helix's Sort by Lastname and Sort by Firstname sort by what they say once all 600 items render, and stay disabled below that, as the gallery's do: a partly rendered store does not animate its sorting.
  • AC-4: The country gallery and helix show the 217 economies of examples/grid/countries/data/countries.json, each with its flag and three indicators, and name the World Bank as their source.
  • AC-5: At 390 × 844 no card cuts a label or a control.
  • AC-6: The four cards publish with covers taken after their content is drawn; the count specs follow.

Out of Scope

  • Part 2 of the group (above), filed after this leaf.
  • Engine changes to Gallery or Helix beyond what a sort needs.

Avoided Traps

  • Keeping the COVID pair on its static Pages snapshot: it keeps 2020's numbers, "today" columns of zero included.
  • A second copy of the countries file: one file keeps one source and one retrieval date for the grid and both pages.

Related

Parent: #21367. Slate: #21142. Target: #21140. Data: #21166. Siblings: #21439, #21447.

Live latest-open + closed sweep: checked latest 20 open + open and closed title search (gallery, helix, covid; #301's static fallback and #20409 read) at 2026-11-19T07:04:45Z; no equivalent found. Backlog band: 78 open (red); folds under its owning epic #21367. A2A claim sweep: latest 30 messages in all read-states, newest 07:01:12Z; no claim on Lists & Galleries. MC sweep: "Lists & Galleries leaf: gallery helix renewal …", 5 results, no prior decision. Own-assignment sweep: 13 open; #21367 owns this band, no other overlap.

Retrieval Hint: "Lists & Galleries part 1: gallery and helix without counter and star button, sort enabled, COVID pair onto the World Bank countries file"