Skip to content

Add copy-to-clipboard action for proposed plan card#1620

Merged
juliusmarminge merged 3 commits intomainfrom
cursor/new-addition-6763
Apr 2, 2026
Merged

Add copy-to-clipboard action for proposed plan card#1620
juliusmarminge merged 3 commits intomainfrom
cursor/new-addition-6763

Conversation

@juliusmarminge
Copy link
Copy Markdown
Member

@juliusmarminge juliusmarminge commented Apr 1, 2026

What Changed

  • Added a Copy to clipboard action to the proposed plan card overflow menu in chat.
  • Reused the existing clipboard hook so the action supports temporary Copied! label state.
  • Added error toast handling when clipboard copy is unavailable/fails.

Why

Users in plan mode need a fast way to copy plan markdown into external tools (for example, Linear) without downloading a file first.

UI Changes

  • Added a new menu item (Copy to clipboard) in the plan card actions menu.
  • Menu now offers Copy to clipboard, Download as markdown, and Save to workspace.

plan_card_copy_to_clipboard_demo_small.mp4
Plan card actions menu with copy option
Copied markdown pasted into composer

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Note

Add copy-to-clipboard menu action to the proposed plan card

Adds a 'Copy to clipboard' menu item to ProposedPlanCard that copies the plan markdown to the clipboard. The button label changes to 'Copied!' on success, and an error toast is shown via toastManager if copying fails.

Macroscope summarized 36fdd4c.

Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 1, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: eccc450b-b534-46fc-9484-cb1b595ad5dc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/new-addition-6763

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added size:S 10-29 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 1, 2026
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>
@juliusmarminge juliusmarminge marked this pull request as ready for review April 1, 2026 16:18
@github-actions github-actions bot added size:L 100-499 changed lines (additions + deletions). size:S 10-29 changed lines (additions + deletions). and removed size:S 10-29 changed lines (additions + deletions). size:L 100-499 changed lines (additions + deletions). labels Apr 1, 2026
@juliusmarminge juliusmarminge merged commit 60f7ae8 into main Apr 2, 2026
11 checks passed
@juliusmarminge juliusmarminge deleted the cursor/new-addition-6763 branch April 2, 2026 07:47
gigq pushed a commit to gigq/t3code that referenced this pull request Apr 6, 2026
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>
Chrono-byte pushed a commit to Chrono-byte/t3code that referenced this pull request Apr 7, 2026
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants