vscode-viva
vscode-viva copied to clipboard
π‘ [Feature]: Show `Upgrade` app when `install` action fails
π― 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