Skip to content

tui: simplify bottom panel to Terminal and Tasks tabs only - #227

Merged
github-actions[bot] merged 2 commits into
mainfrom
simplify-bottom-panel-terminal-tasks
Aug 4, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
simplify-bottom-panel-terminal-tasks

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

Reduces the bottom panel from 5 tabs (Run, Tasks, Diagnostics, Terminal, Activity) down to 2 tabs: Terminal and Tasks.

Motivation

The Run, Diagnostics, and Activity tabs added noise and surface area to the bottom panel. Terminal and Tasks cover the two primary use cases — viewing command output and monitoring background tasks/subagents.

Changes

Core

  • BottomPanelTab enum reduced from 5 variants to 2: Terminal (default) and Tasks
  • Removed helper functions: run_lines, mode_label, state_label, activity_lines
  • Tab cycle order: Terminal → Tasks → Terminal (wrapping)

Keybindings

  • Removed Alt+1–Alt+4 numeric panel shortcuts (users rely on Tab/Shift+Tab to cycle)
  • Removed Run-tab-scoped key handlers (Enter, r, e, m, i, d)
  • Simplified handle_bottom_panel_key in input.rs

Fallback behaviour

  • OpenRun command (when no active run view exists) now opens the Tasks tab instead of the removed Run tab

Tests

  • Updated all affected tests across 9 files to use Terminal and Tasks variants
  • Removed tests for Run-tab-specific keybindings and Alt+N shortcuts
  • All 157 forge-tui tests pass ✅

Files changed

  • crates/forge-tui/src/widgets/bottom_panel.rs
  • crates/forge-tui/src/app/commands.rs
  • crates/forge-tui/src/app/input.rs
  • crates/forge-tui/src/app/tests/ (characterization, commands, focus, pointer, run, tasks)

Remove Run, Diagnostics, and Activity tabs from the bottom panel.
Keep only Terminal (default) and Tasks, with Tab/Shift-Tab cycling.

Changes:
- BottomPanelTab enum reduced from 5 variants to 2 (Terminal, Tasks)
- Removed run_lines, mode_label, state_label, activity_lines helpers
- Removed Alt+1..4 numeric keybindings for panel tabs
- Removed Run-tab-scoped key handlers (Enter/r/e/m/i/d)
- Simplified handle_bottom_panel_key in input.rs
- OpenRun fallback now opens Tasks tab instead of Run tab
- Updated all affected tests across 9 files
@github-actions
github-actions Bot enabled auto-merge (squash) August 4, 2026 02:52
Align run and characterization tests with Terminal/Tasks-only panel:
run lifecycle via workspace view, activity in inspector sidebar.
@github-actions
github-actions Bot merged commit 8fb74d7 into main Aug 4, 2026
7 checks passed
mohitranka added a commit that referenced this pull request Aug 21, 2026
* tui: simplify bottom panel to Terminal and Tasks tabs only

Remove Run, Diagnostics, and Activity tabs from the bottom panel.
Keep only Terminal (default) and Tasks, with Tab/Shift-Tab cycling.

Changes:
- BottomPanelTab enum reduced from 5 variants to 2 (Terminal, Tasks)
- Removed run_lines, mode_label, state_label, activity_lines helpers
- Removed Alt+1..4 numeric keybindings for panel tabs
- Removed Run-tab-scoped key handlers (Enter/r/e/m/i/d)
- Simplified handle_bottom_panel_key in input.rs
- OpenRun fallback now opens Tasks tab instead of Run tab
- Updated all affected tests across 9 files

* test(tui): update run tests for simplified bottom panel

Align run and characterization tests with Terminal/Tasks-only panel:
run lifecycle via workspace view, activity in inspector sidebar.
mohitranka added a commit that referenced this pull request Sep 11, 2026
* tui: simplify bottom panel to Terminal and Tasks tabs only

Remove Run, Diagnostics, and Activity tabs from the bottom panel.
Keep only Terminal (default) and Tasks, with Tab/Shift-Tab cycling.

Changes:
- BottomPanelTab enum reduced from 5 variants to 2 (Terminal, Tasks)
- Removed run_lines, mode_label, state_label, activity_lines helpers
- Removed Alt+1..4 numeric keybindings for panel tabs
- Removed Run-tab-scoped key handlers (Enter/r/e/m/i/d)
- Simplified handle_bottom_panel_key in input.rs
- OpenRun fallback now opens Tasks tab instead of Run tab
- Updated all affected tests across 9 files

* test(tui): update run tests for simplified bottom panel

Align run and characterization tests with Terminal/Tasks-only panel:
run lifecycle via workspace view, activity in inspector sidebar.
mohitranka added a commit that referenced this pull request Sep 11, 2026
* tui: simplify bottom panel to Terminal and Tasks tabs only

Remove Run, Diagnostics, and Activity tabs from the bottom panel.
Keep only Terminal (default) and Tasks, with Tab/Shift-Tab cycling.

Changes:
- BottomPanelTab enum reduced from 5 variants to 2 (Terminal, Tasks)
- Removed run_lines, mode_label, state_label, activity_lines helpers
- Removed Alt+1..4 numeric keybindings for panel tabs
- Removed Run-tab-scoped key handlers (Enter/r/e/m/i/d)
- Simplified handle_bottom_panel_key in input.rs
- OpenRun fallback now opens Tasks tab instead of Run tab
- Updated all affected tests across 9 files

* test(tui): update run tests for simplified bottom panel

Align run and characterization tests with Terminal/Tasks-only panel:
run lifecycle via workspace view, activity in inspector sidebar.
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