Skip to content

🤖 fix: distinguish plan Copy file path button icon#3586

Merged
ammario merged 1 commit into
mainfrom
plan-copy-path-icon
Jun 17, 2026
Merged

🤖 fix: distinguish plan Copy file path button icon#3586
ammario merged 1 commit into
mainfrom
plan-copy-path-icon

Conversation

@ammar-agent

Copy link
Copy Markdown
Collaborator

Summary

Differentiate the plan-file display's two copy buttons. Follow-up to #3568, which replaced the removed mux.md "Share" link action with a "Copy file path" action — but both that button and the existing "Copy" (content) button used the same Clipboard/ClipboardCheck icons, making them visually indistinguishable.

Background

#3568 removed mux.md link support and, in the plan display, swapped the "Share" link for a "Copy file path" action. Because the new button reused the content button's Clipboard/ClipboardCheck icons, the two adjacent actions looked identical and only differed by label.

Implementation

The "Copy file path" button now uses lucide's Copy/Check icons — the repo's existing copy-a-value idiom (see RuntimeBadge, which copies workspace paths) — while the content "Copy" button keeps Clipboard/ClipboardCheck. The two buttons now read as distinct actions at rest and in their copied state.

Risks

Minimal — icon-only change in ProposePlanToolCall.tsx. No behavior, props, or copy-to-clipboard logic changed.


Generated with mux • Model: anthropic:claude-opus-4-8 • Thinking: xhigh • Cost: $25.12

The plan-file display's 'Copy' (content) and 'Copy file path' buttons both
used the Clipboard/ClipboardCheck icons, making them visually indistinguishable.
Give 'Copy file path' the Copy/Check icons (the repo's copy-a-value idiom, see
RuntimeBadge) so it reads as a distinct action from the content Copy button.
@ammar-agent

Copy link
Copy Markdown
Collaborator Author

@codex review

@ammario ammario merged commit 22c15fd into main Jun 17, 2026
24 checks passed
@ammario ammario deleted the plan-copy-path-icon branch June 17, 2026 16:18
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.

2 participants