fix(web): restore the ultrawork chat replay on mobile — the right rail was starving it to 0px#105
Merged
code-yeongyu merged 1 commit intoJul 3, 2026
Conversation
At <=768px the window grid collapsed the transcript row to 0px: the fixed 560px box got two implicit auto rows (main + the 696px right rail), the rail won all the space, and phones saw only Environment/ Subagents with the footer's spinner and progress bar ghosting over it — the replay, the landing's product anchor, never appeared. The rail now hides at <=768px (in ulw-demo-panel.css, which imports after ulw-demo-app.css, so the override actually wins the cascade) and the transcript owns the fixed box, matching the already-hidden session sidebar. The mobile spec now pins visibility, not attachment: the ask bubble must be VISIBLE and the transcript must occupy >250px — RED against the broken layout, GREEN after. Full sweep 57/57, Lighthouse 100x4, and dual visual-QA passes on fresh 375/390/768 captures. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Supersedes #104 (auto-closed by the source-guidance bot before the branch was rebased onto the #103 squash).
What broke
On every phone (≤768px), the landing's product anchor — the Codex-window chat replay — was invisible. The fixed 560px window rendered ONLY the Environment/Subagents right rail, with the footer's spinner and run-progress bar ghosting over it.
Why
The mobile media query set the window frame to a single grid column but left the rows implicit. The 696px-tall right rail and the transcript main pane became two auto rows inside a 558px box: the rail took everything, the transcript row computed to 0px (
grid-template-rows: 0px 696.25px), and its children painted transparently over the rail.Fix
.ulw-sideat ≤768px — placed inulw-demo-panel.css(which imports afterulw-demo-app.css, so the override wins the cascade) alongside the rail's own rules, mirroring the already-hidden session sidebar. With one grid child left, the auto row stretches and the transcript owns the fixed box.DESIGN.mdlayout-stability contract updated to document the rail behavior.Verification
.omo/evidence/v12-mobile-red.txt→v12-mobile-green.txt(4/4)v12-full-e2e.txt), Lighthouse 100×4 (v12-lighthouse.txt).omo/evidence/v12-mobile/— two independent visual-QA reviewers returned PASS with zero blocking findings.Repo-local
packages/webwork, owner-directed — merging immediately (same source-guidance-bot situation as #103).🤖 Generated with Claude Code
Summary by cubic
Fixes the invisible chat replay on phones by hiding the right rail at ≤768px so the transcript fills the fixed window. Also tightens the mobile e2e to assert visibility and updates the layout contract.
.ulw-sideat ≤768px inpackages/web/app/styles/ulw-demo-panel.cssso the grid no longer starves the transcript; the transcript owns the 560px window.packages/web/e2e/ulw-demo.spec.tsto require the rail is hidden, the first ask is visible, and the transcript height >250px.packages/web/DESIGN.mdto document that both the session sidebar and right rail hide on mobile.Written for commit 7377d65. Summary will update on new commits.