Skip to content

feat(tui): group headers and their rows read as a hierarchy - #446

Merged
mrnasil merged 2 commits into
mainfrom
feat/tui-list-hierarchy
Nov 10, 2026
Merged

mrnasil merged 2 commits into
mainfrom
feat/tui-list-hierarchy

Conversation

@mrnasil

@mrnasil mrnasil commented Nov 10, 2026

Copy link
Copy Markdown
Member

Model picker provider headers looked like one more model row (same ◆, same indent, same style). Headers now carry the chevron + accented bold name + right-aligned count; models sit indented under them. Help overlay sections use the same header/child language.

▾ anthropic                    2
  ◆ claude-sonnet
  ◆ claude-opus
▸ openai                       5

Tests: new select_tests cases for header/child layout, section rule and narrow rows; cargo test -p whycodes-tui --lib 1499 passed.

🤖 Generated with Claude Code

mrnasil and others added 2 commits November 10, 2026 05:01
The model picker painted provider headers with the same leaf diamond,
indent and style as the model rows under them ("◆ ▾ anthropic (2)" over
"◆ claude-sonnet"), so groups and models blurred together.

- Group header: chevron at the left edge, name in bold accent, item count
  right-aligned in dim, no leaf diamond.
- Rows under a group or section are painted with paint_child_row, two
  columns in from their header.
- Help section headers become "Label ─────" (bold accent label, dim rule)
  with their bindings indented the same way.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mrnasil
mrnasil enabled auto-merge (squash) November 10, 2026 11:39
@mrnasil
mrnasil merged commit 8bec1ef into main Nov 10, 2026
7 checks passed
@mrnasil
mrnasil deleted the feat/tui-list-hierarchy branch November 10, 2026 11:45
@mrnasil mrnasil mentioned this pull request Nov 10, 2026
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