Skip to content

Notify once for outdated Microbot plugins#1695

Merged
chsami merged 1 commit intomainfrom
development
Mar 13, 2026
Merged

Notify once for outdated Microbot plugins#1695
chsami merged 1 commit intomainfrom
development

Conversation

@chsami
Copy link
Owner

@chsami chsami commented Mar 13, 2026

Show a one-time update notice when an outdated Microbot plugin is enabled from the Microbot plugin manager, using Microbot plugin version metadata instead of RuneLite's Plugin Hub flow.

Show a one-time update notice when an outdated Microbot plugin is enabled from the Microbot plugin manager, using Microbot plugin version metadata instead of RuneLite's Plugin Hub flow.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@chsami chsami merged commit bb168e5 into main Mar 13, 2026
2 checks passed
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 13, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 9b96f961-afa1-4420-811a-8580f7863e79

📥 Commits

Reviewing files that changed from the base of the PR and between 5771671 and bf5dd8c.

📒 Files selected for processing (2)
  • runelite-client/src/main/java/net/runelite/client/plugins/microbot/externalplugins/MicrobotPluginManager.java
  • runelite-client/src/main/java/net/runelite/client/plugins/microbot/ui/MicrobotPluginListPanel.java

Walkthrough

This change adds update-notification infrastructure to the Microbot plugin system. Two new public methods are introduced to the MicrobotPluginManager class: getOutdatedPluginUpdate() to detect when an external plugin version is behind the latest available version, and rememberOutdatedPluginUpdateNotification() to persist notification state. A new public nested class OutdatedPluginUpdate is created to encapsulate plugin update information. The MicrobotPluginListPanel is updated to invoke these methods when starting a plugin, displaying an HTML-formatted notification dialog to the user when an update is available.

Possibly related PRs

  • Microbot Plugin Hub Improvements  #1462: Modifies MicrobotPluginManager and plugin listing UI for Microbot Plugin Hub improvements, directly overlapping with this PR's plugin management changes.
  • Development #1635: Updates manifest and release fetching logic within MicrobotPluginManager, related through modifications to the same core plugin management class.
  • 2.1.7 #1647: Extends MicrobotPluginManager with MicrobotApi integration and telemetry methods alongside other plugin capability enhancements.
✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use Trivy to scan for security misconfigurations and secrets in Infrastructure as Code files.

Add a .trivyignore file to your project to customize which findings Trivy reports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant