Repository navigation
fix(chat): keep response action buttons close together - #48528
Merged
Merged
Conversation
orca-remote-automation
Bot
force-pushed
the
fix/chat-footer-action-gap
branch
from
November 24, 2026 22:49
f8d4218 to
f9ebd56
Compare
Drop the empty Fork placeholder that sat between Copy and Scroll to top on responses that offer no Fork, which left a 28px hole in the action row.
orca-remote-automation
Bot
force-pushed
the
fix/chat-footer-action-gap
branch
from
November 24, 2026 23:00
f9ebd56 to
b1c9639
Compare
Jinwoo-H
pushed a commit
that referenced
this pull request
Nov 24, 2026
Drop the empty Fork placeholder that sat between Copy and Scroll to top on responses that offer no Fork, which left a 28px hole in the action row. Co-authored-by: m4air <[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.
ELI5
The small buttons under a chat response (Copy, Scroll to top, then the time) had a big empty space between Copy and the arrow. Now they sit close together.
What Changed
NativeChatForkSlotContext, which only existed to draw that placeholder.Why
The owner asked for these buttons to sit closer together. The placeholder was there so the buttons wouldn't move when a chat turned out to have no Fork. Giving that up costs one shift: on a chat whose agent turns out not to support Fork, the Fork button disappears after support is checked, and the arrow and time move left once. Rows that do offer Fork keep their layout. Checked against how comparable products handle this.
Linked Issue
N/A (maintainer UX request)
Visual Proof
Component fixture (
NativeChatAgentControls, dark theme, 2x), drawn with and without the old placeholder:Before:
[Copy] ~32px empty space [↑] 11:32 AM, matching the reported screenshot.After:
[Copy] 4px [↑] 4px 11:32 AM, evenly spaced.(The bot account can't upload images; the screenshots are in the review record.)
Testing
pnpm fixtures:shot(screenshots above).pnpm check:changedpassed: format, lint, typecheck, tests and ratchets (31 checks).Performance
None, because this only removes a context provider and one conditional span from each response's action row.
Risk
The only visible change besides the tighter gap: on chats that can't fork, the arrow and time shift left once when Fork support finishes loading. Undo with a plain revert.
Level: Low
Review
Code review: LGTM, no blocking findings.
Agent skill upstream boundary
Notes
Renderer-only styling change. It doesn't depend on platform, SSH or remote hosts, mobile, or folder workspaces.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)