Skip to content

Add keymaps for selecting first/last item#1

Closed
dhth wants to merge 2 commits intoarimxyer:masterfrom
dhth:add-more-keymaps
Closed

Add keymaps for selecting first/last item#1
dhth wants to merge 2 commits intoarimxyer:masterfrom
dhth:add-more-keymaps

Conversation

@dhth
Copy link
Copy Markdown
Contributor

@dhth dhth commented Jan 24, 2026

Hey, great tool. Thanks for making it. This PR adds three new key maps:

  • g: select the first item
  • G: select the last item
  • shift-tab: works just like tab for now

Wasn't sure if you wanted these key maps in, but figured it's probably faster to just send a PR rather than creating an issue. Let me know if you'd like something done in a different way. Thanks :)

models.mov

@dhth dhth marked this pull request as ready for review January 24, 2026 13:44
@arimxyer
Copy link
Copy Markdown
Owner

Thanks for the contribution @dhth! 🎉

I've merged your changes with some additions:

  • Added page up/down navigation (Ctrl+d/u, PageDown/PageUp)
  • Added a help popup (press ?) showing all keybindings
  • Updated the footer and README documentation

Really appreciate you taking the time to submit this - the g/G keymaps and the helper function refactor were great additions!

@arimxyer arimxyer closed this Jan 25, 2026
arimxyer added a commit that referenced this pull request Mar 7, 2026
- Add Model Info section with Creator, Source, Region, Type, Released
- Source colored green (Open) / red (Closed)
- Region and Type use creator category colors from sidebar
- Add medal-colored ranks: gold ★ (#1), silver (#2), bronze (#3)
- Add ★ Wins summary row near top showing per-model win counts
- Pre-compute wins via two-pass to position above metric sections

Co-Authored-By: Claude Opus 4.6 <[email protected]>
arimxyer added a commit that referenced this pull request Mar 19, 2026
Create src/tui/models_app.rs completing the sub-app pattern — Models
was the only tab with state on the top-level App struct. Moves 13
fields, 5 types, and 17 methods into ModelsApp. Resolves Known
Inconsistency #1 (search_query now lives on sub-app like other tabs).

Deduplicate event.rs navigation handling with NavAction enum and
parse_nav_key() function. The 4 tab handlers now share a single
key-to-action parser, with per-tab resolvers for focus-dependent
message dispatch. All edge cases preserved (Benchmarks overlay,
Status overall panel, H2H scroll guards).

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
arimxyer added a commit that referenced this pull request Mar 20, 2026
- Add Model Info section with Creator, Source, Region, Type, Released
- Source colored green (Open) / red (Closed)
- Region and Type use creator category colors from sidebar
- Add medal-colored ranks: gold ★ (#1), silver (#2), bronze (#3)
- Add ★ Wins summary row near top showing per-model win counts
- Pre-compute wins via two-pass to position above metric sections

Co-Authored-By: Claude Opus 4.6 <[email protected]>
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.

2 participants