chocolatey / ChocolateyGUI

A delicious GUI for Chocolatey
https://docs.chocolatey.org/en-us/chocolatey-gui/
Apache License 2.0
1.65k stars 251 forks source link

Add clearer messaging when downgrading a package #1032

Open pauby opened 10 months ago

pauby commented 10 months ago

Checklist

Is Your Feature Request Related To A Problem? Please describe.

No response

Describe The Solution. Why is it needed?

Within Chocolatey GUI while the All Versions checkbox is checked, older versions of packages can be reinstalled (downgraded) to previous versions of packages. The user is prompted with the following message.

Are you sure?

This action will attempt to reinstall the 'PACKAGE_NAME' package. Are you sure you want to proceed?

If there is a newer version installed, can we institute a check for that and have the following message prompt instead.

Are you sure?

You currently have a newer version of the 'PACKAGE_NAME' package installed. Are you sure you want to proceed?

This may alleviate confusion when users see multiple versions of the same package in Chocolatey GUI and attempt to install one over the other.

Additional Context

Created by @imm0rtalsupp0rt in GitLab.

Related Issues

thathva commented 6 months ago

Hey! I am looking to take my first contribution on this project, can I take this up for a start if it is still open?