Repository navigation
Unify /connect and /model into one Connect & Model picker - #106
Merged
Merged
Conversation
Replaces Overlay::ConnectPicker/Model/Effort with a single Overlay::ConnectModel so the two commands read one shared state and can never disagree about the current provider/model/effort. Fixes the P1/P2 findings from the 2026-08-01 usability audit (docs/usability-audit/2026-08-01/): - Three-column picker (Providers/Models/Effort) with Tab cycling focus and a single "Active" line, opened by /connect (Providers focused) or /model (Models focused). - openai (API key / ChatGPT sign-in) and opencode (Go / Zen) now group under one vendor row with nested routes, via new vendor_id/route_label fields on ConnectProfile; reuses the file tree's expand/collapse chevron convention. - Persistent header chip showing provider/route/model/effort at rest, sharing one formatter with the picker's Active line. - Backdrop dims the transcript in place instead of blanking it. - Consolidated 4 duplicate "not connected" messages into one, and eliminated the stale "choose reasoning effort" hint bug by construction (Effort is no longer a separate overlay with its own open/close lifecycle).
mohitranka
added a commit
that referenced
this pull request
Aug 21, 2026
* Unify /connect and /model into one Connect & Model picker Replaces Overlay::ConnectPicker/Model/Effort with a single Overlay::ConnectModel so the two commands read one shared state and can never disagree about the current provider/model/effort. Fixes the P1/P2 findings from the 2026-08-01 usability audit (docs/usability-audit/2026-08-01/): - Three-column picker (Providers/Models/Effort) with Tab cycling focus and a single "Active" line, opened by /connect (Providers focused) or /model (Models focused). - openai (API key / ChatGPT sign-in) and opencode (Go / Zen) now group under one vendor row with nested routes, via new vendor_id/route_label fields on ConnectProfile; reuses the file tree's expand/collapse chevron convention. - Persistent header chip showing provider/route/model/effort at rest, sharing one formatter with the picker's Active line. - Backdrop dims the transcript in place instead of blanking it. - Consolidated 4 duplicate "not connected" messages into one, and eliminated the stale "choose reasoning effort" hint bug by construction (Effort is no longer a separate overlay with its own open/close lifecycle). * Fix cargo fmt violations from CI * Fix clippy: sort_by_key and merge identical if branches
mohitranka
added a commit
that referenced
this pull request
Sep 11, 2026
* Unify /connect and /model into one Connect & Model picker Replaces Overlay::ConnectPicker/Model/Effort with a single Overlay::ConnectModel so the two commands read one shared state and can never disagree about the current provider/model/effort. Fixes the P1/P2 findings from the 2026-08-01 usability audit (docs/usability-audit/2026-08-01/): - Three-column picker (Providers/Models/Effort) with Tab cycling focus and a single "Active" line, opened by /connect (Providers focused) or /model (Models focused). - openai (API key / ChatGPT sign-in) and opencode (Go / Zen) now group under one vendor row with nested routes, via new vendor_id/route_label fields on ConnectProfile; reuses the file tree's expand/collapse chevron convention. - Persistent header chip showing provider/route/model/effort at rest, sharing one formatter with the picker's Active line. - Backdrop dims the transcript in place instead of blanking it. - Consolidated 4 duplicate "not connected" messages into one, and eliminated the stale "choose reasoning effort" hint bug by construction (Effort is no longer a separate overlay with its own open/close lifecycle). * Fix cargo fmt violations from CI * Fix clippy: sort_by_key and merge identical if branches
mohitranka
added a commit
that referenced
this pull request
Sep 11, 2026
* Unify /connect and /model into one Connect & Model picker Replaces Overlay::ConnectPicker/Model/Effort with a single Overlay::ConnectModel so the two commands read one shared state and can never disagree about the current provider/model/effort. Fixes the P1/P2 findings from the 2026-08-01 usability audit (docs/usability-audit/2026-08-01/): - Three-column picker (Providers/Models/Effort) with Tab cycling focus and a single "Active" line, opened by /connect (Providers focused) or /model (Models focused). - openai (API key / ChatGPT sign-in) and opencode (Go / Zen) now group under one vendor row with nested routes, via new vendor_id/route_label fields on ConnectProfile; reuses the file tree's expand/collapse chevron convention. - Persistent header chip showing provider/route/model/effort at rest, sharing one formatter with the picker's Active line. - Backdrop dims the transcript in place instead of blanking it. - Consolidated 4 duplicate "not connected" messages into one, and eliminated the stale "choose reasoning effort" hint bug by construction (Effort is no longer a separate overlay with its own open/close lifecycle). * Fix cargo fmt violations from CI * Fix clippy: sort_by_key and merge identical if branches
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
Overlay::ConnectPicker/Overlay::Model/Overlay::Effortwith oneOverlay::ConnectModel: three columns (Providers / Models / Effort), Tab cycles focus, one sharedActiveline —/connectand/modelnow read the same state and can never disagree about "current".openai(API key vs. ChatGPT sign-in) andopencode(Go vs. Zen) now group under one vendor row with nested routes (newvendor_id/vendor_label/route_labelonConnectProfile), reusing the file tree's chevron expand/collapse convention.provider · route/model/effort) at rest, sharing one formatter with the picker's Active line so header, picker, and/statuscan't drift apart.theme::dim_region) instead of blanking it.Addresses the P1/P2 findings and redesign proposal in
docs/usability-audit/2026-08-01/(not included in this PR — those are report/audit artifacts, tracked separately).Test plan
cargo build --workspace— clean, no warnings introducedcargo test -p forge-connect— 184/184 passedcargo test -p forge-tui— 658/658 passed (+ 3 perf tests)/connectand/modelin a live terminal (not done this session — build/test only)Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is enabled.