Repository navigation
Update Fluent UI preview and overflow handling - #20176
Conversation
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20176Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20176" |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🟡 Changes recommended
Add focused integration or Playwright coverage for the production registration and dialog/drawer behavior.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
This PR disables Fluent UI’s unused global overlay to prevent spinner flashes when opening dashboard dialogs, while keeping normal dialogs and drawers enabled.
Changes:
- Sets
UseGlobalOverlay = false. - Documents the upstream workaround.
File summaries
| File | Summary |
|---|---|
src/Aspire.Dashboard/DashboardWebApplication.cs |
Updates Fluent UI registration to disable the global overlay. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Lite (auto)
Note
Copilot is running an experiment and ran this review at Lite.
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🟡 Changes recommended
Two moderate test gaps remain for bounded overflow behavior, and the requested visual evidence or TODO scenario is missing.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (2)
src/Aspire.Dashboard/Components/ResourcesGridColumns/UrlsColumnDisplay.razor:32
- The new popup now depends on
overflow.Itemsto include both measured and pre-overflowed URLs, but the updated test only checks the bounded initial DOM and never exercises this template. A regression could leave the +N count correct while omitting URLs beyondMaxRenderedOverflowItemsfrom the popup. Add a component test that simulates overflow and verifies a pre-overflowed URL is present in the popup.
var items = overflow.Items;
src/Aspire.Dashboard/wwwroot/css/controls.css:1
- The PR description requires before/after screenshots or, if visuals cannot be captured, a TODO scenario for this UI change, but the Screenshots/Recordings section is still only the placeholder. Please add the requested visual evidence or document the scenario to verify manually.
fluent-overflow::part(items) {
- Files reviewed: 11/11 changed files
- Comments generated: 1
- Review effort level: Lite (auto)
Note
Copilot is running an experiment and ran this review at Lite.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🔵 Needs a closer look
The stated high-cardinality metric-tag behavior lacks focused regression coverage.
Review details
Suppressed comments (1)
src/Aspire.Dashboard/Components/Controls/Chart/ChartFilterTags.razor:7
- Add a focused high-cardinality component test for this path. The existing
ChartFiltersTestsfixture creates only two values, so it does not verify the PR's bounded-rendering contract: with more than 20 dimension values, only 20 item roots should be rendered andpre-overflow-countshould represent the remainder. Including a selected value beyond the rendered prefix would also cover the new overflow-trigger highlighting logic.
<FluentOverflow TItem="DimensionValueViewModel" Items="@orderedValues" Class="dimension-overflow" MaxRenderedItems="@MaxRenderedOverflowItems">
- Files reviewed: 13/13 changed files
- Comments generated: 0 new
- Review effort level: Balanced (auto)
Note
Copilot is running an experiment and ran this review at Balanced.
Tests selectorSelects the full PR test matrix + all PR-gated jobs (ALL) — a rule matching 'Directory.Packages.props' selects ALL Selection computed for commit |
There was a problem hiding this comment.
🟢 Approval recommended
The migration is consistent with the updated Fluent UI contracts and includes focused regression coverage for the bounded overflow behavior.
Review details
- Files reviewed: 14/14 changed files
- Comments generated: 0 new
- Review effort level: Balanced (auto)
Note
Copilot is running an experiment and ran this review at Balanced.
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
Ella Hathaway (ellahathaway)
left a comment
There was a problem hiding this comment.
Reviewed the Fluent UI update and overflow changes; no new issues found. The added tests cover bounded rendering, hidden URLs, and selected metric values beyond the render limit, addressing the earlier coverage feedback. Browser behavior was assessed from the diff and documented validation, not independently rerun. Approved.
PR Testing ReportPR Information
Artifact Version Verification
Changes Analyzed
Test Scenarios ExecutedScenario 1: Dashboard buildObjective: Compile the dashboard with the updated Fluent UI package.
Scenario 2: Focused dashboard component testsObjective: Validate chart filters, URL display, trace details, and main layout behavior. The focused MTP run passed 62 of 62 tests with quarantined and outerloop tests excluded. The first concurrent test attempt encountered a Windows XLIFF intermediate-file lock while the dashboard build was writing the same output. The isolated rerun passed and this was not treated as a PR failure. Scenario 3: Single long URL and navigation overlayObjective: Validate narrow-column ellipsis and confirm the Fluent UI update does not leave a global overlay visible during dashboard navigation.
Scenario 4: High-cardinality URL overflowObjective: Validate bounded rendering for a resource with 30 URLs.
Summary
Overall Result❌ ISSUES FOUND RecommendationAdd coverage where available width leaves only one visible URL and the source contains more than 20 URLs. Bound the overflow popover payload independently from the number of items that fit in the grid, or clarify the intended meaning of |
|
The CI build failed due to test failure(s) that appear unrelated to the PR changes. These may be flaky tests. Suspected flaky test(s):
Suggested actions:
You can re-run the failed jobs from the workflow run page. |
Documents dashboard UX from microsoft/aspire#20176: - Single-endpoint URL truncation with ellipsis when column is narrow - Multi-endpoint +N badge/popover overflow (existing behavior, clarified) - Traces page spans column +N badge with vertical tooltip - Trace details header +N badge with vertical tooltip Co-authored-by: Copilot <[email protected]>
|
Pull request created: #1718
|
|
📝 Documentation has been drafted in microsoft/aspire.dev#1718 targeting Drafted documentation updates to
No new pages were created; the existing page prose was updated in place. Note This draft PR needs human review before merging. |
Description
Updates
Microsoft.FluentUI.AspNetCore.Componentsto5.0.0-preview.26259.4, which includes the upstream fix for the global overlay spinner flash tracked by microsoft/fluentui-blazor#5282.Adapts the dashboard to the updated generic, item-backed
FluentOverflowAPI while preserving bounded rendering for high-cardinality metric dimensions and resource URLs. Overflow contents now retain their intrinsic width instead of growing to fill the available space.User-facing behavior
Screenshots / Recordings
Validation
dotnet test --project tests/Aspire.Dashboard.Components.Tests/Aspire.Dashboard.Components.Tests.csproj --no-launch-profile -- --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true"(360 passed)dotnet test --project tests/Aspire.Dashboard.Components.Tests/Aspire.Dashboard.Components.Tests.csproj --no-launch-profile -- --filter-class "*.UrlsColumnDisplayTests" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true"(2 passed)dotnet test --project tests/Aspire.Dashboard.Components.Tests/Aspire.Dashboard.Components.Tests.csproj --no-launch-profile -- --filter-class "*.TraceDetailsTests" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true"(13 passed)dotnet build src/Aspire.Dashboard/Aspire.Dashboard.csproj --no-restoreFixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?