Implement toast notifications and enhance operations panel feedback#5065
Merged
Conversation
Marc-André Moreau (mamoreau-devolutions)
approved these changes
Jul 9, 2026
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.
This pull request introduces a comprehensive overhaul of the notification and toast system in the application, focusing on clearer separation between per-operation notifications and general toasts, improved accessibility, and enhanced user feedback for batch operations. It also brings visual refinements for toast notifications and streamlines notification delivery logic across platforms.
Notification System Refactor and UI Improvements:
Per-operation notifications no longer fall back to in-app banners: Notifications for individual operation results (progress, success, error) now only use native OS notifications on Windows/macOS, avoiding duplicate in-app banners since results are already visible in the operations panel. The fallback to in-app banners is now opt-in for other notification types. (
AvaloniaOperationRegistry.cs,WindowsAppNotificationBridge.cs)New toast system with stack, auto-dismiss, and accessibility: Adds an observable collection of toasts (
Toasts) managed by the view model, supporting up to five simultaneous toasts, auto-dismiss timers (with pause/resume on hover), and assertive/polite announcements for screen readers. Banners are now surfaced as toasts for consistency. (MainWindowViewModel.cs)Batch operation summary toast: When a batch of operations completes, a single summary toast (success or error) is shown, if enabled in settings, instead of multiple popups. (
MainWindowViewModel.cs)UI and Theming Enhancements:
Styles.Common.axaml)Platform-specific and Settings UI:
NotificationsViewModel.cs)These changes collectively modernize notification handling, reduce redundant alerts, and provide a more accessible and visually coherent user experience.