-
-
Notifications
You must be signed in to change notification settings - Fork 454
Remove Useless Separate Line for Blank Settings Panel #3260
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
Remove Useless Separate Line for Blank Settings Panel #3260
Conversation
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, or 📝 job summary for details.
See ❌ Event descriptions for more information. If the flagged items are 🤯 false positivesIf items relate to a ...
|
|
🥷 Code experts: Yusyuriv Yusyuriv 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:
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 update refines the settings handling across multiple components. In the core settings class, the method now returns null instead of a new control when no settings exist. The view model is adjusted to verify that a valid settings panel is available before reporting that a settings control exists. In addition, the URL plugin removes its settings support by dropping its ISettingProvider implementation, related UI files, and the corresponding project dependency on the infrastructure project. Changes
Sequence Diagram(s)sequenceDiagram
participant VM as PluginViewModel
participant P as ISettingProvider
VM->>P: Invoke CreateSettingPanel()
alt Valid panel returned
P-->>VM: Return non-null panel
VM->>VM: Set HasSettingControl to true
else No panel available
P-->>VM: Return null
VM->>VM: Set HasSettingControl to false
end
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (6)
💤 Files with no reviewable changes (3)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (3)
✨ Finishing Touches
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 (
|
Remove Useless Separate Line for Blank Settings Panel
1. Remove useless settings control for C# plugin
Urlplugin returns a blank control as settings panel, FL will add one more separate line making it uncomfortable:After:
2. Remove useless settings control for JsonRPC plugin
Use null to let FL not add settings control. Before:
After: