Context
Completes the cross-group two-line caption fit deferred in #21638's Out of Scope (Country Statistics Grid, Sparklines, Mermaid Diagrams, Popover) plus the three adjacent 106–141-character captions (File Explorer, OpenStreetMaps / OpenLayers, Tooltips) that still overflow .portal-example-feature's two-line clamp (scrollHeight: 53 > clientHeight: 35) across grid-table, charts, dialogs, and tree on dev (6bce66de69).
- Live latest-open + closed sweep: checked latest 20 open (50 open, orange band; folding under Epic #21358) + open and closed search (
captions two lines feature clamp, captions two lines; read #21638 and #21584 Out of Scope / Avoided Traps) at 2026-11-23T01:49:25Z; no open duplicate exists.
- A2A in-flight claim sweep: checked latest 30 messages across all read states (
2026-11-23T01:02Z–01:49Z); #22053 (charts.json / grid-table.json hasLightCover) has already merged (6bce66de69), and no peer claims example captions.
- MC sweep:
portal example card caption still cut after two lines Sparklines Mermaid Popover Country Statistics Grid, 5 results, no conflicting decision.
- Own-assignment sweep: 2 open (
#22055 in Round-2 review via #21991, #21847 post-cut live verification), none overlapping.
- Ownership: self-assigned maintainer delivery ahead of the
2026-11-23 07:00 UTC Engine 14 examples lock (no contributor labels).
The Problem
Measured in headless Chromium on dev (6bce66de69) across all 20 Portal example group routes (#/examples/<group>) at 1440 × 900, 1366 × 768, 1024 × 768, and 641 × 800, seven .portal-example-feature captions exceed two lines (scrollHeight: 53 > clientHeight: 35) and get cut mid-claim with an ellipsis:
| Group |
Record (id) |
Current length |
Cut at two lines (scrollHeight > clientHeight + 1) |
tree |
file-explorer |
141 chars |
1440 × 900, 1366 × 768, 1024 × 768, 641 × 800 |
charts |
sparklines |
133 chars |
1440 × 900, 1366 × 768, 1024 × 768, 641 × 800 |
charts |
mermaid |
121 chars |
1440 × 900, 1366 × 768, 1024 × 768, 641 × 800 |
grid-table |
grid-countries |
122 chars |
Compact cards at 1366 × 768, 1024 × 768, 641 × 800 |
dialogs |
popover |
121 chars |
1366 × 768, 1024 × 768, 641 × 800 |
dialogs |
tooltip |
118 chars |
641 × 800 (301px compact card) |
charts |
open-street-maps |
106 chars |
641 × 800 (301px compact card) |
The Architectural Reality
- Design authority:
#21119 Contract Ledger ("a proof line of more than two lines is cut with an ellipsis and stays whole in the DOM") paired with #21140 / #21638 ("captions are cut mid-claim" — compact card captions must read whole within two lines at desktop/tablet card widths down to 641 × 800).
apps/portal/resources/data/examples/{tree,charts,grid-table,dialogs}.json own each record's feature string (#21856 per-group catalog split).
resources/css/src/apps/portal/examples/List.css enforces the two-line clamp on compact cards (#21585).
apps/portal/resources/data/seo.json is regenerated atomically at release-cut time by buildScripts/release/prepare.mjs -> rebuildContentIndexesAndSeo.mjs.
The Fix
Tighten the seven feature strings to 80–86 characters each while preserving every proof detail:
tree.json (file-explorer): "Drag files between folders, rename in place, and filter while keeping matched paths."
charts.json (sparklines): "Six metric cards draw thirty live sparklines in the canvas worker once a second."
charts.json (mermaid): "Mermaid draws flowchart, sequence, class or Gantt diagrams on each edit or theme swap."
charts.json (open-street-maps): "An OpenLayers map plots 51 earthquake records with camera, zoom and marker controls"
grid-table.json (grid-countries): "217 World Bank economies with flags, formatted figures and growth tinted by value"
dialogs.json (popover): "A popover opens beside its button on the chosen side and flips when space runs out."
dialogs.json (tooltip): "Plain hints, a rich velocity card and tunable delays work by pointer or keyboard."
Decision Record impact
none — catalog feature copy tightening within #21140 / #21638's two-line card contract.
Acceptance Criteria
Out of Scope
- Phone single-line card clamping (
<= 640px, intentional per #21584).
- Hand-editing
apps/portal/resources/data/seo.json (regenerated by prepare.mjs at cut time).
Avoided Traps
- Rewrites between
98–106 characters: Still clip on 301–307px compact cards at 1366 × 768 and 641 × 800 (#21638). Keeping all seven between 80–86 characters clears every breakpoint cleanly.
Related
Origin Session ID: 12bb6bb7-21ca-4b36-824f-66ea4320e1d8
Retrieval Hint: "Portal example captions two lines scrollHeight clientHeight file-explorer sparklines mermaid grid-countries popover"
Context
Completes the cross-group two-line caption fit deferred in
#21638'sOut of Scope(Country Statistics Grid,Sparklines,Mermaid Diagrams,Popover) plus the three adjacent106–141-character captions (File Explorer,OpenStreetMaps / OpenLayers,Tooltips) that still overflow.portal-example-feature's two-line clamp (scrollHeight: 53 > clientHeight: 35) acrossgrid-table,charts,dialogs, andtreeondev(6bce66de69).captions two lines feature clamp,captions two lines; read#21638and#21584Out of Scope/Avoided Traps) at2026-11-23T01:49:25Z; no open duplicate exists.2026-11-23T01:02Z–01:49Z);#22053(charts.json/grid-table.jsonhasLightCover) has already merged (6bce66de69), and no peer claims example captions.portal example card caption still cut after two lines Sparklines Mermaid Popover Country Statistics Grid, 5 results, no conflicting decision.#22055in Round-2 review via#21991,#21847post-cut live verification), none overlapping.2026-11-23 07:00 UTCEngine 14 examples lock (no contributor labels).The Problem
Measured in headless Chromium on
dev(6bce66de69) across all 20 Portal example group routes (#/examples/<group>) at1440 × 900,1366 × 768,1024 × 768, and641 × 800, seven.portal-example-featurecaptions exceed two lines (scrollHeight: 53 > clientHeight: 35) and get cut mid-claim with an ellipsis:id)scrollHeight > clientHeight + 1)treefile-explorer1440 × 900,1366 × 768,1024 × 768,641 × 800chartssparklines1440 × 900,1366 × 768,1024 × 768,641 × 800chartsmermaid1440 × 900,1366 × 768,1024 × 768,641 × 800grid-tablegrid-countries1366 × 768,1024 × 768,641 × 800dialogspopover1366 × 768,1024 × 768,641 × 800dialogstooltip641 × 800(301pxcompact card)chartsopen-street-maps641 × 800(301pxcompact card)The Architectural Reality
#21119Contract Ledger ("a proof line of more than two lines is cut with an ellipsis and stays whole in the DOM") paired with#21140/#21638("captions are cut mid-claim"— compact card captions must read whole within two lines at desktop/tablet card widths down to641 × 800).apps/portal/resources/data/examples/{tree,charts,grid-table,dialogs}.jsonown each record'sfeaturestring (#21856per-group catalog split).resources/css/src/apps/portal/examples/List.cssenforces the two-line clamp on compact cards (#21585).apps/portal/resources/data/seo.jsonis regenerated atomically at release-cut time bybuildScripts/release/prepare.mjs->rebuildContentIndexesAndSeo.mjs.The Fix
Tighten the seven
featurestrings to80–86characters each while preserving every proof detail:tree.json(file-explorer):"Drag files between folders, rename in place, and filter while keeping matched paths."charts.json(sparklines):"Six metric cards draw thirty live sparklines in the canvas worker once a second."charts.json(mermaid):"Mermaid draws flowchart, sequence, class or Gantt diagrams on each edit or theme swap."charts.json(open-street-maps):"An OpenLayers map plots 51 earthquake records with camera, zoom and marker controls"grid-table.json(grid-countries):"217 World Bank economies with flags, formatted figures and growth tinted by value"dialogs.json(popover):"A popover opens beside its button on the chosen side and flips when space runs out."dialogs.json(tooltip):"Plain hints, a rich velocity card and tunable delays work by pointer or keyboard."Decision Record impact
none— catalogfeaturecopy tightening within#21140/#21638's two-line card contract.Acceptance Criteria
.portal-example-featurecaptions satisfyscrollHeight <= clientHeight + 1at rest across#/examples/tree,#/examples/charts,#/examples/grid-table, and#/examples/dialogsat1440 × 900,1366 × 768,1024 × 768, and641 × 800in headless Chromium.seo.json/sitemap*.xml/llms*.txtartifacts.dev) and after (branch) full-page screenshots at1366 × 768(Neo Dark) are attached to the pull request (rendered-surface-audit.md).Out of Scope
<= 640px, intentional per#21584).apps/portal/resources/data/seo.json(regenerated byprepare.mjsat cut time).Avoided Traps
98–106characters: Still clip on301–307pxcompact cards at1366 × 768and641 × 800(#21638). Keeping all seven between80–86characters clears every breakpoint cleanly.Related
Origin Session ID: 12bb6bb7-21ca-4b36-824f-66ea4320e1d8 Retrieval Hint: "Portal example captions two lines scrollHeight clientHeight file-explorer sparklines mermaid grid-countries popover"