Add searchLabel support for better menu searchability#5895
Draft
tahayvr wants to merge 1 commit into
Draft
Conversation
009e548 to
1edf981
Compare
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.
Sharing this idea as a draft:
When searching the Omarchy menu, multiple entries often share the same short label. For example, searching for "themes" returns several rows all labeled "Theme", differentiated only by a small breadcrumb subtitle like Style › Install or Remove. This makes search results harder to scan at a glance.
I propose:
Introducing an optional

searchLabelfield to theomarchy-menu.jsonc. When present, the menu usessearchLabelas the visible title only during search, while keeping the shorter label for normal browsing. Search results also drop the breadcrumb path detail, so the semantic title stands alone.I only added
searchLabelfor a few theme-related items just to present the idea. If you like it I can do it for all the items.Test it:
When you navigate into Style › Install, you still see the clean short label "Theme". Type "theme" in search and you get Switch Theme, Install Theme, Remove Theme, Update Extra Themes. No breadcrumbs.