Skip to content

fix(site): parse and render ANSI escape sequences in log views - #59

Open
wsxiaoys wants to merge 1 commit into
mainfrom
fix/log-display-ansi
Open

fix(site): parse and render ANSI escape sequences in log views#59
wsxiaoys wants to merge 1 commit into
mainfrom
fix/log-display-ansi

Conversation

@wsxiaoys

@wsxiaoys wsxiaoys commented Jun 15, 2026

Copy link
Copy Markdown
Member

Summary

  • Implemented parsing and rendering of standard ANSI escape sequences for log outputs.
  • Extracted the parsing logic and AnsiLog component into a modular ansi-log.tsx component.
  • Integrated AnsiLog into the Log and Test tabs, enabling clean and beautifully color-coded logs instead of showing raw ANSI codes.

Preview

Log displaying with colors

Test plan

  • Verified Next.js build (bun run build) compiles successfully without any TypeScript or Next.js export errors.
  • Checked that the component maps standard colors (like green/emerald for debug, white/gray for details, etc.) and styles correctly.

🤖 Generated with Pochi | Task

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>
@wsxiaoys
wsxiaoys requested a review from liangfung June 15, 2026 19:20
@github-actions

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://TabbyML.github.io/jj-benchmark/pr-preview/pr-59/

Built to branch gh-pages at 2026-06-15 19:23 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant