Skip to content

fix(tui): add spacing after tree marker in tool details (merge conflicts resolved)#423

Merged
Nomikfk1215 merged 3 commits intomainfrom
pr-407
May 9, 2026
Merged

fix(tui): add spacing after tree marker in tool details (merge conflicts resolved)#423
Nomikfk1215 merged 3 commits intomainfrom
pr-407

Conversation

@Nomikfk1215
Copy link
Copy Markdown
Collaborator

Summary

  • Resolved merge conflicts from fix(tui): add spacing after tree marker in tool details #407 (codex/tool-tree-spacing) against main
  • Added spacing after tree marker () for improved readability in tool details
  • Updated test to match new renderLiveInspectGroup function signature (added model parameter)
  • Preserved maxSubAgentToolsCollapsed constant from main

Changes

  • tui/component_conversation.go — merged toolTreeLead constant and detail rendering changes with main's renderDiffDetailLine refactoring
  • tui/component_render_test.go — updated TestRenderLiveInspectGroupDetailPrefixHasSpace to pass model{} argument

Test plan

  • go test ./tui/... passes

🤖 Generated with Claude Code

mickey-228 and others added 3 commits May 8, 2026 10:13
fix(tui): add spacing after tree marker in tool details

- Resolve merge conflicts with main branch
- Update renderLiveInspectGroup test to match new function signature
- Keep maxSubAgentToolsCollapsed constant from main

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown

@fennoai fennoai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One low-severity test robustness issue found after code quality, performance, security, and documentation review passes.

}

view := stripANSI(renderLiveInspectGroup(group, 100, true, model{}))
if !strings.Contains(view, `└ "finalizeAssistantTurnForTool"`) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Low: this only asserts that the spaced form appears somewhere in the rendered output. If a regression ever rendered both └"... and └ "... in the same view, this test would still pass. Asserting on the exact detail line, or also rejecting the unspaced variant, would make the regression coverage tighter.

@Nomikfk1215 Nomikfk1215 merged commit 18bc434 into main May 9, 2026
6 checks passed
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.

2 participants