]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: emit success and error on copy2cliboard 66630/head
authorNizamudeen A <nia@redhat.com>
Mon, 15 Dec 2025 07:29:45 +0000 (12:59 +0530)
committerNizamudeen A <nia@redhat.com>
Mon, 15 Dec 2025 07:29:45 +0000 (12:59 +0530)
commita8f9f92b011a93140e4e7447493e602a315b26d1
tree92326160b55b967c766824d5e85f09db5e9f8030
parent0df8f65e1b526c269854ac45a7be57bb35898221
mgr/dashboard: emit success and error on copy2cliboard

This is needed since the notification service we have right now is
tightly coupled with the dashboard so toast won't show up in the
applications where this is being consumed. So emitting an output which
the application can use to show relavant toasts.

Fixes: https://tracker.ceph.com/issues/74213
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/components/copy2clipboard-button/copy2clipboard-button.component.ts