Owned: a leaf of #21367 until its lock, Sun 22 Nov 18:00 CET. The group's renewal, after its defects (#21415, #21423, #21431).
Context
#21140's target for Dialogs & Overlays is 3 cards; it shows 1. The rows on #21142 (comment) renew dialog, component/toast and popover, and leave the Tooltips example to a contributor (#21367). Measured on dev 5a3cb4de67:
examples/dialog at 375 × 812: the option row does not wrap. "Animated" starts at x 392 and "Modal" at x 496, so two of the three checkboxes are off the screen.
examples/component/toast: the printed call carries the example's own appName and windowId values and import … from '../../../../node_modules/neo.mjs/src/component/Toast.mjs', a path that resolves only from that folder.
examples/popover: opens in the window's corner until #21426 merges.
The Problem
A card publishes only with a cover taken after its content is drawn (#21367). Dialog and toast have no capture recipe, and the popover has nothing worth capturing until its fix lands. A reader at phone width cannot reach two of the dialog's options, and a reader who copies the toast call gets values and a path that only work inside the example.
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. Capture recipes: apps/portal/resources/data/example-captures.json, run by buildScripts/docs/captureExamples.mjs. The images ship in a companion neomjs/pages pull request, as #21328 did for the map.
- The catalog's 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
examples/dialog/MainContainer.mjs: the option row wraps, so every control stays on screen at 390 px.
examples/component/toast/MainContainer.mjs: the printed call reads as code a component can run: appName: this.appName, windowId: this.windowId instead of their values, and no folder-relative import path.
example-captures.json: recipes for the dialog (open), the toast (shown) and the popover (open at its button), each waiting until the content is drawn.
examples.json: the three covers; the count specs follow; a neomjs/pages pull request carries the images.
Acceptance Criteria
Out of Scope
- The Tooltips example: a contributor leaf (#21367).
- The dialog's title-bar hover: #21422.
Related
- Parent: #21367. Slate: #21142. Target: #21140. Blocked by: #21423 (the popover's cover is taken from the fixed example).
Live latest-open + closed sweep: checked latest 20 open + open and closed search (Dialogs Overlays; toast example) at 2026-11-19T04:09:21Z; no equivalent found. Backlog band: 80 open (red); folds under its owning epic #21367.
A2A claim sweep: no claim on Dialogs & Overlays; the group is mine on #21367.
MC sweep: covered by #21367's sweep of the component groups; no prior decision on these three cards.
Own-assignment sweep: none overlapping.
Retrieval Hint: "Dialogs & Overlays renewal: dialog wraps at 390, toast prints runnable code, three covers"
Owned: a leaf of #21367 until its lock, Sun 22 Nov 18:00 CET. The group's renewal, after its defects (#21415, #21423, #21431).
Context
#21140's target for Dialogs & Overlays is 3 cards; it shows 1. The rows on #21142 (comment) renew
dialog,component/toastandpopover, and leave the Tooltips example to a contributor (#21367). Measured ondev5a3cb4de67:examples/dialogat 375 × 812: the option row does not wrap. "Animated" starts at x 392 and "Modal" at x 496, so two of the three checkboxes are off the screen.examples/component/toast: the printed call carries the example's ownappNameandwindowIdvalues andimport … from '../../../../node_modules/neo.mjs/src/component/Toast.mjs', a path that resolves only from that folder.examples/popover: opens in the window's corner until #21426 merges.The Problem
A card publishes only with a cover taken after its content is drawn (#21367). Dialog and toast have no capture recipe, and the popover has nothing worth capturing until its fix lands. A reader at phone width cannot reach two of the dialog's options, and a reader who copies the toast call gets values and a path that only work inside the example.
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.
apps/portal/resources/data/examples.json. Capture recipes:apps/portal/resources/data/example-captures.json, run bybuildScripts/docs/captureExamples.mjs. The images ship in a companionneomjs/pagespull request, as #21328 did for the map.test/playwright/unit/apps/portal/view/examples/MainContainerController.spec.mjsandtest/playwright/e2e/portal/ExamplesCatalogNL.spec.mjs.The Fix
examples/dialog/MainContainer.mjs: the option row wraps, so every control stays on screen at 390 px.examples/component/toast/MainContainer.mjs: the printed call reads as code a component can run:appName: this.appName, windowId: this.windowIdinstead of their values, and no folder-relative import path.example-captures.json: recipes for the dialog (open), the toast (shown) and the popover (open at its button), each waiting until the content is drawn.examples.json: the three covers; the count specs follow; aneomjs/pagespull request carries the images.Acceptance Criteria
examples/dialogis on screen.Out of Scope
Related
Live latest-open + closed sweep: checked latest 20 open + open and closed search (Dialogs Overlays; toast example) at 2026-11-19T04:09:21Z; no equivalent found. Backlog band: 80 open (red); folds under its owning epic #21367. A2A claim sweep: no claim on Dialogs & Overlays; the group is mine on #21367. MC sweep: covered by #21367's sweep of the component groups; no prior decision on these three cards. Own-assignment sweep: none overlapping.
Retrieval Hint: "Dialogs & Overlays renewal: dialog wraps at 390, toast prints runnable code, three covers"