Skip to content

feat(tui): single-focus provider/model/effort picker - #225

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/single-focus-provider-model-effort-picker
Aug 4, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/single-focus-provider-model-effort-picker

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • Restructures the Connect + Model picker (Overlay::ConnectModel, both full-screen /connect//model and compact footer/Alt+C modes) so it shows exactly one column at a time — Providers, Models, or Effort — instead of three simultaneous panes with Tab-cycling focus.
  • Each column applies its selection and closes the picker immediately on its own; there is no auto-chaining to the next column (e.g. picking a provider does not advance into model selection).
  • Esc always fully closes the picker from any view, with no partial commit — matches prior behavior exactly.
  • Picking a different already-connected route from the Providers view now switches to it directly, reusing the zero-state auto-model-selection logic (generalized into apply_default_model_for_profile) via a new OverlayAction::SwitchToRoute, instead of scoping into a Models sub-view.
  • Full design rationale is in docs/provider-model-effort-modal-restructure.md (local-only, gitignored).

Test plan

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets --locked -- -D warnings
  • cargo test -p forge-tui --lib (741 passed)
  • cargo test -p forge-connect --lib (184 passed)
  • cargo test --workspace --all-targets --locked (all green except the pre-existing, unrelated forge-config::permissions local-credential-leak failures on this dev machine)

Restructure the Connect + Model picker so opening it shows exactly one
column (Providers, Models, or Effort) instead of three side-by-side
panes with Tab-cycling focus. Each column applies its selection and
closes independently — no auto-chaining to the next column, and Esc
always fully closes the picker with no partial commit.

Picking a different connected route in the Providers view now reuses
the zero-state auto-model-selection logic (generalized as
apply_default_model_for_profile) via a new SwitchToRoute overlay
action, rather than scoping into a Models sub-view.
@github-actions
github-actions Bot enabled auto-merge (squash) August 4, 2026 02:20
@github-actions
github-actions Bot merged commit 951a939 into main Aug 4, 2026
7 checks passed
mohitranka added a commit that referenced this pull request Aug 21, 2026
Restructure the Connect + Model picker so opening it shows exactly one
column (Providers, Models, or Effort) instead of three side-by-side
panes with Tab-cycling focus. Each column applies its selection and
closes independently — no auto-chaining to the next column, and Esc
always fully closes the picker with no partial commit.

Picking a different connected route in the Providers view now reuses
the zero-state auto-model-selection logic (generalized as
apply_default_model_for_profile) via a new SwitchToRoute overlay
action, rather than scoping into a Models sub-view.
mohitranka added a commit that referenced this pull request Sep 11, 2026
Restructure the Connect + Model picker so opening it shows exactly one
column (Providers, Models, or Effort) instead of three side-by-side
panes with Tab-cycling focus. Each column applies its selection and
closes independently — no auto-chaining to the next column, and Esc
always fully closes the picker with no partial commit.

Picking a different connected route in the Providers view now reuses
the zero-state auto-model-selection logic (generalized as
apply_default_model_for_profile) via a new SwitchToRoute overlay
action, rather than scoping into a Models sub-view.
mohitranka added a commit that referenced this pull request Sep 11, 2026
Restructure the Connect + Model picker so opening it shows exactly one
column (Providers, Models, or Effort) instead of three side-by-side
panes with Tab-cycling focus. Each column applies its selection and
closes independently — no auto-chaining to the next column, and Esc
always fully closes the picker with no partial commit.

Picking a different connected route in the Providers view now reuses
the zero-state auto-model-selection logic (generalized as
apply_default_model_for_profile) via a new SwitchToRoute overlay
action, rather than scoping into a Models sub-view.
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