mac: search command descriptions in the palette - #182
Merged
Conversation
SupaReviewLGTMBoth the bug/breakage audit and the code-quality audit found no qualifying issues. The patch consistently carries description-source matches through ranking and highlighting, preserves deterministic source ordering for ties, and updates the displayed subtitle only when a hidden description is actually matched (or when no subtitle exists). The changed call paths and focused tests align with that behavior. Review type: Full review Reviewers: thermo-nuclear-review-subagent, thermo-nuclear-code-quality-review-subagent |
🛠️ Tuist Run Report 🛠️Tests 🧪
Builds 🔨
|
Contributor
Author
Descriptions were only tooltips, so commands could hide useful search context. Show the secondary field that produced each match and rank results by the weakest field touched while preserving source order within each tier.
khoi
force-pushed
the
fix/palette-description-ranking
branch
from
August 8, 2026 20:34
d4d42ea to
41fde8d
Compare
khoi
enabled auto-merge
August 8, 2026 20:37
Description search adds valid lower-ranked results for the initials query. Keep the UI check focused on filtering and the title match's first-place rank.
Contributor
Author
|
Changes since last review:
Commit: 5af410b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Why
Command descriptions were absent from palette search and display fallback. Mixed-field matches also needed stable ranking, and a description-only match could leave an unrelated subtitle visible.
What changed
Palette search now includes title, subtitle, and description. Results rank by the weakest field touched: title, then subtitle, then description, with source order preserved. When a match uses a hidden description, the row displays and highlights that description.
Verification
make mac-checkpassed