-
Notifications
You must be signed in to change notification settings - Fork 329
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
New feature - selection #510
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We would also want to be able to select packages that we want to install but it is good that this commit focuses on only on updates and uninstalls for now since install would probably require a bit better UX.
- selection now works directly on existing "update" and "installed" packages, taking advantage of the "IsSelected" property of the package. This way, NugetHelper class should stay virtually untouched. - introduced some minor QoL changes: "Refresh" and "Preferences" buttons are now consistent, being drawn in the upper left on every tab; Search bar now doesn't have the "Search" button in "Installed" and "Updates" tabs - instead, every key stroke refreshes the filtered packages (it's a start for mentioned UX changes needed to improve the "Online" tab).
Small note about the most recent commit: IsSelected was removed when I merged master into select_packages branch, as I decided to resolve it that way because I was planning to remove the flag in the coming change. |
@popara96 I now like it much more. Are there still thinks you need to work on? Only think I see is you need to fix the UnitTest*s. |
@JoC0de I'll fix the unit tests theses days when I have time, probably tomorrow. As for what I need to work on, I'd like to do similar thing for 'Online' tab but I will probably do it in a separate PR because there might be additional changes in order to do it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed the last thinks by myself.
I will merge it now, so thanks for the contribution 👍.
Adding the ability to select packages that the user wants to uninstall or update (instead of uninstalling/updating all). Also added an option to uninstall all packages.