Skip to content

feat(seer-explorer): Add copy-to-clipboard button to block action bar#110224

Merged
aliu39 merged 4 commits intomasterfrom
worktree-aliu/copy-block-content
Mar 9, 2026
Merged

feat(seer-explorer): Add copy-to-clipboard button to block action bar#110224
aliu39 merged 4 commits intomasterfrom
worktree-aliu/copy-block-content

Conversation

@aliu39
Copy link
Member

@aliu39 aliu39 commented Mar 9, 2026

Changes

Adds a copy-to-clipboard action button to BlockComponent in the Seer Explorer, positioned between the thumbs feedback buttons and the restart button.

  • Copies block.message.content to the clipboard via the Clipboard API
  • Shows a success toast on copy, error toast on failure
  • Hidden when the block is loading (inherits the existing showActions guard which already checks !block.loading)

Add a copy button to the BlockComponent action bar, positioned between
the thumbs feedback buttons and the restart button. The button copies
the block's message content to the clipboard and shows a success or
error toast via addSuccessMessage/addErrorMessage. The button is hidden
when the block is loading (consistent with the existing showActions guard).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@aliu39 aliu39 requested a review from a team as a code owner March 9, 2026 18:00
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 9, 2026
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@aliu39 aliu39 enabled auto-merge (squash) March 9, 2026 18:20
@aliu39 aliu39 merged commit cd22005 into master Mar 9, 2026
60 checks passed
@aliu39 aliu39 deleted the worktree-aliu/copy-block-content branch March 9, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants