Skip to content
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

RDX: Marketplace: support upgrade #8309

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mook-as
Copy link
Contributor

@mook-as mook-as commented Feb 28, 2025

This updates the extension catalog to support upgrading already installed extensions, where the installed version is older than the version available in the catalog. This also updates the installed extension list.

This depends on #8304 to be merged first.

Fixes #8256, #8257

mook-as added 2 commits March 3, 2025 13:45
This implements upgrading extensions from the installed extensions view.

- Move extension install/uninstall into vuex store actions.
- In installed extensions view, check if the extension is already installed
  and can be upgraded; if yes, show an upgrade button.
- The upgrade button just does a normal install (with the newer version).
- In installed extensions view, when we're upgrading/uninstalling, set a
  flag for that row so that we block further action until the current
  action is complete.
- We disable the uninstall upgrade button when busy instead of hiding it so
  that the row height does not get affected.

Signed-off-by: Mark Yen <[email protected]>
This updates the extension catalog to support upgrading already installed
extensions, where the installed version is older than the version available
in the catalog.

This converts the card to use one button per action, instead of reusing a
single button for install/uninstall/busy.

Signed-off-by: Mark Yen <[email protected]>
@mook-as mook-as marked this pull request as ready for review March 3, 2025 21:45
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.

Add "Update" button to extension catalog cards if an older version is installed
1 participant