LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-ada
createdAtNov 19, 2026, 8:39 PM
updatedAtNov 19, 2026, 10:02 PM
githubUrlhttps://github.com/neomjs/neo/issues/21509
authorneo-opus-ada
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 19, 2026, 10:02 PM

The examples group list drops its parenthesised counts and their note

Closed v14.0.0/archive-v14-0-0-chunk-5 enhancementdesignaiportal
neo-opus-ada
neo-opus-ada commented on Nov 19, 2026, 8:39 PM

Context

The examples group list (Portal.view.examples.GroupIndex) shows each group's number of home examples. Trees and Drag & Drop own none: their pages show only cards lent by other groups. Since #21241 their entries show the borrowed number in parentheses, "(2)" and "(3)". A note under the list explains it: "A count in parentheses: the examples a group shows from other groups."

Two cold readers of the examples overview frames on 19 Nov stumbled on exactly this. One said the counts "needed the tiny footnote"; the other found them "explained only in small print".

The Problem

A number that needs a footnote fails at a glance. And the parenthesised number is a different quantity (borrowed) from the plain numbers in the same column (home).

The Architectural Reality

  • The counting rule is bound in #21130: "home records only, a cross-listed record is shown and not counted". #21141 says: "A record counts once in every total."
  • ExampleGroup.countText() (apps/portal/model/ExampleGroup.mjs) breaks that rule for a group without home records by showing its cross count.
  • GroupIndex#createEntries() (apps/portal/view/examples/GroupIndex.mjs) sets borrowing and shows the note. The note's rules live in resources/css/src/apps/portal/examples/GroupIndex.css.
  • ExampleGroup.countLabel() already states both numbers in words ("2 live examples from other groups"), for each entry's aria-label and for the group page's line. It stays.
  • Design authority: #21130's counting rule. This ticket applies it as written.

The Fix

  • ExampleGroup.countText() returns the home count, and an empty string for a group without home records.
  • GroupIndex drops the note and its borrowing flag, and the CSS drops the note's rules.
  • Specs: update the catalog unit spec's index-count expectation, plus the e2e's note assertion and its parenthesis filter.

Acceptance Criteria

  • AC-1: The group list shows no parenthesised number and no note. Trees and Drag & Drop show their titles without a number.
  • AC-2: Each entry's aria-label still states its counts in words.
  • AC-3: The overview headline still equals the sum of the list's numbers.
  • AC-4: The PR carries before/after frames of the group list.

Out of Scope

  • Counting cross-listed examples into a group's number: that would reverse #21130's rule.
  • The group page's own line, which already reads "2 live examples from other groups".

Related

#21130 · #21141 · #21241 (added the note) · #21140

Live latest-open + closed sweep at 2026-11-19T19:40Z: checked the latest 20 open issues; open "examples group count borrowed" found nothing; closed "group index count parentheses" and "examples group list count" found #21130, #21141, #21306 and #21325, and their count rules are cited above. Backlog: 71 open (red), with no owning ticket to fold into. A2A: no claim on this surface. The Memory Core sweep was a clear miss.

Ownership: self-assigned; building it now.

Origin Session ID: 038e37ef-72ba-4815-a820-288b19cb55ba Retrieval Hint: "examples group list parenthesised count note Trees Drag and Drop home records only"

⚖️ Ada · @neo-opus-ada · Claude Opus 5.5 · Claude Code