-
-
Notifications
You must be signed in to change notification settings - Fork 334
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
Improve context menu item action response & Fix origin query null exception #3203
base: dev
Are you sure you want to change the base?
Improve context menu item action response & Fix origin query null exception #3203
Conversation
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, or 📝 job summary for details.
See ❌ Event descriptions for more information. Pattern suggestions ✂️ (1)You could add these patterns to
If the flagged items are 🤯 false positivesIf items relate to a ...
|
🥷 Code experts: no user matched threshold 10 jjw24 has most 🧠 knowledge in the files. See details
Knowledge based on git-blame:
Knowledge based on git-blame:
Knowledge based on git-blame:
Knowledge based on git-blame:
Knowledge based on git-blame:
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 pull request encompasses changes across multiple files in the Flow Launcher project, focusing on improving error handling, context menu interactions, and code simplification. The modifications include removing obsolete constructors, adding null checks, enhancing error handling in plugins, and streamlining context menu result management. These changes aim to make the application more robust and provide a smoother user experience by adding better error feedback and simplifying internal logic. Changes
Suggested Labels
Suggested Reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (6)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (3)
🔇 Additional comments (9)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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 (
|
Feature: Improve context menu item action response
Included actions
Details
Originally, when you click one record to pin / unpin it to the topmost without closing the FL, the search bar will like this:
In this case, you must need to click
esc
to return back to the query list before any other actions.Now with new API
BackToQueryList
(#3087 ), we can improve those actions.E.g. After you clicked the one record to pin / unpin it to the topmost, it will automatically return back to the query list like this:
2025-01-26.20-44-08.mp4
More
To fulfill this feature, we need to remove the context menu cache feature, it can cause the cache of the original wrong context menu.
By the way, I do not think context menu caching is a good idea because the plugin with dynamic context menu will have a bad experience if user open the context menu of the same record twice.
Fix: Fix origin query null exception
Problem
When user select the context menu item directly of one item from query list, the origin query is null. (No idea why this happens but it happens) And we need to add null check for this.