From dcf9cb4c8e473faaddd9388af73ef60f2f221d55 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Tue, 19 May 2026 21:53:36 +0200 Subject: [PATCH] add a notifications when copied to clipboard Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- internal/ui/app/update.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/internal/ui/app/update.go b/internal/ui/app/update.go index f7f3c1f..937fee9 100644 --- a/internal/ui/app/update.go +++ b/internal/ui/app/update.go @@ -212,6 +212,13 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { if m.page == pageFindings { if md := m.findingsPage.CurrentMarkdown(); md != "" { copyUI.WriteClipboard(md) + return m, func() tea.Msg { + return notificationsUI.NotificationMsg{ + Title: "Copied", + Body: "Finding copied to clipboard", + Kind: notificationsUI.KindSuccess, + } + } } return m, nil }