Skip to content

refactor: improve trace text formatting#255

Merged
zharinov merged 1 commit intomasterfrom
refactor/trace-text-format
Jan 4, 2026
Merged

refactor: improve trace text formatting#255
zharinov merged 1 commit intomasterfrom
refactor/trace-text-format

Conversation

@zharinov
Copy link
Member

@zharinov zharinov commented Jan 4, 2026

Summary

  • Display source text in traces as dimmed+green without quotes
  • Dynamic truncation fills line up to successors column (min 12 chars)
  • Extracted format_kind_with_text helper for consistent formatting

Why

The quoted text format ("foo") was visually noisy. The new format is cleaner and uses the available horizontal space more efficiently, with the ellipsis positioned at the successors column boundary.

- Display source text dimmed+green without quotes
- Dynamic truncation to fill up to successors column
- Minimum 12-char text budget for readability
@zharinov zharinov enabled auto-merge (squash) January 4, 2026 21:36
@zharinov zharinov merged commit 94fd3a5 into master Jan 4, 2026
4 checks passed
@zharinov zharinov deleted the refactor/trace-text-format branch January 4, 2026 21:37
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