Skip to content

feat(tui): Logs/LiveLog 색상 하이라이팅 (INT-1974)#151

Merged
unohee merged 1 commit into
mainfrom
feat/int-1974-log-highlight
Jun 27, 2026
Merged

feat(tui): Logs/LiveLog 색상 하이라이팅 (INT-1974)#151
unohee merged 1 commit into
mainfrom
feat/int-1974-log-highlight

Conversation

@unohee

@unohee unohee commented Jun 27, 2026

Copy link
Copy Markdown
Owner

문제

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), inline code→cyan. 원문 보존(lossless).
  • tui/components/LogLine.tsx: 세그먼트를 Ink span으로 렌더.
  • LiveLog: 각 줄을 LogLine으로 → Logs + Pipeline 탭 동시 개선.

검증

parseLogLine 6건 + LiveLog 렌더 3건. tsc/build clean, 전체 1171 green.

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 후속(사용자 피드백).
@unohee unohee merged commit 064c970 into main Jun 27, 2026
9 checks passed
@unohee unohee deleted the feat/int-1974-log-highlight branch June 27, 2026 01:25
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