PR 10 Commit A: AttentionBanner label + Settings focus ring + inline-alert z-index#554
Closed
jschick04 wants to merge 1 commit into
Closed
PR 10 Commit A: AttentionBanner label + Settings focus ring + inline-alert z-index#554jschick04 wants to merge 1 commit into
jschick04 wants to merge 1 commit into
Conversation
This was referenced May 29, 2026
Closed
Contributor
There was a problem hiding this comment.
Pull request overview
This PR applies small UI polish changes on top of the Settings/DatabaseTools modal refactor stack by updating the Attention banner action/label, preventing clipped focus rings in Settings, and ensuring inline-alert overlays render above sticky footer content.
Changes:
- Update
AttentionBanneraction/message from “Open Settings” to “Open Databases”, and changeIMenuActionService.OpenDatabaseToolsAsync()to returnTask<bool>so callers can detect “not opened” outcomes. - Add padding to the Settings scroll container so
:focus-visiblerings aren’t clipped. - Set explicit z-index values for inline-alert overlay + alert to keep them above the sticky save-strip.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/Unit/EventLogExpert.UI.Tests/Banner/BannerHostTests.cs | Updates banner-host regression test expectations for the new “Databases” failure path. |
| tests/Unit/EventLogExpert.UI.Tests/Banner/AttentionBannerTests.cs | Renames/updates AttentionBanner tests to cover the new “Open Databases” action and error messaging. |
| src/EventLogExpert/Adapters/Menu/MauiMenuActionService.cs | Changes OpenDatabaseToolsAsync to return Task<bool> by forwarding WasOpened from modal coordination. |
| src/EventLogExpert.UI/Settings/SettingsModal.razor.css | Adds padding to the scrolling column to prevent focus-ring clipping. |
| src/EventLogExpert.UI/Modal/ModalChrome.razor.css | Adds z-index values to inline-alert overlay and alert to ensure correct stacking above sticky elements. |
| src/EventLogExpert.UI/Banner/AttentionBanner.razor.cs | Renames the click handler and routes the banner action to OpenDatabaseToolsAsync, with updated error reporting text. |
| src/EventLogExpert.UI/Banner/AttentionBanner.razor | Updates rendered banner text/button label and binds to the renamed handler. |
| src/EventLogExpert.Runtime/Menu/IMenuActionService.cs | Updates OpenDatabaseToolsAsync contract from Task to Task<bool>. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
b97741f to
01b34fe
Compare
… clipping, and layered inline alert overlay above sticky save strip
01b34fe to
bc6c1f6
Compare
Collaborator
Author
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.
Polish on top of #553 stack: small fixes addressed across 3 cosmetic surfaces.
Changes
AttentionBanneraction text:Open Settings→Open Databases(and flippedIMenuActionService.OpenDatabaseToolsAsync()signature fromTask→Task<bool>so MauiMenuActionService surfaces the previously-discarded bool):focus-visiblerings no longer clipped (added .5rem padding on.settings-form > .flex-column-scroll)Stack
This PR is the first of three stacked on top of #553. Order:
Tests