Skip to content

Consolidate 'copy to clipboard' functionality#1815

Merged
mkst merged 10 commits intomainfrom
align-copied-button
Feb 10, 2026
Merged

Consolidate 'copy to clipboard' functionality#1815
mkst merged 10 commits intomainfrom
align-copied-button

Conversation

@mkst
Copy link
Collaborator

@mkst mkst commented Feb 8, 2026

There was very similar functionality in the 'copy asm to clipboard' and 'copy scratch link to clipboard' (mostly because I copied the former when creating the latter. This PR consolidates the functionality into a single CopyButton which takes a string or function to return text to be copied to the clipboard. Also adds a short-lived "Copied" bubble for some visual feedback

image

Closes #1808.

@mkst mkst merged commit 65c3299 into main Feb 10, 2026
7 checks passed
@mkst mkst deleted the align-copied-button branch February 10, 2026 22:02
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.

Add "copied" feedback to use copying asm diff

1 participant