-
-
Notifications
You must be signed in to change notification settings - Fork 381
Return results when query is empty for Program #3796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
🥷 Code experts: no user but you matched threshold 10 Jack251970 has most 👩💻 activity in the files. See details
Activity based on git-commit:
Knowledge based on git-blame:
Activity based on git-commit:
Knowledge based on git-blame:
Activity based on git-commit:
Knowledge based on git-blame: To learn more about /:\ gitStream - Visit our Docs |
Be a legend 🏆 by adding a before and after screenshot of the changes you made, especially if they are around UI/UX. |
📝 WalkthroughWalkthroughThe changes adjust filtering and matching logic in the plugin's program search functionality. Now, when the search query is empty, results are less strictly filtered by score or precision, allowing more results to be shown. When the query is non-empty, stricter filtering is applied. Some fallback matching logic is also restricted to non-empty queries. Changes
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used🧠 Learnings (4)📓 Common learnings
Plugins/Flow.Launcher.Plugin.Program/Main.cs (1)
Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs (2)
Plugins/Flow.Launcher.Plugin.Program/Programs/UWPPackage.cs (1)
⏰ Context from checks skipped due to timeout of 90000ms (4)
🔇 Additional comments (3)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
How do I reproduce the issue this PR is resolving? |
set an action keyword for program plugin and search it |
So this can then be improved to return a list of saved program results and also via the home page? |
Hmm, I have thought about this before. And I think we can open another PR for it. My thinking is to add a new context menu item - Pin to home - so that some applications will be shown in home page. |
Check
string.IsNullOrEmpty(query.Search)
for Program plugin so that Flow can return results when query is empty for program