Skip to content

fix(chat): keep response action buttons close together - #48528

Merged
orca-remote-automation[bot] merged 1 commit into
mainfrom
fix/chat-footer-action-gap
Nov 24, 2026
Merged

orca-remote-automation[bot] merged 1 commit into
mainfrom
fix/chat-footer-action-gap

Conversation

@orca-remote-automation

@orca-remote-automation orca-remote-automation Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

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

  • Before: on responses where Fork isn't available, an invisible 24px Fork placeholder sat between Copy and Scroll to top, so the gap was about 32px.
  • After: the placeholder is gone, so the buttons use the row's normal 4px gap. Each button keeps its 24px hit area, and the timestamp stays on the same line, right after the arrow.
  • Removed 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

  • Rendered both states with pnpm fixtures:shot (screenshots above).
  • pnpm check:changed passed: format, lint, typecheck, tests and ratchets (31 checks).
  • No test added: this is a styling-only change.

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

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Renderer-only styling change. It doesn't depend on platform, SSH or remote hosts, mobile, or folder workspaces.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • I stated the risk: what could break, for whom, and how to back it out
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@orca-remote-automation
orca-remote-automation Bot force-pushed the fix/chat-footer-action-gap branch from f8d4218 to f9ebd56 Compare November 24, 2026 22:49
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
orca-remote-automation Bot force-pushed the fix/chat-footer-action-gap branch from f9ebd56 to b1c9639 Compare November 24, 2026 23:00
@orca-remote-automation
orca-remote-automation Bot merged commit 9dad101 into main Nov 24, 2026
56 checks passed
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants