feat(notes): add copy-to-clipboard button in NoteModal#103
Merged
Conversation
Add a share button to the note view modal header that copies the note's markdown content (with title as an H1 heading) to the clipboard. The button uses the Share icon from lucide-svelte and shows a green Check icon for 1.5 seconds after a successful copy, consistent with the existing copy patterns in SessionModal and DiffModal.
Replace the Share icon with the Copy icon from lucide-svelte for the clipboard copy button in the note modal header, better reflecting the button's copy-to-clipboard action.
taylorkmho
added a commit
that referenced
this pull request
Feb 13, 2026
* origin/main: fix: surface worktree setup errors instead of showing infinite spinner (#106) feat: store data in platform-conventional directories (XDG) (#104) feat(notes): add copy-to-clipboard button in NoteModal (#103) feat: add use github repo based projects to avoid cloning when using remote branches (#102) fix: always branch new worktrees from remote-tracking refs (#100) fix: remove debug console.log statements from BranchCard (#97) feat: improve PR button UX with push support and conditional visibility (#89)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a copy-to-clipboard button to the NoteModal header, allowing users to easily copy note content as Markdown text.
CopyandCheckicons from lucide-sveltehandleShare()function that copies the note title and content to the clipboard