feat(trace): Render ANSI colors in trace and logs table error rows - #126293
Closed
JoshuaKGoldberg wants to merge 6 commits into
Closed
JoshuaKGoldberg wants to merge 6 commits into
JoshuaKGoldberg wants to merge 6 commits into
Conversation
Moves the ansi-sequence-parser rendering from logs into a shared component so .log attachment previews use it too, and drops the ansi-to-react dependency. Fixes DE-1651
ansi-to-react collapsed carriage-return overwrites before rendering, so progress-style lines showed only their final write. Restore that in LogFileViewer. Refs DE-1651
Only log messages want ANSI output's whitespace preserved. Other callers render it in single-line, truncated containers where preserved newlines would break the layout. Refs DE-1651
The dark green ANSI color had noticeably more chroma than the other ANSI hues, so move green and bright green one step lighter. Refs DE-1651
This reverts commit 2250b86.
Error titles in the trace waterfall and in the logs table's injected error rows showed raw ANSI escape codes. Render them with the shared AnsiText component, and strip the codes from the drawer tab label. Fixes LOGS-1023
JoshuaKGoldberg
force-pushed
the
joshgoldberg/logs-1023-render-ansi-colors-in-trace-waterfall-and-logs-table-error
branch
from
October 2, 2026 00:22
9207863 to
4e016a1
Compare
Base automatically changed from
joshgoldberg/de-1651-remove-ansi-to-react-in-favor-of-ansi-sequence-parser
to
master
October 2, 2026 13:45
Member
Author
|
Combined into #126291. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Error rows in the trace waterfall and the error rows injected into a trace's logs table now render ANSI colors with #126237's shared
AnsiTextcomponent, instead of showing raw escape codes. The error's drawer tab label strips the codes.Stacked on #126237. Fixes LOGS-1023.