You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4ff986f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: webui/components/notifications/AGENTS.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@
15
15
16
16
- Use the notification system for user-facing success, warning, info, and error feedback.
17
17
- Keep public helper names stable for core and plugin callers.
18
+
-`notification_received` JS extensions receive `{ notification, source }` for backend arrivals/updates and frontend-only toasts before dismissal. `notification` is a shallow copy, `source` is `backend` or `frontend`, and dispatch does not delay rendering; consumers must deduplicate replayed snapshots and handle their own persistence failures.
19
+
-`notification-header-actions-start` hosts plugin actions before Clear All, including when the notification list is empty.
18
20
- Keep the toast stack visible above normal and legacy modal overlays while staying below confirmation dialogs.
19
21
- Toasts keep the shared copy icon with a visible `Copy` label below the scrolling content, aligned with the text; Dismiss stays at the top right. Copy the full rendered title and message as plain text without opening the modal or dismissing the toast; pause dismissal while hovered or keyboard-focused.
20
22
- Reload actions must persist their notification as read before refreshing the page.
0 commit comments