Repository navigation
[release/13.6] Fix dashboard filter badges and toolbar navigation - #20511
Jose Perez Rodriguez (joperezr) merged 1 commit into
Conversation
(cherry picked from commit be7bc88)
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20511Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20511" |
Tests selector13 / 99 PR test projects · 2 PR jobs, from 9 changed files. Selected PR test projects (13 / 99)
Selected PR jobs (2)
How these were chosen — grouped by what changed
🔧 📦 affected project 🔧 🧪 Job reasons
Selection computed for commit |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The backport matches the merged source change and includes focused regression coverage for its navigation lifecycle behavior.
Review effort: Balanced
Findings: None
What changed in this PR
Backports the merged dashboard fixes from #20471 to release/13.6.
Changes:
- Hides empty filter badges without replacing toolbar buttons.
- Allows narrow toolbars to wrap correctly.
- Prevents delayed mobile navigation after page navigation or disposal.
| File | Description |
|---|---|
ResourceDetails.razor.css |
Allows toolbar height to expand. |
AspirePageContentLayout.razor.cs |
Clears stale deferred navigation. |
IPageWithSessionAndUrlState.cs |
Defers URL updates only while the panel is open. |
StructuredLogs.razor |
Hides zero-count badges. |
TraceDetail.razor |
Hides zero-count badges. |
Traces.razor |
Hides zero-count badges. |
controls.css |
Prevents menu wrappers stretching vertically. |
layout.css |
Stabilizes badge-container layout. |
ResourcesTests.cs |
Covers mobile navigation and disposal behavior. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
34db30a
into
release/13.6
|
✅ No documentation update needed. Step 5 branch taken: This PR is excluded from docs generation per Exclusion reasons (
Per the workflow rules, a backport ports an already-merged change onto a release branch, and its user-facing documentation should be authored against the original (forward) PR (#20471) on the default branch, not duplicated here. Triggered signals (for context only, not acted on since No docs PR was created. If documentation is needed for this dashboard fix, it should be handled via the docs check on the original PR #20471. |
Backport of #20471 to release/13.6
/cc James Newton-King (@JamesNK)
Description
Dashboard filter badges could remain visible with an empty count, narrow resource-details controls could overlap properties, and mobile Resources tab changes could leave navigation queued until the filter panel closed—even after leaving the page. This backport hides zero-count badges without replacing their button, lets narrow controls wrap, and updates the mobile URL immediately unless the filter panel is open. Pending changes are discarded after navigation or disposal.
At narrow Structured Logs split-pane widths, the search field can still extend outside the summary pane, as noted on the source PR.
User-facing usage
Disable every filter on Structured Logs, Traces, or Trace Detail to hide the count badge while retaining the Filters button. On mobile Resources, switch to Parameters without opening the filter panel to update the URL to
/?view=Parameters.Screenshots / Recordings
Screenshots from #20471:
Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?Customer Impact
Empty filter badges can remain visible, narrow toolbar controls can overlap, and mobile Resources tab changes can be delayed until the filter panel closes or navigate after leaving the page. The backport corrects these behaviors.
Testing
On
release/13.6, 40/40 Resources and dialog-provider tests passed; the source PR also reports browser/Playwright toolbar measurements and manual dashboard checks.Risk
Medium — shared mobile navigation lifecycle and toolbar CSS affect several Dashboard pages; in a narrow Structured Logs split pane, the search field can still extend outside the summary pane, as noted in the source PR.
Regression?
Yes — confirmed by the requester; the introducing version is not documented.