Viewer: the model list is in the order of the names shown #108
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!108
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/108/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-24 02:51 UTC · original
holdmysocks:claude/picker-sort→master· +26 −0 · 1 files · 4 commits · merged 2026-11-24 03:16 UTCAsked for by the user (who also confirmed #106 works in the running viewer).
What
With friendly names on show, the model list was still in the order of the raw model names, so the names looked shuffled. The list is now sorted by the name each row shows (case-insensitive); with "raw names" on it stays in raw-name order. The two orders are separate, and toggling "raw names" re-sorts. Up / Down follow the order shown.
The place of every item in the shown-name order is worked out once (and again when the game's names arrive), not on every search keystroke.
Checked
cargo test -p sixng-gui: 12 passed (no new tests).Not done