-
Notifications
You must be signed in to change notification settings - Fork 769
Trace detail improvements #9443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR improves the trace detail view by updating the header layout to better handle overflow and by correcting the resource counting logic to include peer resources.
- Updated CSS to support a grid layout for the trace header with overflow behavior.
- Adjusted the C# logic to compute the resource count from trace spans.
- Refactored the Razor view to incorporate the new header layout with enhanced display of trace information.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/Aspire.Dashboard/Components/Pages/TraceDetail.razor.css | Added grid styling and overflow support for trace header elements. |
| src/Aspire.Dashboard/Components/Pages/TraceDetail.razor.cs | Introduced _resourceCount and updated resource counting logic. |
| src/Aspire.Dashboard/Components/Pages/TraceDetail.razor | Refactored header layout to use FluentOverflow and display updated trace details. |
| <ToolbarSection> | ||
| <div class="toolbar-left"> | ||
| @Loc[nameof(Dashboard.Resources.TraceDetail.TraceDetailTraceStartHeader)] <strong title="@FormatHelpers.FormatDateTime(TimeProvider, _trace.FirstSpan.StartTime, MillisecondsDisplay.Full)">@FormatHelpers.FormatDateTime(TimeProvider, _trace.FirstSpan.StartTime, MillisecondsDisplay.Truncated)</strong> | ||
| <div slot class="trace-header"> |
Copilot
AI
May 21, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 'slot' attribute is used without an explicit value. Please confirm whether a default slot is intended or if a specific slot name should be provided.
|
dashboard changes should include screenshots 😄 |

Description
Checklist
<remarks />and<code />elements on your triple slash comments?doc-ideatemplatebreaking-changetemplatediagnostictemplate