Repository navigation
Polish the dashboard resource picker and overview - #22653
James Newton-King (JamesNK) wants to merge 3 commits into
Conversation
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 22653Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 22653" |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🟡 Changes recommended
For health checks with a last-run timestamp, both the tooltip and Copy action omit the displayed description or exception summary, leaving details truncated in narrow cards inaccessible in full.
1 open issue
1 file not reviewed
src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file
What changed in this PR
Refines Aspire Dashboard’s resource picker and overview for easier scanning and use in narrow windows.
Changes:
- Aligns picker controls, standardizes missing-value placeholders, and adjusts URL popup placement.
- Moves health checks into a compact property grid with static waiting icons and shared tooltip/visualizer text.
- Refines relationship arrows and separates the Live activity trace caveat onto its own line.
| File | Description |
|---|---|
src/Aspire.Dashboard/wwwroot/css/layout.css |
Makes grid icon-button sizing configurable. |
src/Aspire.Dashboard/Resources/xlf/Resources.zh-Hant.xlf |
Splits trace hint/caveat localization entries. |
src/Aspire.Dashboard/Resources/xlf/Resources.zh-Hans.xlf |
Splits trace hint/caveat localization entries. |
src/Aspire.Dashboard/Resources/xlf/Resources.tr.xlf |
Splits trace hint/caveat localization entries. |
src/Aspire.Dashboard/Resources/xlf/Resources.ru.xlf |
Splits trace hint/caveat localization entries. |
src/Aspire.Dashboard/Resources/xlf/Resources.pt-BR.xlf |
Splits trace hint/caveat localization entries. |
src/Aspire.Dashboard/Resources/xlf/Resources.pl.xlf |
Splits trace hint/caveat localization entries. |
src/Aspire.Dashboard/Resources/xlf/Resources.ko.xlf |
Splits trace hint/caveat localization entries. |
src/Aspire.Dashboard/Resources/xlf/Resources.ja.xlf |
Splits trace hint/caveat localization entries. |
src/Aspire.Dashboard/Resources/xlf/Resources.it.xlf |
Splits trace hint/caveat localization entries. |
src/Aspire.Dashboard/Resources/xlf/Resources.fr.xlf |
Splits trace hint/caveat localization entries. |
src/Aspire.Dashboard/Resources/xlf/Resources.es.xlf |
Splits trace hint/caveat localization entries. |
src/Aspire.Dashboard/Resources/xlf/Resources.de.xlf |
Splits trace hint/caveat localization entries. |
src/Aspire.Dashboard/Resources/xlf/Resources.cs.xlf |
Splits trace hint/caveat localization entries. |
src/Aspire.Dashboard/Resources/Resources.resx |
Defines the separate trace caveat string. |
src/Aspire.Dashboard/Resources/Resources.Designer.cs |
Adds the caveat resource accessor. |
src/Aspire.Dashboard/Components/ResourcesGridColumns/UrlsColumnDisplay.razor.css |
Adjusts overflow-button alignment and popup fallback placement. |
src/Aspire.Dashboard/Components/Pages/ResourceOverview.razor.css |
Refines overview spacing. |
src/Aspire.Dashboard/Components/Pages/ResourceOverview.razor |
Renders health checks in a compact property grid. |
src/Aspire.Dashboard/Components/Pages/ResourceOverview.Details.cs |
Adapts health reports into grid values and visualizer text. |
src/Aspire.Dashboard/Components/Layout/ResourcesLayout.razor.css |
Aligns picker controls and lengthens hint rotation. |
src/Aspire.Dashboard/Components/Layout/ResourcesLayout.razor |
Standardizes group buttons, URL overflow styling, and placeholders. |
src/Aspire.Dashboard/Components/Controls/ResourceRelationshipGraph.razor.css |
Aligns graph-node hover styling with property grids. |
src/Aspire.Dashboard/Components/Controls/ResourceRelationshipGraph.razor.cs |
Adds horizontal line segments before arrowheads. |
src/Aspire.Dashboard/Components/Controls/ResourceDetails.razor |
Uses static icons for waiting health checks. |
src/Aspire.Dashboard/Components/Controls/PropertyGrid.razor.css |
Shrinks compact-grid action buttons. |
src/Aspire.Dashboard/Components/Controls/PropertyGrid.razor.cs |
Adds name-prefix and action-area content parameters. |
src/Aspire.Dashboard/Components/Controls/PropertyGrid.razor |
Connects custom content and compact styling. |
src/Aspire.Dashboard/Components/Controls/OverviewStatusCard.razor.css |
Uses the shared button-size variable. |
src/Aspire.Dashboard/Components/Controls/ApplicationSummary.razor |
Standardizes empty metrics and separates tooltip caveat text. |
Review effort: Balanced
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
7c83237 to
8ed0608
Compare
There was a problem hiding this comment.
🔵 Needs a closer look
For timestamped reports, the shared tooltip/visualizer payload omits the diagnostic description, preventing users from reading or copying the full text when the row is truncated.
1 open issue
1 file not reviewed
src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file
Review effort: Balanced
|
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.
🔵 Needs a closer look
Human assessment is needed because the tooltip format change conflicts with an existing component-test expectation.
No open issues 🎉
1 resolved since last review
1 file not reviewed
src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file
Review effort: Balanced
|
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. |
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
4c47662 to
64f5157
Compare
Tests selector14 / 101 PR test projects · 2 PR jobs, from 32 changed files. Selected PR test projects (14 / 101)
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.
🟡 Changes recommended
Regression coverage is missing for health-detail values and tooltips across timestamped, exception-fallback, and waiting reports, including verification that the visualizer receives full details for Copy.
1 open issue
1 file not reviewed
src/Aspire.Dashboard/Resources/Resources.Designer.cs: Generated file
Review effort: Balanced
| var status = HealthReportFormatter.GetStatusWithTime(report, Loc); | ||
| var tooltipStatus = HealthReportFormatter.GetStatusTooltip(report, Loc, TimeProvider) ?? status; | ||
| return report.DisplayedDescription is { } description | ||
| ? new HealthCheckProperty(report, $"{status} \u00B7 {description}", $"{tooltipStatus} \u00B7 {description}") | ||
| : new HealthCheckProperty(report, status, tooltipStatus); |
Mitch Denny (mitchdenny)
left a comment
There was a problem hiding this comment.
Approving with non-blocking feedback: one popup positioning issue and one health-check test coverage gap. The latter is already noted in this comment.
| bottom: auto !important; | ||
| left: auto !important; | ||
| inset: auto !important; | ||
| position-area: bottom span-left; |
There was a problem hiding this comment.
Non-blocking: If neither side has room for the full list, the popup can overlap the +N button instead of opening above or below it. For example, this happens with a long list at 1000×530 when the button is around y=300. Could we constrain its height to the available space and add a regression test for that case?
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |


Description
Make the resource picker and overview easier to scan and use in narrow windows. The picker toolbar is aligned with other pages, group buttons share the same hover treatment, selection hints switch every 10 seconds, and missing metadata uses a consistent dash.
User-facing usage
In TestShop, open the expanded resource picker and select the
+1URL button onbasketservice. At 1000×740 it opens below; at 1000×530 it opens above. Selectbasketserviceand open+1in the footer to see the same placement rule. In HealthChecksSandbox, openunhealthyto see the updated Health checks card and copy the full status details.Screenshots / Recordings
Validation
aspire resource aspire-dashboard rebuild --apphost .\playground\TestShop\TestShop.AppHost\TestShop.AppHost.csproj --non-interactivepassed with zero warnings and errors.git diff --check origin/main...HEADpassed. No new checked-in tests were added.Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?