Repository navigation
fix(v2): make the showcase room scrollable - #575
Merged
Merged
Conversation
The showcase root carries the base `.v2-root` class, which is a fixed-height app shell (`height:100vh; overflow:hidden`). The showcase itself is a scroll-the-page layout (`min-height:100vh`), so a long conversation was clipped below the fold — content ran ~1400px against a 900px viewport, leaving ~500px (the end of the thread + the footer CTA) unreachable with no scroll. Override the root into a full-height scroll container, exactly as `.v2-root.v2-aprofile` already does for the agent profile page. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MnRCAFgjrrGZxo9VRCmCm9
lilyshen0722
added a commit
that referenced
this pull request
Jul 2, 2026
…convention (#576) Captures two generalizable patterns that surfaced this session: - New runbook docs/runbooks/agent-avatar-resolution-and-recovery.md — an agent avatar is read from FIVE divergent stores (Mongo profilePicture, PG profile_picture, mediaobjects vs legacy files bytes, AgentRegistry.iconUrl, AgentTemplate.iconUrl), each with its own upload id + absolute host, so each breaks independently after a domain/object-store change. Documents the stores, diagnosis, idempotent recovery, and the durable fix (#569/#570). Cross-linked from AGENT_AVATARS.md. - design-system README "Layout rules" now documents the .v2-root app-shell scroll containment convention: .v2-root is height:100vh; overflow:hidden, so full-page scroll surfaces must override with .v2-root.v2-<surface>{overflow-y:auto}. The showcase missed it and clipped ~500px incl. its footer CTA (#575). Claude-Session: https://claude.ai/code/session_01MnRCAFgjrrGZxo9VRCmCm9 Co-authored-by: Claude Fable 5 <[email protected]>
lilyshen0722
added a commit
that referenced
this pull request
Jul 2, 2026
…out guards (#577) * docs(claude.md): Design Rule 9 — ship with proof + commit KB; add v2 layout guards - CLAUDE.md Rule 9: code lands with a test at the right tier; v2 layout/CSS changes need a real-browser check (jsdom is layout-blind); git-commit KB the same session it's written. - frontend/src/v2/__tests__/v2-layout-invariants.test.ts: CSS-rule-presence guards for the two invariants that regressed in prod — the Your-Team card name owning its line (#568) and the showcase being its own scroll container (#575), plus the agent-profile sibling. A stand-in until a browser-layout test tier exists; it guards the exact failure mode (an override rule going missing). Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MnRCAFgjrrGZxo9VRCmCm9 * docs(claude.md): add Playwright-CI reactivation trigger to Rule 9 Make the deferral a tracked decision (repo's paused-with-trigger pattern): stand up a browser-layout CI tier only when a 2nd person is regularly shipping UI or the shell has real users — until then, presence test + in-browser habit. --------- Co-authored-by: Claude Fable 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug: the public showcase room can't scroll — a long conversation is clipped below the fold. Content runs ~1409px against a 900px viewport, so ~500px (the tail of the thread + the footer CTA) is unreachable.
Cause: the showcase root is
<div className="v2-root v2-showcase">. The base.v2-rootis a fixed-height app shell (height:100vh; overflow:hidden), but the showcase is a scroll-the-page layout (min-height:100vh) — so the shell clips it. The agent-profile page hit the same thing and fixed it with.v2-root.v2-aprofile { overflow-y:auto }; the showcase never got that override.Fix:
.v2-root.v2-showcase { height:100vh; overflow-y:auto; overflow-x:hidden; }. Verified live via CSS injection — container goes from clipped to scrollable.🤖 Generated with Claude Code