fix(site): parse and render ANSI escape sequences in log views - #59
Open
wsxiaoys wants to merge 1 commit into
Open
fix(site): parse and render ANSI escape sequences in log views#59wsxiaoys wants to merge 1 commit into
wsxiaoys wants to merge 1 commit into
Conversation
Extract raw ANSI log parsing and styling into a separate `AnsiLog` component to keep the codebase modular, and use it to render beautifully styled, color-coded logs in the Log and Test tabs instead of displaying raw ANSI codes. 🤖 Generated with [Pochi](https://getpochi.com) | [Task](https://app.getpochi.com/share/p-bf5ad8371ded4dde9122f560c0d5d6b8) Co-Authored-By: Pochi <noreply@getpochi.com>
|
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.
Summary
AnsiLogcomponent into a modularansi-log.tsxcomponent.AnsiLoginto the Log and Test tabs, enabling clean and beautifully color-coded logs instead of showing raw ANSI codes.Preview
Test plan
bun run build) compiles successfully without any TypeScript or Next.js export errors.🤖 Generated with Pochi | Task