vscode-viva icon indicating copy to clipboard operation
vscode-viva copied to clipboard

πŸ’‘ [Feature]: Show `Upgrade` app when `install` action fails

Open Adam-it opened this issue 9 months ago β€’ 0 comments

🎯 Aim of the feature

The idea is to check the error response of install action and when it failed due to the issue that the app was already installed on that site we could in the error message show and upgrade button which will run the upgrade action on that app.

https://github.com/pnp/vscode-viva/blob/3c8c45f9b3d2e8ada009cdd25e9b12080ec7b384/src/services/actions/CliActions.ts#L444-L454

It makes more sense to suggest the upgrade action to the user if the install action failed because the app is already there. In this case the user maybe would like to align and update the app to latest version which is what we may also do.

πŸ“· Images (if possible) with expected result

No response

πŸ€” Additional remarks or comments

No response

Adam-it avatar Mar 24 '25 08:03 Adam-it