[PR #15200] [MERGED] cmd: improve multi-select sorting and selection status #77365

Closed
opened 2026-05-05 10:02:38 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/15200
Author: @hoyyeva
Created: 4/1/2026
Status: Merged
Merged: 4/8/2026
Merged by: @hoyyeva

Base: mainHead: hoyyeva/multi-select


📝 Commits (8)

  • 5cf4fd9 cmd: improve multi-select sorting and selection status
  • cd0cb19 address comment
  • cfcbf4e update note styling
  • 2657c28 cmd: improve multi-select sorting and selection status
  • ac3b8fb address comment
  • 95c4428 update note styling
  • b2e75ce Update cmd/tui/selector.go
  • e58cc8f update helper note

📊 Changes

5 files changed (+54 additions, -15 deletions)

View changed files

📝 cmd/launch/integrations_test.go (+33 -0)
📝 cmd/launch/launch.go (+0 -9)
📝 cmd/launch/launch_test.go (+3 -3)
📝 cmd/launch/models.go (+11 -0)
📝 cmd/tui/selector.go (+7 -3)

📄 Description

Summary

  • Selection status in single mode: Previously the "x selected" count only appeared after
    pressing Tab to enter multi-edit mode. Now it's always visible when there are pre-checked
    models, with "press tab to edit" guiding users to multi-edit if they want to change the
    full selection.

  • More section sorting: The sort priority for non-recommended models is now:

  1. Default model (first)
  2. Other selected models (alphabetical)
  3. Unselected models (installed first, then alphabetical)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/15200 **Author:** [@hoyyeva](https://github.com/hoyyeva) **Created:** 4/1/2026 **Status:** ✅ Merged **Merged:** 4/8/2026 **Merged by:** [@hoyyeva](https://github.com/hoyyeva) **Base:** `main` ← **Head:** `hoyyeva/multi-select` --- ### 📝 Commits (8) - [`5cf4fd9`](https://github.com/ollama/ollama/commit/5cf4fd9e04f468e49cbe2007a9112181e63b787a) cmd: improve multi-select sorting and selection status - [`cd0cb19`](https://github.com/ollama/ollama/commit/cd0cb19bc8cd8d3346eb330c5b643fa1c11a1e7f) address comment - [`cfcbf4e`](https://github.com/ollama/ollama/commit/cfcbf4ec02b43fdbc3152796ede90c49398e0760) update note styling - [`2657c28`](https://github.com/ollama/ollama/commit/2657c2844d92eafece96b009c601e186355b6b4e) cmd: improve multi-select sorting and selection status - [`ac3b8fb`](https://github.com/ollama/ollama/commit/ac3b8fb66bea40059ff2ace4a259614599f2ffd1) address comment - [`95c4428`](https://github.com/ollama/ollama/commit/95c44280af2c3e7900e88dfa9ab8826ee3e93a99) update note styling - [`b2e75ce`](https://github.com/ollama/ollama/commit/b2e75ced665ac4fdbc14dbb7e719920ed1091794) Update cmd/tui/selector.go - [`e58cc8f`](https://github.com/ollama/ollama/commit/e58cc8f98fd98f55ff5950d9985d4a3772dad246) update helper note ### 📊 Changes **5 files changed** (+54 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `cmd/launch/integrations_test.go` (+33 -0) 📝 `cmd/launch/launch.go` (+0 -9) 📝 `cmd/launch/launch_test.go` (+3 -3) 📝 `cmd/launch/models.go` (+11 -0) 📝 `cmd/tui/selector.go` (+7 -3) </details> ### 📄 Description Summary * Selection status in single mode: Previously the "x selected" count only appeared after pressing Tab to enter multi-edit mode. Now it's always visible when there are pre-checked models, with "press tab to edit" guiding users to multi-edit if they want to change the full selection. * More section sorting: The sort priority for non-recommended models is now: 1. Default model (first) 2. Other selected models (alphabetical) 3. Unselected models (installed first, then alphabetical) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-05 10:02:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#77365