Skip to content

fix(tui): simplify single-row model picker titles - #4203

Closed
nightt5879 wants to merge 1 commit into
Hmbown:mainfrom
nightt5879:codex/v0868-fix-3995
Closed

fix(tui): simplify single-row model picker titles#4203
nightt5879 wants to merge 1 commit into
Hmbown:mainfrom
nightt5879:codex/v0868-fix-3995

Conversation

@nightt5879

Copy link
Copy Markdown
Contributor

Summary

  • render scrollable picker panes with exactly one visible row as Title N/total
  • keep the existing Title start-end/total format for multi-row scroll windows
  • add render-level model picker tests for both title shapes

Fixes #3995

Validation

  • cargo fmt --all --check
  • cargo test -p codewhale-tui --bin codewhale-tui --locked pane_title -- --nocapture
  • cargo test -p codewhale-tui --bin codewhale-tui --locked model_picker -- --nocapture
  • cargo clippy --workspace --all-features --locked -- -D warnings -A clippy::uninlined_format_args -A clippy::too_many_arguments -A clippy::unnecessary_map_or -A clippy::collapsible_if -A clippy::assertions_on_constants -A clippy::collapsible_match

Additional local signal: cargo test -p codewhale-tui --bin codewhale-tui --locked ran the full TUI bin suite; unrelated local environment issues were isolated to real provider auth state and a transient Windows temp-file replace failure, and each failing test passed when rerun in isolation.

Render scrollable picker panes with a single visible row as a position, e.g. Model 2/3, instead of a degenerate range like Model 2-2/3. Multi-row panes keep the existing start-end range.

Fixes Hmbown#3995
@Hmbown

Hmbown commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Superseded by PR #4206 (merged). Issue #3995 is already closed.

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.

v0.9.0 UX: model picker shows awkward single-row range titles

2 participants