Skip to content

Feature to update old plugin version#35

Merged
tungleduyxyz merged 1 commit into
masterfrom
kaui_4.1
Apr 1, 2026
Merged

Feature to update old plugin version#35
tungleduyxyz merged 1 commit into
masterfrom
kaui_4.1

Conversation

@tungleduyxyz

@tungleduyxyz tungleduyxyz commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

Issues:

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds UI support in the KPM plugins page to detect when an installed plugin is older than the available version and offer an Update action.

Changes:

  • Track installed plugin versions (per plugin key) across nodes and keep the “highest” version found.
  • Update the plugins table UI to show an Update link when the installed version is behind the available version.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
app/controllers/kpm/plugins_controller.rb Builds @installed_plugins map (plugin_key → selected installed version across nodes) for update comparisons.
app/views/kpm/plugins/_plugins_table.html.erb Switches UI from only “Installed/Install” to “Update” when installed version is older than the available version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/views/kpm/plugins/_plugins_table.html.erb Outdated
Comment thread app/controllers/kpm/plugins_controller.rb Outdated
@tungleduyxyz tungleduyxyz merged commit 42f5dba into master Apr 1, 2026
9 checks passed
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.

2 participants