feat(tui): Logs/LiveLog 색상 하이라이팅 (INT-1974)#151
Merged
Conversation
Logs 탭(7) 라이브 로그가 흑백이라 가독성 낮던 문제. Ink로 토큰별 색상. - tui/logFormat.ts(순수): parseLogLine(line) → LogSegment[]. 스테이지 태그 스테이지별 색, 컨텍스트 그룹의 이슈ID(노랑 bold)·worktree(dim)·project(초록), body 레벨 색 (error/halt→빨강, ✓/completed/success→초록), inline `code`→cyan. lossless(원문 보존). - tui/components/LogLine.tsx: 세그먼트를 Ink <Text> span으로 렌더. - LiveLog: 각 줄을 LogLine으로 렌더 → Logs + Pipeline 탭 동시 개선. 테스트: parseLogLine 6건(스테이지/이슈/worktree/project/레벨/코드/lossless) + LiveLog 렌더 3건. 전체 1171 green. INT-1962 후속(사용자 피드백).
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.
문제
Logs 탭(7) 라이브 로그가 전부 흑백(dim)이라 가독성 낮음(사용자 피드백 + 스크린샷). 구조:
[stage] [project | ISSUE | worktree/hash] body.변경
tui/logFormat.ts(순수):parseLogLine → LogSegment[]. 스테이지 태그 색, 이슈ID(노랑 bold)·worktree(dim)·project(초록), body 레벨 색(error/halt→red, ✓/completed→green), inlinecode→cyan. 원문 보존(lossless).tui/components/LogLine.tsx: 세그먼트를 Ink span으로 렌더.LiveLog: 각 줄을 LogLine으로 → Logs + Pipeline 탭 동시 개선.검증
parseLogLine 6건 + LiveLog 렌더 3건. tsc/build clean, 전체 1171 green.