Commit Graph
6 Commits
Author SHA1 Message Date
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
linkliti 0ed76d2dc1 fix(webui): unify translucent glass style across header and canvas surfaces
The sidebar header panel, notification toggle, project selector, and right canvas rail each used their own background, border radius, and hover treatment, so the floating surfaces looked inconsistent and the project selector sat taller than the notification bell. Introduce the shared --color-surface-translucent token derived from the chat background, apply it to all four surfaces with a common border and 8px radius, pin the selector to the bell 36px height, and unify the bell hover with the primary-tinted hover used elsewhere.

Validation: pytest tests/test_ui_control_visibility.py tests/test_office_canvas_setup.py tests/test_browser_agent_regressions.py; visual check on live instance
2026-10-13 18:06:47 +03: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
Rafael Uzarowski e32a04fb77 finalize the notification system 2025-07-12 16:36:20 +02:00
Rafael Uzarowski 1225cae5c0 feat: frontend-only notifications and test button for them 2025-07-12 16:32:29 +02:00
Rafael Uzarowski e476b4bfce feat: notifications backend system and frontend display 2025-07-12 16:32:29 +02:00