Repository navigation
[release/17.0] Improve telemetry source rows in the dashboard - #22257
Jose Perez Rodriguez (joperezr) merged 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 -- 22257Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 22257" |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🟡 Changes recommended
Comfortable resource rows omit available signals from the link’s accessible description, preventing screen-reader users from hearing which signals are available.
1 open issue
What changed in this PR
This PR simplifies telemetry-only source rows in the dashboard sidebar and expanded resource table, making their content depend on the selected density.
Changes:
- Compact rows show only source names and no longer reserve unused action space.
- Comfortable rows display localized labels for retained logs, traces, and metrics.
- Component tests cover signal updates, separators, and density changes in standalone and AppHost dashboards.
| File | Description |
|---|---|
tests/Aspire.Dashboard.Components.Tests/Layout/ResourcesLayoutTests.cs |
Adds signal and density coverage; updates the compact-row expectation. |
src/Aspire.Dashboard/Components/Layout/ResourcesLayout.razor.css |
Lets telemetry links span the unused action area. |
src/Aspire.Dashboard/Components/Layout/ResourcesLayout.razor.cs |
Builds localized labels from signal availability. |
src/Aspire.Dashboard/Components/Layout/ResourcesLayout.razor |
Replaces the repeated source-kind label with comfortable-density signal summaries. |
Review effort: Balanced
|
Does it make sense to include hover icons (actions) to take the user to the available, source type? Like, structured logs, traces or metrics? |
|
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
The accessible-description assertion still expects Telemetry sources instead of Telemetry sources; Structured logs, causing both cases of Standalone_SourceLinksHaveAccessibleNamesInsteadOfHoverTooltips to fail.
1 open issue
1 resolved since last review
Review effort: Balanced
This comment has been minimized.
This comment has been minimized.
Remove redundant compact subtitles and empty hover action space. Show available telemetry signals with shared separators in comfortable rows. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
a694256 to
c7390c9
Compare
Tests selector13 / 101 PR test projects · 2 PR jobs, from 4 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. |
|
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. |
e4647a3
into
release/17.0
|
✅ No documentation update needed. excluded → base_branch_is_release, title_release_prefix. This is a backport (title prefixed |


Description
Telemetry-only resource rows repeat "Telemetry sources" beside or below every name, and reserve an empty action area that makes compact sidebar content shift on hover.
No additional dependencies.
Fixes # (issue)
User-facing usage
With telemetry-only sources in the dashboard, switch Settings > Resource list density between Compact and Comfortable. Compact shows names only; Comfortable shows each source's available signals beneath its name. This works in the sidebar and the expanded resource table.
Screenshots / Recordings
Validation
Passed: 166 tests using isolated build outputs to avoid locking the running dashboard:
Manual browser verification covered both densities in the sidebar and expanded table, with five sources containing different combinations of structured logs, traces, and metrics.
Checklist
<remarks />and<code />elements on your triple slash comments?