Skip to content

ux: show copy feedback icon when copying notification message - #2666

Open
weiningwei wants to merge 1 commit into
sourcegit-scm:developfrom
weiningwei:feature/notification-copy-feedback
Open

ux: show copy feedback icon when copying notification message#2666
weiningwei wants to merge 1 commit into
sourcegit-scm:developfrom
weiningwei:feature/notification-copy-feedback

Conversation

@weiningwei

Copy link
Copy Markdown
Contributor

What

Shows a transient checkmark icon as visual feedback when the user copies a notification message, then resets back to the copy icon after one second.

Changes

  • Make Notification observable (ObservableObject) and add an IsCopied property.
  • Toggle between the copy icon and a green checkmark in the launcher notification item based on IsCopied.
  • Add a DispatcherTimer in LauncherPage to reset IsCopied one second after copying.
  • Add a tooltip to the copy button.
@JC-Chung

JC-Chung commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Hi @weiningwei, thanks for this PR! I ran into the same need for CommitBaseInfo's SHA copy button and, as a follow-up, ended up building a reusable CopyButton control (#2668), covering both LauncherPage and CommitBaseInfo. It touches the same lines in LauncherPage.axaml(.cs), so merging both would conflict. Would you be open to rebasing this on top of CopyButton so we land on one consistent solution? Happy to help adjust either side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants