Repository navigation
Move notifications into a status-bar notification center (#751) - #753
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Screen-reader announcements can lose errors during sequential updates and omit failures from earlier-completed concurrent loads.
2 open issues
What changed in this PR
Moves ordinary notifications into a status-bar notification center so they no longer obscure the filter toolbar, addressing #751. Critical errors retain full-width banners.
Changes:
- Adds notification cards, arrival toasts, modal access, and confirmed batch dismissal that preserves running tasks and newer notifications.
- Adds shared announcement state, accessible action descriptions, and focus restoration.
- Makes the status bar single-line with compact variants and hidden-item descriptions, with supporting localization and tests.
| File | Description |
|---|---|
| tests/Unit/EventLogExpert.UI.Tests/TestUtils/BannerHostDependenciesExtensions.cs | Registers notification test dependencies. |
| tests/Unit/EventLogExpert.UI.Tests/StatusBar/StatusBarTests.cs | Covers layout, notification slots, and announcements. |
| tests/Unit/EventLogExpert.UI.Tests/StatusBar/StatusBarLocalizerWiringTests.cs | Adds required banner dependencies. |
| tests/Unit/EventLogExpert.UI.Tests/StatusBar/FailedCountAnnouncementStateTests.cs | Tests failure-announcement transitions. |
| tests/Unit/EventLogExpert.UI.Tests/Modal/ModalChromeValidateAsyncTests.cs | Tests inline-alert focus failures and prompt reset. |
| tests/Unit/EventLogExpert.UI.Tests/Modal/ModalChromeTests.cs | Covers notification headers and default focus. |
| tests/Unit/EventLogExpert.UI.Tests/Localization/LocalizationInfraTests.cs | Validates new resource formats. |
| tests/Unit/EventLogExpert.UI.Tests/FilterLibrary/LibraryEntryRowTests.cs | Tests focus selection before deletion. |
| tests/Unit/EventLogExpert.UI.Tests/DependencyInjection/UIServiceCollectionExtensionsTests.cs | Verifies scoped announcement state. |
| tests/Unit/EventLogExpert.UI.Tests/Banner/BannerHostTests.cs | Tests critical-only and all-card rendering. |
| tests/Unit/EventLogExpert.UI.Tests/Banner/BannerContentLocalizerTests.cs | Covers action hints and database attention. |
| tests/Unit/EventLogExpert.UI.Tests/Alerts/PromptModalTests.cs | Verifies prompts omit notification triggers. |
| tests/Unit/EventLogExpert.UI.Tests/Alerts/AlertModalTests.cs | Tests default focus and trigger omission. |
| tests/Unit/EventLogExpert.UI.Tests/Alerts/AlertDialogServiceTests.cs | Tests default-to-cancel propagation. |
| tests/Unit/EventLogExpert.Runtime.Tests/DependencyInjection/RuntimeServiceCollectionExtensionsTests.cs | Verifies shared bulk-dismiss registration. |
| tests/Unit/EventLogExpert.Runtime.Tests/Banner/BannerServiceTests.cs | Tests snapshot dismissal and timestamps. |
| tests/JsUnit/modalChrome.test.js | Tests modal and notification focus restoration. |
| tests/JsUnit/focusGuard.test.js | Tests hidden status-item focus fallbacks. |
| src/EventLogExpert/Main.razor | Limits workspace banners to critical errors. |
| src/EventLogExpert.UI/wwwroot/Common/focusGuard.js | Redirects focus from hidden status items. |
| src/EventLogExpert.UI/StatusBar/StatusBar.razor.js | Implements priority-based status-bar fitting. |
| src/EventLogExpert.UI/StatusBar/StatusBar.razor.css | Defines single-line, compact layout styles. |
| src/EventLogExpert.UI/StatusBar/StatusBar.razor.cs | Manages layout interop and failure state. |
| src/EventLogExpert.UI/StatusBar/StatusBar.razor | Adds notification center and compact variants. |
| src/EventLogExpert.UI/StatusBar/FailedCountAnnouncementState.cs | Tracks loading-failure announcements. |
| src/EventLogExpert.UI/Modal/ModalChrome.razor.js | Adds guarded modal focus restoration. |
| src/EventLogExpert.UI/Modal/ModalChrome.razor.css | Styles collapsible headers and actions. |
| src/EventLogExpert.UI/Modal/ModalChrome.razor.cs | Manages notification visibility and alert focus. |
| src/EventLogExpert.UI/Modal/ModalChrome.razor | Adds header notifications and cancel autofocus. |
| src/EventLogExpert.UI/Layout/MainLayout.razor | Marks the workspace focus fallback. |
| src/EventLogExpert.UI/DependencyInjection/UIServiceCollectionExtensions.cs | Registers shared announcement state. |
| src/EventLogExpert.UI/Database/DatabaseRecoveryHost.cs | Identifies recovery reminders for dismissal warnings. |
| src/EventLogExpert.UI/Common/StatusBarTextComposer.cs | Formats compact status labels. |
| src/EventLogExpert.UI/Banner/UpgradeProgressBanner.razor.cs | Adds static-card presentation parameters. |
| src/EventLogExpert.UI/Banner/UpgradeProgressBanner.razor | Renders accessible upgrade-progress cards. |
| src/EventLogExpert.UI/Banner/Preformatted.cs | Adds recovery-reminder metadata. |
| src/EventLogExpert.UI/Banner/NotificationToast.cs | Defines toast content. |
| src/EventLogExpert.UI/Banner/NotificationSeverity.cs | Defines notification severity levels. |
| src/EventLogExpert.UI/Banner/NotificationCenter.razor.js | Handles popovers, positioning, and focus. |
| src/EventLogExpert.UI/Banner/NotificationCenter.razor.css | Styles triggers, cards, panels, and toasts. |
| src/EventLogExpert.UI/Banner/NotificationCenter.razor.cs | Coordinates notification access and bulk dismissal. |
| src/EventLogExpert.UI/Banner/NotificationCenter.razor | Renders the notification-center interface. |
| src/EventLogExpert.UI/Banner/NotificationAnnouncementState.cs | Coordinates announcements and toast lifetimes. |
| src/EventLogExpert.UI/Banner/InfoBanner.razor.cs | Adds card severity and title metadata. |
| src/EventLogExpert.UI/Banner/InfoBanner.razor | Renders information and warning cards. |
| src/EventLogExpert.UI/Banner/ExportProgressBanner.razor.cs | Adds static-card presentation parameters. |
| src/EventLogExpert.UI/Banner/ExportProgressBanner.razor | Renders accessible export-progress cards. |
| src/EventLogExpert.UI/Banner/ErrorBanner.razor.cs | Adds action preparation and card parameters. |
| src/EventLogExpert.UI/Banner/ErrorBanner.razor | Renders error cards and deferred-action hints. |
| src/EventLogExpert.UI/Banner/BannerHost.razor.cs | Adds notification rendering options. |
| src/EventLogExpert.UI/Banner/BannerHost.razor | Supports critical-only banners and all-card lists. |
| src/EventLogExpert.UI/Banner/BannerContentLocalizer.cs | Localizes database-attention summaries. |
| src/EventLogExpert.UI/Banner/AttentionBanner.razor.cs | Adds card parameters and action preparation. |
| src/EventLogExpert.UI/Banner/AttentionBanner.razor | Renders accessible database-attention cards. |
| src/EventLogExpert.UI/Alerts/PromptModal.razor | Disables notifications within prompts. |
| src/EventLogExpert.UI/Alerts/InlineAlertRequest.cs | Adds the default-to-cancel option. |
| src/EventLogExpert.UI/Alerts/AlertModal.razor.cs | Exposes default-to-cancel configuration. |
| src/EventLogExpert.UI/Alerts/AlertModal.razor | Passes focus defaults and disables notifications. |
| src/EventLogExpert.UI/Alerts/AlertDialogService.cs | Propagates confirmation focus defaults. |
| src/EventLogExpert.Runtime/DependencyInjection/RuntimeServiceCollectionExtensions.cs | Registers the bulk-dismiss service interface. |
| src/EventLogExpert.Runtime/Banner/NotificationDismissSnapshot.cs | Defines captured dismissible notifications. |
| src/EventLogExpert.Runtime/Banner/INotificationBulkDismissService.cs | Defines snapshot-based batch dismissal. |
| src/EventLogExpert.Runtime/Banner/IAttentionBannerService.cs | Exposes attention arrival time. |
| src/EventLogExpert.Runtime/Banner/BannerService.cs | Implements batch dismissal and attention versioning. |
| src/EventLogExpert.Runtime/Banner/BannerMessage.DatabaseAttention.cs | Defines database-attention message content. |
| src/EventLogExpert.Runtime/Alerts/IAlertDialogService.cs | Adds optional confirmation focus configuration. |
| src/EventLogExpert.Localization/Resources/SharedResource.resx | Adds notification and compact status-bar text. |
Review effort: Balanced
Joseph Schick (jschick04)
force-pushed
the
jschick/status-bar-notifications
branch
from
October 28, 2026 16:18
be1383f to
3f9d2aa
Compare
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Hidden notifications still reserve empty header space, and the compact status label bypasses validity checks, allowing unfinished counts or mismatched tab totals to appear.
2 open issues
2 resolved since last review
Review effort: Balanced
…o longer cover the filter toolbar (#751)
Joseph Schick (jschick04)
force-pushed
the
jschick/status-bar-notifications
branch
from
October 28, 2026 16:56
3f9d2aa to
e7ae5e3
Compare
Joseph Schick (jschick04)
marked this pull request as ready for review
October 28, 2026 17:04
Nick Tilton (NikTilton)
approved these changes
Oct 28, 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.

Summary
Fixes #751. Notification banners used to render across the top of the window and covered the filter toolbar, so new users did not realize the filter menu was behind them. Ordinary notifications now live in a notification center on the status bar, and only critical errors keep the full-width banner.
Notification center on the status bar
Clear all
INotificationBulkDismissService), so cards that arrive while the confirmation is open are not removed.Status bar layout
Accessibility
ShowAlertoverload that takes anAlertPresentationgained an optionaldefaultToCancelargument (defaultfalse), so existing callers are unchanged.Testing
node --test tests/JsUnit) 164 passed.