LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-julia
createdAtNov 23, 2026, 1:44 AM
updatedAtNov 23, 2026, 2:16 AM
githubUrlhttps://github.com/neomjs/neo/issues/22046
authorneo-gemini-julia
commentsCount0
parentIssue20682
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 23, 2026, 2:16 AM

Portal Home AudienceDoors clips command chips on phone viewports

Closed v14.0.0/archive-v14-0-0-chunk-7 bugdesignaiportal
neo-gemini-julia
neo-gemini-julia commented on Nov 23, 2026, 1:44 AM

Owned by @neo-gemini-julia for immediate Engine 14 pre-cut delivery (2026-11-23), promoting @neo-opus-ada's defect-note (MESSAGE:25f0f1a6-b1f9-4c28-a757-d76db1c526b7); curated contributor labels omitted because the Engine 14 front-door lock is within hours.

Context

On dev (3f01b65ae4), Screen 2 of the Portal Home (Portal.view.home.parts.AudienceDoors, #/home) clips its .portal-door-command code chips at phone viewports instead of fitting or wrapping cleanly inside the card:

Viewport Door 1 ($ npx neo-app@latest) Door 2 (neo-agent-brain · neo-agent-institution) Door 3 (MX · Two Hemispheres · Gated RSI)
390 × 844 303 / 303 px 342 px inside 303 px (39 px clipped: "neo-agent-brain · neo-agent-institut…") 303 / 303 px
360 × 800 273 / 273 px 342 px inside 273 px (69 px clipped) 285 px inside 273 px (12 px clipped)

The Problem

resources/css/src/apps/portal/home/parts/AudienceDoors.css:127 sets .portal-door-command code { white-space: nowrap; font-size: 0.85rem; }. The intermediate compact-desktop/tablet rule (@media (min-width: 841px) and (max-height: 820px), (min-width: 841px) and (max-width: 1100px), lines 207-211) overrides code with white-space: normal; font-size: 0.72rem; line-height: 1.35;, but the phone rule @media (max-width: 840px) (lines 227-249) omits any .portal-door-command code override. Because .portal-door-command has overflow-x: auto, HomeAudienceDoorsNL.spec.mjs:353 (#${home.id} scrollWidth <= clientWidth + 1) stayed green while the chip itself overflowed and clipped at the card edge.

The Architectural Reality

  • resources/css/src/apps/portal/home/parts/AudienceDoors.css:108-129,203-212,227-249 — styles .portal-door-command and its responsive breakpoints.
  • apps/portal/view/home/parts/AudienceDoors.mjs:130-136,187-193,241-247 — renders the three .portal-door-command > code chips.
  • test/playwright/e2e/portal/HomeAudienceDoorsNL.spec.mjs:333-366 — mobile 390 × 844 stacking and overflow assertions (runs in CI e2e-engine).
  • Design authority: resources/css/src/apps/portal/home/parts/AudienceDoors.css:207-211 (white-space: normal; line-height: 1.35; already established for narrow desktop/tablet cards in #20971) and Epic #20682 / #20971 AC-5 (wrapped mobile cards never clip content).

The Fix

(Prescription checked: resources/css/src/apps/portal/home/parts/AudienceDoors.css and test/playwright/e2e/portal/HomeAudienceDoorsNL.spec.mjs — own the concern.)

  1. In resources/css/src/apps/portal/home/parts/AudienceDoors.css inside @media (max-width: 840px) .portal-glass-card:
    • Add .portal-door-command { padding: 0.4rem 0.55rem; code { font-size: clamp(0.66rem, 3vw, 0.75rem); line-height: 1.4; overflow-wrap: break-word; white-space: normal; } } so all three chips sit on one crisp line at 390 × 844 and 360 × 800 and wrap cleanly under browser zoom without clipping.
    • Rebuild theme CSS via npm run build-themes -- -n -e dev -t all.
  2. In test/playwright/e2e/portal/HomeAudienceDoorsNL.spec.mjs:
    • Assert every .portal-door-command chip satisfies scrollWidth <= clientWidth + 1 at 390 × 844 and 360 × 800 (recorded red on dev and green at head).

Decision Record impact

none (CSS sizing/wrapping only; zero copy changes to AudienceDoors.mjs or ADR 0018 text).

Acceptance Criteria

  • AC-1: At 390 × 844 and 360 × 800 on #/home, all three .portal-door-command chips in Portal.view.home.parts.AudienceDoors render whole (scrollWidth <= clientWidth + 1) with zero horizontal card or page overflow while 1440 × 900 and 900 × 700 layout geometry remains intact.
  • AC-2: HomeAudienceDoorsNL.spec.mjs records a red failure on dev (3f01b65ae4) for .portal-door-command mobile overflow and passes green at head alongside npm run build-themes -- -n -e dev -t all.
  • AC-3: Before (dev) and after (head) 390 × 844 and 360 × 800 #/home AudienceDoors frames are attached on the PR with Frame critique:.

Out of Scope

  • Screen 1 HeroContainer / RoundTable layout and copy (#21586, #20987).
  • Portal Examples catalog .portal-example-feature caption lengths at 1366 × 768 (grid.json, charts.json — separate surface).

Avoided Traps

  • Editing the chip text in AudienceDoors.mjs (neo-agent-brain · neo-agent-institution and MX · Two Hemispheres · Gated RSI are canonical organism anchors asserted in HomeAudienceDoorsNL.spec.mjs:163-167,461-463).
  • Checking only #${home.id} container scrollWidth while .portal-door-command keeps overflow-x: auto, which masks internal chip clipping.

Related

  • Parent: #20682 · Related: #20971, #20987.

Live latest-open + closed sweep: checked latest 20 open (52 open, red band — linked as sub-issue under existing v14.0 Home Epic #20682, 10 subs; #22043..#21862) + open and closed search (AudienceDoors OR portal-door-command; read Out of Scope / Avoided Traps on #20971 and #20987) at 2026-11-23T00:43Z; no equivalent or prior exclusion found. A2A in-flight claim sweep: last 30 messages across all read-states through 2026-11-23T00:43Z; no overlapping [lane-claim] or [lane-intent] (promotes @neo-opus-ada's defect-note MESSAGE:25f0f1a6-b1f9-4c28-a757-d76db1c526b7). MC sweep: query_raw_memories("AudienceDoors 390x844 neo-agent-brain neo-agent-institution code chip clips card edge"), 5 results, no prior decision found. Own-assignment sweep: 3 open (#22040, #21847, #20526), none overlapping.

Origin Session ID: 12bb6bb7-21ca-4b36-824f-66ea4320e1d8 Retrieval Hint: "AudienceDoors portal-door-command code chip clips 390x844 360x800 mobile white-space nowrap"

tobiu referenced in commit adbade2 - "fix(portal): prevent AudienceDoors command chips from clipping on phones (#22046) (#22048)" on Nov 23, 2026, 2:16 AM
tobiu closed this issue on Nov 23, 2026, 2:16 AM