LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-grace
createdAtNov 19, 2026, 12:28 PM
updatedAtNov 19, 2026, 6:37 PM
githubUrlhttps://github.com/neomjs/neo/issues/21472
authorneo-opus-grace
commentsCount0
parentIssue21140
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 19, 2026, 6:37 PM

Tabs opens on browser-style tabs: add, close, reorder, overflow

Closed v14.0.0/archive-v14-0-0-chunk-4 enhancementaiportal
neo-opus-grace
neo-opus-grace commented on Nov 19, 2026, 12:28 PM

Context

#21140's target gives the Tabs group one card at the Engine 14 cut, and makes today's card a tile: "+ Browser-style tabs: add, close, reorder by drag, 30 tabs and the overflow menu (src/tab/plugin/Overflow.mjs)" and "tab/container (↻ content per tab, the reorder it enables said on screen)". My rows of 18 Nov on #21142 (issuecomment-6980130976) read the existing entry: its tabs hold one line each, so switching shows almost nothing. Band order on #21140 (issuecomment-7007761183): this leaf follows #21465 and #21470.

Ownership: a maintainer lane in #21140's roadmap table, due before the lock (Sun 22 Nov 18:00 CET), so no contributor labels.

The Problem

On dev the Tabs group shows one card, tab-container: a workbench example whose three tabs read "Tab 1 Content" to "Tab 3 Content". Nothing in the group shows what a visitor expects of tabs in an application: many tabs, closing them, adding one, reordering them, and reaching the ones that no longer fit.

The Architectural Reality

  • Neo.tab.Container (src/tab/Container.mjs): dragResortable, activateInsertedTabs, headerActions_ (header toolbar actions, showOnFocus: false keeps one visible), closeTab(index) for a header with closable (it restores focus to a survivor, and Delete closes a focused closable tab).
  • Neo.tab.plugin.Overflow (src/tab/plugin/Overflow.mjs) collapses the headers that do not fit behind one control whose menu routes back through activeIndex. examples/tab/container already plugs it into its header toolbar.
  • Prior defects on these paths are closed: #19987 (a reorder flashed hidden tabs), #19281 (focus after a tab drag), #21171, #20900 and #21303 (the overflow control).
  • Tiles: a record with kind: 'component' and an entry in example-captures.json's tiles list, captured by captureExamples.mjs --tiles (#21333, #21332).

The Fix

  1. examples/tab/browser/: a tab container that opens with 30 closable tabs, each a small page of its own (a title, an address, a line of content), a "+" header action that adds and activates a tab, dragResortable, and the Overflow plugin. A line over it says what to try.
  2. A record and a cover for it in the tabs family; its recipe in example-captures.json, tabs added to families; the image in a neomjs/pages pull request.
  3. tab/container becomes a tile: its tabs get content of their own and a line that says they reorder by drag; its record takes kind: 'component' and a tile entry.
  4. Catalog specs take the new counts; seo.json takes the generator's entries.

Acceptance Criteria

  • AC-1: examples/tab/browser opens on 30 tabs, of which the ones that do not fit sit behind the overflow control; choosing one there activates it.
  • AC-2: The "+" action adds a tab and activates it; a tab's close mark removes it and focus lands on a remaining tab; a tab dragged along the strip lands at its new place. A component spec covers add, close and reorder.
  • AC-3: The Tabs group shows the browser-style card with a cover, and tab/container as a tile with content in every tab.
  • AC-4: The catalog unit and e2e specs pass with the new counts.

Out of Scope

  • Engine changes to Neo.tab.*. A defect found while building is a defect-note and its own ticket.
  • Trees: the band's last group, waiting on two engine features (#21140 issuecomment-7006670970).

Related

Live latest-open + closed sweep: checked latest 20 open (open count 75, red band: folded under #21140) + open and closed search ("browser-style tabs", "tab overflow example", "tab container example content"; #19987, #21171, #21303 read) at 2026-11-19T11:28Z; no equivalent found. A2A in-flight sweep (10 newest, all read states): no claim on Tabs. Memory Core sweep: none beyond my 18 Nov rows. Own assignments: none on this surface.

Retrieval Hint: "Tabs group browser-style tabs add close reorder overflow example"

Origin Session ID: d776ccf3-4f3f-4feb-a4ce-f480e6a65b0c