LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtNov 19, 2026, 7:13 AM
updatedAtNov 20, 2026, 12:57 AM
githubUrlhttps://github.com/neomjs/neo/issues/21447
authorneo-opus-vega
commentsCount0
parentIssue21367
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[x] 21338 A sign-up form validates as you type and lists what is wrong
blocking[]
closedAtNov 20, 2026, 12:57 AM

Buttons, Menus & Toolbars shows a context menu, a breadcrumb and a paging toolbar working

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

Owned: a leaf of #21367 until its lock, Sun 22 Nov 18:00 CET. The group's renewal, after its defects (#21430 merged, #21434 in review).

Context

#21140's target for Buttons, Menus & Toolbars is 4 cards; it shows none. The rows on #21142 (comment) renew menu/context, toolbar/breadcrumb and toolbar/paging, add an application toolbar whose items arrive as JSON, and leave button/effect, menu/panel and serverside/toolbarItems without a card. Measured on dev 87e0ae1bc4 at 1280 × 720:

  • examples/menu/context is the page test/playwright/e2e/rendering/ContextMenuNL.spec.mjs drives: a dark workspace that says "Right-click anywhere in this workspace", a "Focusable outside target" button and "Last action: none". It tests the menu; it does not show what a context menu is for.
  • examples/toolbar/breadcrumb follows a tree of buttons (Home, Accessibility, Forms › Form 1 › Page 2) that navigate nowhere.
  • examples/toolbar/paging shows zero rows: its store reads a remote API (remotes-api.json).
  • examples/grid/serverSide (#21384) already runs Neo.toolbar.Paging against the seeded SimulatedConnection, and it publishes in Grid & Table with a cover.

The Problem

A visitor who opens Buttons, Menus & Toolbars finds no card. The context menu's page is a test harness, the breadcrumb walks a tree of placeholder buttons, and the paging toolbar pages through nothing. Rebuilding toolbar/paging on #21189's simulated server would copy grid/serverSide, which already shows that toolbar paging real rows.

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.

  • Records: apps/portal/resources/data/examples.json; a record joins another group through alsoIn and counts once, in its home group. Capture recipes: apps/portal/resources/data/example-captures.json; images ship in a neomjs/pages pull request.
  • Neo.menu.List opens as a context menu from a contextmenu DOM event; its submenus come from nested items (#21434 is the tree-store path).
  • Neo.toolbar.Breadcrumb renders the path to its activeKey from a store of records with parentId.
  • The catalog count specs follow every card: test/playwright/unit/apps/portal/view/examples/MainContainerController.spec.mjs and test/playwright/e2e/portal/ExamplesCatalogNL.spec.mjs.

The Fix

  • A new examples/menu/contextFiles/: project files in a list; a right-click on a file selects it and opens a context menu (Open, Duplicate, Move to › folders, Star, Delete) whose actions change the list, and a right-click on the free space offers New file. examples/menu/context stays as the spec's harness.
  • examples/toolbar/breadcrumb renewed on a real hierarchy, the engine repository's folders: the page shows the current folder's description and its subfolders; a subfolder goes one level down, a crumb goes back up, and the hash route holds the place. (A Neo.tree.List beside it was dropped: its folder click toggles the folder rather than navigating.)
  • grid-server-side gets alsoIn: ['buttons'], which shows the paging toolbar in this group without a second copy of the simulated server.
  • Records, recipes and covers for the two new cards; the count specs follow.

Acceptance Criteria

  • AC-1: In examples/menu/contextFiles, a right-click on a file selects it and opens its context menu at the pointer; each action changes the list as its label says; Escape closes the menu.
  • AC-2: In examples/toolbar/breadcrumb, a subfolder shows its path in the breadcrumb and lists its own subfolders; a crumb returns to that ancestor; a reload keeps the place.
  • AC-3: At 390 × 844 neither page cuts a label or a control.
  • AC-4: Buttons, Menus & Toolbars shows the two cards with covers taken after their content is drawn, and grid-server-side as a card from Grid & Table.
  • AC-5: The catalog count specs follow.

Out of Scope

  • The application toolbar whose items arrive as JSON: a contributor leaf, filed beside this one.
  • The split button and menu tree tiles: the tile lane (#21329, #21333) takes them once #21430 and #21434 are merged.
  • Deleting button/effect, menu/panel, serverside/toolbarItems or toolbar/paging: they get no card; their folders stay.

Avoided Traps

  • A second simulated server for toolbar/paging: it would copy examples/grid/serverSide/SimulatedConnection.mjs to show the same toolbar.
  • Renewing menu/context in place: the e2e spec drives that page and its markers.

Related

Live latest-open + closed sweep: checked latest 20 open + open and closed search (context menu example, breadcrumb example, application toolbar, paging toolbar; Out of Scope read on #17826, #21141, #21189) at 2026-11-19T06:13:06Z; no equivalent found. Backlog band: 73 open (red); folds under its owning epic #21367. A2A claim sweep: latest 30 messages in all read-states, newest 06:12:27Z; no claim on Buttons, Menus & Toolbars. MC sweep: "Buttons Menus Toolbars group no card …", 5 results, no prior decision. Own-assignment sweep: 11 open; #21367 owns this band, no other overlap.

Origin Session ID: b33f6179-c8bd-4549-8e98-2007d2175e6d Retrieval Hint: "Buttons Menus Toolbars renewal: context menu on a file list, breadcrumb on a folder tree, paging via grid-server-side alsoIn"