[PR #1116] [MERGED] tweak: remove needless resorting #9815

Closed
opened 2026-02-16 18:14:13 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1116
Author: @rekram1-node
Created: 7/18/2025
Status: Merged
Merged: 7/18/2025
Merged by: @adamdotdevin

Base: devHead: tweak/remove-needless-resort


📝 Commits (1)

  • 3d6177d tweak: remove needless resorting

📊 Changes

1 file changed (+6 additions, -2 deletions)

View changed files

📝 packages/tui/internal/components/dialog/complete.go (+6 -2)

📄 Description

Fixes: #1115

If only one provider has any results there isn't any reason for us to resort since they already come sorted

See video for how it fixes:

https://github.com/user-attachments/assets/937bcad9-7e09-4dc4-ba7d-03ddb4f09715


🔄 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/anomalyco/opencode/pull/1116 **Author:** [@rekram1-node](https://github.com/rekram1-node) **Created:** 7/18/2025 **Status:** ✅ Merged **Merged:** 7/18/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `tweak/remove-needless-resort` --- ### 📝 Commits (1) - [`3d6177d`](https://github.com/anomalyco/opencode/commit/3d6177da9a904d1132f90d08c7c0cda2ea5d7806) tweak: remove needless resorting ### 📊 Changes **1 file changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/tui/internal/components/dialog/complete.go` (+6 -2) </details> ### 📄 Description Fixes: #1115 If only one provider has any results there isn't any reason for us to resort since they already come sorted See video for how it fixes: https://github.com/user-attachments/assets/937bcad9-7e09-4dc4-ba7d-03ddb4f09715 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:13 -05:00
yindo closed this issue 2026-02-16 18:14:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9815