Repository navigation
[UI] Flat refresh 7/9: Vulnerabilities page with a severity bar - #611
Merged
Merged
Conversation
|
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.



Pull Request
📖 Description
The Vulnerabilities page now follows the flat refresh: one
PageHeaderand one panel whose header shows the advisory count (4 of 31while a filter hides advisories), a severity bar with legend over all active advisories, and the filter and severity select with their labels above. The row rails and the page's own severity colors are gone; the severity is aStatusChip(an advisory without a known severity readsUnknownin the low tone), the expand button has an accessible name andaria-expanded, and an expanded row and its detail share the subtle surface. The page pages its advisories itself and draws its own pager (Rows per page,1–25 of 31, two labelled icon buttons), becauseMudTablePagerbrings first/last-page buttons and a different range format. Below 960 px rows are cards whose long values wrap;SectionPanelgained two optional fragments for the count and the bar. The behavior documentation moved into the new area documentdocs/areas/list-pages.md, sinceweb-ui.mdwas at its word limit. This is an enhancement, not a breaking change.🎫 Issues
💬 Reviewer Notes
The page keeps the page index and size itself and gives
MudTableonly the rows of the current page. A page size sent by the client is accepted only if it is 25, 50 or 100.docs/ARCHITECTURE.md§9 also loses a stale claim that the vulnerability widgets are shared with this page. A manual check at 390, 768 and 1280 px passed on the stamped head.📑 Test Plan
SectionPanelTests,VulnerabilityOverviewFormatterTests,TablePagingFormatterTests,VulnerabilitiesRenderTests,VulnerabilitiesTests,AppStylesheetVulnerabilitiesTests)docs/areas/list-pages.mdand the/vulnerabilitiesrow ofdocs/areas/web-ui.mdread against the criterionThe full suite passes (2980 + 39 tests), new and changed code is covered at 94.3 %, overall 96.2 %.
✅ Checklist
.squad/stack.md, and the Analyzer gate reports no diagnostic in a changed file..squad/stack.mdpasses (new or changed production code with the branch conditions its report records, line coverage overall).README.md,ARCHITECTURE.md) and the area document of every changed behavior to reflect my changes..squad/stack.mdprescribes.breaking-changeand says so in the Description.csharp.instructions.mdare followed.UI-specific
⏭ Next Steps