Skip to content

fix(tui): stop files and search focus taking over the footer - #695

Merged
mohitranka merged 1 commit into
mainfrom
forge/What-are-different-strips-that-are-shows
Sep 15, 2026
Merged

mohitranka merged 1 commit into
mainfrom
forge/What-are-different-strips-that-are-shows

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

What

Focusing Files or Search replaced the entire footer row with a key hint, hiding the model/effort chips and the live turn state (lifecycle, context pressure, token usage). Those bindings are discoverable elsewhere and the chips earn their place on screen, so both blocks now leave the row alone.

The footer's own per-chip hint and the task strip's session hint still share the row with the chips. Every other hint source (dialog, HITL, transient) remains blocking.

Behaviour

Focused block Footer right side
Files, Search, panes, composer live activity line: state · context pressure · tokens/cache
Footer chip Hit Enter ⏎ to open model / ...to change effort — dim italic, chips stay visible
Sessions (task strip) session hint, bold keys, shares the row and degrades to fit
Dialog / HITL / pending question / transient takes over the whole row

Notes

  • contextual_hint() loses the Files and Search arms; render.rs and widgets/footer.rs are back to their existing shape, so the net diff is the two hint arms plus docs and tests.
  • FORGE-DESIGN.md §9.3 now names the two hint sources that share the row.

Tests

  • cargo test --package forge-tui --locked widgets::footer — 32 passed
  • cargo test --package forge-tui --locked app::tests::focus — 36 passed
  • cargo fmt --all -- --check clean
  • cargo clippy --package forge-tui --all-targets --locked -- -D warnings clean

Focusing Files or Search replaced the whole footer row with a key hint, hiding the model/effort chips and the live turn state (lifecycle, context pressure, token usage). Those bindings are discoverable elsewhere and the chips earn their place on screen, so both blocks now leave the row alone.

The footer's own per-chip hint and the task strip's session hint still share the row with the chips; every other hint source (dialog, HITL, transient) remains blocking.

Tests: cargo test --package forge-tui --locked widgets::footer; cargo test --package forge-tui --locked app::tests::focus; cargo fmt; cargo clippy -p forge-tui -D warnings.
@mohitranka
mohitranka force-pushed the forge/What-are-different-strips-that-are-shows branch from 7d1d57a to 5ebf537 Compare September 15, 2026 07:13
@mohitranka
mohitranka merged commit 713bd25 into main Sep 15, 2026
3 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.

1 participant