Skip to content
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

Fix up first column unit on trace detail #5133

Merged
merged 3 commits into from
Aug 1, 2024
Merged

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Aug 1, 2024

The first column always has a value of zero. Originally it displayed the smallest unit: 0μs. That looked odd.

A later update removed the unit so it just displayed zero: 0. Better but not perfect.

This PR uses the unit from the next column. So, if the next unit is ms then the first column is 0ms. If the next unit is s then the first column is 0s.

image

Microsoft Reviewers: Open in CodeFlow

@JamesNK
Copy link
Member Author

JamesNK commented Aug 1, 2024

cc @danmoseley

@JamesNK
Copy link
Member Author

JamesNK commented Aug 1, 2024

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JamesNK JamesNK merged commit 1499990 into main Aug 1, 2024
11 checks passed
@JamesNK JamesNK deleted the jamesnk/trace-zero-unit branch August 1, 2024 23:09
@github-actions github-actions bot locked and limited conversation to collaborators Sep 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants