Hide Copy on success, info, and progress toasts, including plugin
installation and saved-preset confirmations. Apply the rule in shared
toast styling so all callers use the same behavior. Warning and error
toasts retain Copy unless their content includes an action button.
Extend desktop and mobile DOM coverage for frontend and backend status
toasts, changing notification types, diagnostic copying, embedded
actions, and dismissal. Update the notification component contract.
Validation: 30 focused tests passed. Visually checked temporary toasts
and dismissal in the live WebUI at desktop and 320px mobile widths;
git diff --check passed.
Hide the Copy row whenever a toast's rendered content contains a button,
while keeping Copy on text-only messages as their content changes.
Cover reload, update, OAuth reconnect, and agent-test notices in desktop
and mobile browser regressions, and document the shared rendering rule.
Validation: seven focused notification and download tests passed, plus a
live WebUI check of all four action notices and a text-only error.
Dispatch notification_received with a shallow notification copy and its
frontend/backend source when notifications enter the store. Keep rendering
synchronous and let the existing extension dispatcher isolate plugin errors.
Add a notification-header-actions-start slot before Clear All, including
when the notification list is empty.
These hooks let community plugins retain transient errors and expose their
history without patching notification methods or replacing the modal.
Document both contracts and cover event payload isolation and slot discovery.
Validation: 56 focused tests passed, including notification copy, extension
surfaces, and toast regressions. Verified a local Notification Logs plugin
in the live WebUI at localhost:32081.
Add a labeled Copy action below the scrollable toast body so users can
capture the full title and message without opening or dismissing the toast.
Reuse the shared clipboard helper and button feedback, keep Dismiss at the
top right, and pause automatic dismissal during hover or keyboard focus.
Cover desktop and mobile layouts, full-text copying, multiple toasts,
keyboard interaction, clipboard failures, and fallback copying. Update the
notification component contracts to describe the layout and behavior.
Validation: 12 focused tests passed across test_notification_copy.py,
test_download_toast_regressions.py, and test_message_action_buttons_static.py.
Verified the layout, scrolling, and real clipboard copying in the live
WebUI at localhost:32081. The full test suite was not run.