Skip to content

feat(tui): move control chips to footer strip - #280

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/footer-chips
Aug 5, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/footer-chips

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Mode/provider/model/effort chips move out of the composer box into the global footer, rendered as [bracket] buttons so keyboard users see them as pressable.

Behavior

  • Footer always reserves one row; chips fill it left-aligned and contextual hints right-align onto the same row. Net layout height is unchanged because the composer loses its chip row.
  • F3 still focuses the chip strip (composer focus + first chip), arrow keys move, Enter activates, Esc/typing exits. Tab focus-cycle is unchanged.
  • Composer is text-only again; its border height formula drops the chip row.

Cleanup

  • FooterModel slimmed to what it renders; dead footer_usage_summary builder deleted; FooterLimits fields + footer_usage_summary_with_cost marked deferred (usage-summary display not wired up yet).

Validation: cargo fmt, workspace clippy -D warnings, forge-tui 726 tests pass. (3 forge-config permission tests fail only on my machine — they read ~/.forge/permissions.toml; CI passes them.)

Mode/provider/model/effort chips move out of the composer box into the
global footer as bracket buttons: F3 focuses them, arrow keys move,
Enter activates. The composer is text-only again; the footer always
reserves one row and shares it with right-aligned contextual hints, so
net layout height is unchanged.

FooterModel is slimmed to what it actually renders and the dead
footer_usage_summary builder is dropped.
@github-actions
github-actions Bot enabled auto-merge (squash) August 5, 2026 19:38
@github-actions
github-actions Bot merged commit 9e23185 into main Aug 5, 2026
7 checks passed
mohitranka added a commit that referenced this pull request Aug 21, 2026
Mode/provider/model/effort chips move out of the composer box into the
global footer as bracket buttons: F3 focuses them, arrow keys move,
Enter activates. The composer is text-only again; the footer always
reserves one row and shares it with right-aligned contextual hints, so
net layout height is unchanged.

FooterModel is slimmed to what it actually renders and the dead
footer_usage_summary builder is dropped.
mohitranka added a commit that referenced this pull request Sep 11, 2026
Mode/provider/model/effort chips move out of the composer box into the
global footer as bracket buttons: F3 focuses them, arrow keys move,
Enter activates. The composer is text-only again; the footer always
reserves one row and shares it with right-aligned contextual hints, so
net layout height is unchanged.

FooterModel is slimmed to what it actually renders and the dead
footer_usage_summary builder is dropped.
mohitranka added a commit that referenced this pull request Sep 11, 2026
Mode/provider/model/effort chips move out of the composer box into the
global footer as bracket buttons: F3 focuses them, arrow keys move,
Enter activates. The composer is text-only again; the footer always
reserves one row and shares it with right-aligned contextual hints, so
net layout height is unchanged.

FooterModel is slimmed to what it actually renders and the dead
footer_usage_summary builder is dropped.
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