Commit Graph
16 Commits
Author SHA1 Message Date
Alessandro 40325c84d1 Hide copy actions on routine confirmation toasts
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.
2026-11-01 06:59:07 +01:00
Alessandro e5237d6c8b Hide Copy on notifications with action buttons
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.
2026-10-30 00:56:18 +01:00
Alessandro 0ca2d48970 Add copy action below notification toast content
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.
2026-10-29 20:56:27 +01:00
linkliti ee970b5f0d refactor(webui): replace hardcoded accent blues with the highlight token
Positive accent controls hardcoded six blue literals across the WebUI and bundled plugins, so custom accent-color switchers had to patch each surface separately. Route them through var(--color-highlight) — mapped in the light block for the first time — and keep each surface mix percentages, deriving hover and active steps with the established black color-mix pattern; the redundant light-mode unread override collapses into the single var-based rule. Login keeps its literals because the login page loads no theme tokens, and status colors like queue orange, stop red, and success or error toasts stay hardcoded as semantic tones.

Validation: pytest welcome/whats-new/agent-editor/model-config/speech/sidebar/self-update suites (82 passed; 2 stop-agent failures pre-exist at HEAD, proven by stash run); rg confirms no accent literals outside login.css.
2026-10-13 18:06:47 +03:00
frdel 93d1131ce1 Unify WebUI icons and fix message collapsing
Introduce the x-icon custom element and migrate first-party WebUI and bundled plugin markup while retaining legacy Material icon compatibility. Defer icon-font readiness until the splash-installed document is parsed so Firefox does not leave icons transparent. Centralize chat message collapse handling, avoid false Show More controls on short user messages, and align grouped-message pagination styling. Update DOX and add regression coverage for the icon and collapse behavior.
2026-07-31 13:32:41 +00:00
Alessandro 4b5077c493 Fix plugin reload toast behavior
Persist the frontend-extension notification as read before reloading so it does not reappear after refresh. Align plugin and updater toast actions with the shared small spacing token.
2026-07-12 17:26:35 +02:00
Alessandro 831bed7a0c Polish the update notification action
Present Open updater as the existing confirm-style button on its own toast row. Opening the Self Update modal now dismisses the persistent notification so users do not need to close it separately.\n\nKeep external update-instruction links unchanged and extend the persistent-toast regression coverage.
2026-07-12 17:10:47 +02:00
Alessandro 4f80ded531 Fix transient UI layering over modals
Raise notification toasts and Bootstrap tooltips above normal and legacy modal overlays while keeping confirmation dialogs on top.

Remove the duplicate tooltip CSS block and add a focused regression for the layer ordering contract.
2026-07-08 15:37:18 +02:00
frdel 1b89a0d359 Add tool request validation and plugin change notifications
Introduce validate_tool_request() extensible method in agent.py to validate tool request structure (dict with tool_name string and tool_args dict fields) before processing. Add after_plugin_change() helper in helpers/plugins.py that clears cache and sends a frontend reload notification (throttled to display_time interval) with a reload button. Update plugin installer install/delete flows to call after_plugin_change(). Extend notification
2026-03-10 13:08:48 +01:00
3clyp50 48627e4172 bs tooltips fix; consistent icons 2026-01-06 01:35:00 +01:00
frdel e6eae9c7dd project finalizing, openrouter embeddings 2025-11-13 08:52:45 +01:00
frdel eee6796299 tunnel component refactor 2025-08-15 11:22:28 +02:00
frdel 97e009dbe5 notifications polishing 2025-08-04 13:07:25 +02:00
frdel e37e7139cf notifications redesign 2025-08-02 13:04:27 +02:00
Rafael Uzarowski 9145c4d58d fix: notification fixes, refactor and restart toast persistence 2025-08-01 16:42:54 +02:00
Rafael Uzarowski e476b4bfce feat: notifications backend system and frontend display 2025-07-12 16:32:29 +02:00