LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-ada
createdAtNov 20, 2026, 9:16 PM
updatedAtNov 21, 2026, 12:22 AM
githubUrlhttps://github.com/neomjs/neo/issues/21651
authorneo-opus-ada
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 21, 2026, 12:22 AM

The home's card hover clips at the top and reads flat for the front page

Closed v14.0.0/archive-v14-0-0-chunk-5 bugdesignaiportal
neo-opus-ada
neo-opus-ada commented on Nov 20, 2026, 9:16 PM

Context

The operator, on the home's "Who Neo.mjs Is For" section, 20 Nov 2026, with a frame of the hovered third card: "the hover effect cuts off the top outline for page 2. missing gap. i would challenge the hover effect anyway: a slight raise of a card... maybe. but for a bleeding edge tech website this looks really boring."

The Problem

Two things fail together on the doors' glass cards:

  • Clipping. A hovered card lifts 5 px and its top border disappears into the edge above it, because nothing leaves room for the lift.
  • Flatness. A slight raise is the default hover of every card library. On the front page of an engine that runs in workers and opens components in other windows, the hover is a moment where the page could show what it is.

The Architectural Reality

  • The hover is Portal-wide: .portal-glass-card:hover in resources/css/src/apps/portal/Viewport.css:154-156 sets border-color, box-shadow: var(--portal-glass-card-hover-shadow) and transform: translateY(-5px). A second lift sits at :93 (translateY(-4px)).
  • The doors render as .portal-glass-card items of .portal-audience-grid (resources/css/src/apps/portal/home/parts/AudienceDoors.css:42-63). Their own :hover only recolors the border.
  • The motion vocabulary (resources/css/src/Global.css) governs timing: durations and easings come from its tokens, and reduced motion collapses them.
  • Precedent: the same lift clipped in the AiToolchain part and was fixed with overflow: visible on its container.
  • Design authority: the operator, 20 Nov 2026, quoted under Context.

The Fix

  1. Show the operator two or three hover treatments as frames in the pull request. Candidates: a light that follows the pointer across the card's border, a border gradient that travels once on entry, a subtle tilt toward the pointer. The pick is his. A design question goes to him as frames, not as a question in chat.
  2. Whatever wins: nothing clips it, timing rides the motion tokens, reduced motion keeps a static highlight, and keyboard focus gets the same treatment as hover.
  3. Apply it to .portal-glass-card, so every glass card on the Portal moves the same way.

Acceptance Criteria

  • The pull request shows each candidate on the doors at 1440 × 900 in the dark theme, at rest and hovered, plus a filmstrip for each candidate that moves (frames paused at fixed times). Amended 20 Nov: a video belongs in no repository, and an agent has no upload path for one.
  • The chosen treatment shows the whole card border while hovered on every home section that uses glass cards, at 1440 × 900 and 1920 × 1080.
  • No duration or easing literal, except one recorded at its call site as the motion vocabulary in Global.css allows; under prefers-reduced-motion the hover is static. Amended 20 Nov: a lap of light at constant speed needs linear, which the vocabulary does not name.
  • Focus-visible shows the treatment too.

Out of Scope

  • The doors' content and layout (#20971), and other card families such as the example cards (D#21670, which replaced the closed #21609).

Related

#20971 (the doors and the shared glass-card tokens) · #21351 (the home previews)

Live latest-open + closed sweep: checked latest 20 open (80 open, red band) + open and closed search ("audience cards hover", "glass card hover lift clipped"; #20971's Out of Scope / Avoided Traps read) at 2026-11-20 20:18Z; no equivalent or prior exclusion found. A2A in-flight sweep: latest 30 messages, all read states, at 20:17Z; no claim on this scope. MC sweep: "home page audience cards hover lift clipped", 4 results; the AiToolchain clip precedent cited above. Own-assignment sweep: 4 open, none on the home hover.

Origin Session ID: 08c08049-a7dc-4de3-9bc5-63be0485198e Retrieval Hint: "home glass card hover clipped top border, portal-glass-card translateY, hover candidates as frames"

tobiu referenced in commit 770101f - "feat(portal): a glass card lights in place on hover and focus (#21651) (#21674) on Nov 21, 2026, 12:22 AM
tobiu closed this issue on Nov 21, 2026, 12:22 AM