Add notification log and improve toast behavior#812
Merged
SimonHeybrock merged 4 commits intomainfrom Mar 19, 2026
Merged
Conversation
Resolves #803 — large error messages made notification popups unreachable because Notyf hard-codes 300px max-width and error toasts were persistent. Two-tier notification system: - Toasts are now brief (truncated to 120 chars, first line only) and auto-dismiss after 30s for errors (previously persistent) - Full notification history with timestamps and severity badges is shown in a scrollable log on the System Status tab Other changes: - Extract shared StatusColors palette from duplicated hex values across backend_status_widget, session_status_widget, workflow_status_widget, and buttons - Add visibility gating to SystemStatusWidget (skip refresh when tab is hidden, matching WorkflowStatusListWidget pattern) - Add timestamp and version counter to NotificationQueue for efficient change detection - Widen toast max-width from 300px to 500px via CSS override
datetime.UTC was added in Python 3.12. Replace with timezone.utc which is available since Python 3.2. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Extract heading from inline HTML into a Panel pane with proper margins, matching the pattern used by session and backend status widgets. Remove the redundant notification count summary. Move notifications to the bottom of the system status tab. Disable the notyf ripple animation that left visible curved edges at wider toast widths.
4ed125b to
911bce1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #803
StatusColorspalette from duplicated hex values across four widget filesSystemStatusWidget(skip refresh when System Status tab is hidden)Examples
Example with some fake errors and warnings, showing both the notification log width and toasts:
Test plan
🤖 Generated with Claude Code