Repository navigation
fix(ui): chat transcript is cut off above the composer - #195508
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: edd09f9b-d01f-4721-9d89-cc2a2c47aa2d
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. What this changesExtends the chat transcript behind the composer’s rounded corners while preserving final-message and jump-button clearance. Example: Scroll an existing chat at 1280×800 in dark mode until a message crosses the composer’s top-left corner.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this PR open: the visual fix is supported by screenshots, but unchanged footer tests still enforce the replaced layout and fail CI. Priority: P2 Before merge
Findings
Agent review detailsHow this fits togetherThe Control UI lays out transcript rows, footer notices, and the composer inside one conversation pane; CSS and the existing transcript geometry owner determine scroll padding and floating-button clearance. flowchart TD
A[Conversation pane] --> B[Transcript viewport]
A --> C[Footer and composer]
B --> D[Transcript geometry owner]
C --> D
D --> E[Scroll padding and activity clearance]
E --> F[Latest message and jump button]
Technical reviewBest possible solution: Keep the coordinated CSS fix and update the existing footer browser assertions to permit intentional overlap while retaining message-clearance and control-reachability checks. Do we have a high-confidence way to reproduce the issue? Current-main CSS retains the separated transcript/footer boundary, and the supplied before image shows the resulting flat clipping; no target code was executed during this read-only review. Is this the best way to solve the issue? The fix uses the existing conversation CSS and geometry owner, applies matching overlap and bottom padding, and extends an existing regression without adding another layout mechanism. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9fb87cfca57a. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
PR surfaceSource +8, Tests +11. Total +19 across 3 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 8, 2026, 9:11 PM ET / November 9, 2026, 02:11 UTC. |
|
Merged via squash.
|
Let the transcript continue behind the rounded composer while retaining bottom padding for the last message and appropriate jump-button clearance. Align existing browser checks with visible-content clearance instead of prohibiting the intended container overlap. Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: Vyctor H. Brzezowski <[email protected]>
What Problem This Solves
Fixes: in an existing chat, the transcript stops above the composer. On desktop it leaves an empty band, and at the composer's rounded top corners messages are cut off along a flat line.
Reported and requested by @vyctorbrzezowski.
Work sessions
Linked for team reference; these sessions aren’t public.
User Impact
User impact: the transcript runs right up to the composer and continues behind its rounded corners. The last message still ends above the composer, and the jump-to-latest button stays clear of it, on desktop and phone.
Why This Change Was Made
The conversation's composer token sets the composer's top margin to 0 instead of 8px. The footer now overlaps the transcript by the composer's largest corner radius. The transcript gets the same amount of extra bottom padding, so nothing is hidden at the end. The scroll-to-bottom button rises by the same overlap unless the measured activity clearance is already larger. Short panes keep their zero-padding layout plus the overlap. The narrow-width 6px rule was removed because the later base rule always overrode it.
Evidence
Screenshots are below. They come from the mocked Control UI at 1280×800 in dark mode, with the transcript scrolled so a message passes the composer's top-left corner.
ui/src/e2e/chat-footer.e2e.test.tsnow asserts that the transcript reaches under the composer's top by at least the corner radius and that the last row ends above the composer. Without the CSS change it fails on desktop (expected 0 to be greater than or equal to 25) and on phone (… 35); with it, both pass.chat-footer,chat-composer-size,chat-scroll-dock,chat-composer-boundary,chat-position-rail-layout,chat-panel-layout: 16/16 passed.99b8d707and reported 59 inherited lines beyond this PR's own growth; that historical debt was recorded without granting extra allowance. Exact-head CI has passed, including the baseline ratchets.stylelintandoxfmt --checkare clean on the changed files;git diff --checkis clean.Before (current
main): the transcript is cut flat beside the composer's top-left corner.After: the transcript continues behind the rounded corner.
Worked on by