Repository navigation
feat(tui): group tool trail under a left rail, rule only phases - #283
Merged
Merged
Conversation
Full-width rules previously walled off every block (user turns, progress, tool calls, plans, approvals, answers), giving minor events the same visual weight as major turns. - Rules now open only distinct task phases: the first plan checklist of a turn; plan_update re-renders stay rule-less. - Tool calls and progress render on a subtle left rail (muted border) under the current turn, grouped compactly with no gap lines. - Subcommands nest deeper on the rail; wrapped content keeps its width. - User turns keep their message wash (no redundant rule); approvals, error callouts, plans, and the final answer stay flat and prominent. - Pane widths under 50 columns drop the rail and indent (flat mode). - Removes the obsolete paired_with_answer rule suppression. - Adds invariants: rule count, rail presence, flat mode, expand independence, and identical structure across every builtin theme.
mohitranka
added a commit
that referenced
this pull request
Aug 21, 2026
Full-width rules previously walled off every block (user turns, progress, tool calls, plans, approvals, answers), giving minor events the same visual weight as major turns. - Rules now open only distinct task phases: the first plan checklist of a turn; plan_update re-renders stay rule-less. - Tool calls and progress render on a subtle left rail (muted border) under the current turn, grouped compactly with no gap lines. - Subcommands nest deeper on the rail; wrapped content keeps its width. - User turns keep their message wash (no redundant rule); approvals, error callouts, plans, and the final answer stay flat and prominent. - Pane widths under 50 columns drop the rail and indent (flat mode). - Removes the obsolete paired_with_answer rule suppression. - Adds invariants: rule count, rail presence, flat mode, expand independence, and identical structure across every builtin theme.
mohitranka
added a commit
that referenced
this pull request
Sep 11, 2026
Full-width rules previously walled off every block (user turns, progress, tool calls, plans, approvals, answers), giving minor events the same visual weight as major turns. - Rules now open only distinct task phases: the first plan checklist of a turn; plan_update re-renders stay rule-less. - Tool calls and progress render on a subtle left rail (muted border) under the current turn, grouped compactly with no gap lines. - Subcommands nest deeper on the rail; wrapped content keeps its width. - User turns keep their message wash (no redundant rule); approvals, error callouts, plans, and the final answer stay flat and prominent. - Pane widths under 50 columns drop the rail and indent (flat mode). - Removes the obsolete paired_with_answer rule suppression. - Adds invariants: rule count, rail presence, flat mode, expand independence, and identical structure across every builtin theme.
mohitranka
added a commit
that referenced
this pull request
Sep 11, 2026
Full-width rules previously walled off every block (user turns, progress, tool calls, plans, approvals, answers), giving minor events the same visual weight as major turns. - Rules now open only distinct task phases: the first plan checklist of a turn; plan_update re-renders stay rule-less. - Tool calls and progress render on a subtle left rail (muted border) under the current turn, grouped compactly with no gap lines. - Subcommands nest deeper on the rail; wrapped content keeps its width. - User turns keep their message wash (no redundant rule); approvals, error callouts, plans, and the final answer stay flat and prominent. - Pane widths under 50 columns drop the rail and indent (flat mode). - Removes the obsolete paired_with_answer rule suppression. - Adds invariants: rule count, rail presence, flat mode, expand independence, and identical structure across every builtin theme.
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.
Summary
Refine conversation rendering so full-width rules only open distinct task phases, not every block.
Previously
lines_for_widthdrew a full-width─rule between nearly every block — user turns, progress ticks, tool calls, plans, approvals, and answers each got the same separator, fragmenting the transcript and giving minor events equal weight to major turns.Changes
PlanChecklistof a turn.update_planre-renders stay rule-less. Removes the obsoletepaired_with_answerrule suppression.ActivityGroupandActiveProgressrender on a subtle│rail (theme::border_muted()), grouped compactly under the turn with no gap lines; subcommands nest deeper (│ └─ cargo test · failed).Verification
cargo fmt,cargo clippy --workspace --all-targets -- -D warnings, full forge-tui suite (733 passing).forge-configpermission test failures confirmed pre-existing on cleanmain.Notes
No new theme tokens; reuses
border_muted/muted/accent_soft_bg. Rail + indent glyphs are included in copied transcript text (accepted).