Repository navigation
[release/17.0] Improve resource picker hover actions - #22239
Jose Perez Rodriguez (joperezr) merged 2 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 -- 22239Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 22239" |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🟡 Changes recommended
The hover/focus styling adds an empty action column to telemetry-source rows in comfortable density, unnecessarily shrinking resource names when no action buttons exist.
1 open issue
What changed in this PR
Updates the dashboard’s non-expanded resource picker to give names and status text more room while keeping actions available on hover or keyboard focus.
Changes:
- Extends compact mode’s hover, focus, and open-menu action visibility to comfortable rows.
- Sizes action rails around available buttons and adjusts error-badge offsets to keep badges stationary.
- Updates Razor comments to describe the revised spacing; no Razor behavior changes.
| File | Description |
|---|---|
src/Aspire.Dashboard/Components/Layout/ResourcesLayout.razor.css |
Shares content-sized action rails across densities and updates visibility and badge positioning. |
src/Aspire.Dashboard/Components/Layout/ResourcesLayout.razor |
Removes outdated comments and clarifies hidden toggle-placeholder behavior. |
Review effort: Balanced
This comment has been minimized.
This comment has been minimized.
|
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]>
ea8fbcc to
c18d0de
Compare
Tests selector13 / 101 PR test projects · 2 PR jobs, from 2 changed files. Selected PR test projects (13 / 101)
Selected PR jobs (2)
How these were chosen — grouped by what changed
🔧 📦 affected project Job reasons
Selection computed for commit |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
9205e71
into
release/17.0
|
✅ No documentation update needed. excluded → base_branch_is_release, title_release_prefix. Backport PR (base |


Description
Comfortable resource-picker rows currently show their buttons all the time, taking space away from names and status text. Both comfortable and compact rows also reserve empty action slots when a resource has no endpoint link or highlighted command.
No new dependencies.
Fixes # (issue)
User-facing usage
Select Settings > Resource list density > Comfortable, then hover or keyboard-focus a resource row to reveal its actions. Moving away gives its name and status more room. Resources without endpoint links no longer have a blank slot before their command buttons; compact mode uses the same spacing.
Screenshots / Recordings
Validation
aspire resource aspire-dashboard rebuild --apphost C:\Development\Source\aspire\playground\Stress\Stress.AppHost\Stress.AppHost.csproj --non-interactive— passed; build succeeded with 0 warnings and 0 errors.aspire wait aspire-dashboard --apphost C:\Development\Source\aspire\playground\Stress\Stress.AppHost\Stress.AppHost.csproj --non-interactive— passed; dashboard healthy.git diff --check -- src\Aspire.Dashboard\Components\Layout\ResourcesLayout.razor.css src\Aspire.Dashboard\Components\Layout\ResourcesLayout.razor— passed.Checklist
<remarks />and<code />elements on your triple slash comments?