-
-
Notifications
You must be signed in to change notification settings - Fork 445
Use api function to hide window #3251
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
Conversation
📝 WalkthroughWalkthroughThe changes update how the application window is hidden during specific plugin operations. Both in the Plugins Manager and the Sys Main classes, the direct call to hide the main window is replaced with an API call ( Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant PluginManager
participant API
User->>PluginManager: Initiate Install/Uninstall
PluginManager->>API: HideMainWindow()
API-->>PluginManager: Confirm window hidden
PluginManager-->>User: Continue with plugin process
sequenceDiagram
participant User
participant SysMain
participant API
User->>SysMain: Execute "Reload Plugin Data"/"Check For Update"
SysMain->>API: HideMainWindow()
API-->>SysMain: Main window hidden
SysMain-->>User: Proceed with command execution
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (3)
🔇 Additional comments (2)
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 (
|
@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 ...
|
Be a legend 🏆 by adding a before and after screenshot of the changes you made, especially if they are around UI/UX. |
🥷 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: To learn more about /:\ gitStream - Visit our Docs |
Use
HideMainWindow()
instead ofApplication.Current.MainWindow.Hide();
for code consistence