UniGetUI icon indicating copy to clipboard operation
UniGetUI copied to clipboard

[ENHANCEMENT] Reset button in "Manage ignore updates" should not be an instant change

Open redactedscribe opened this issue 1 year ago • 2 comments

Please confirm these before moving forward

  • [X] I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
  • [X] This improvement refers to an existing feature. If you want to suggest a new feature, please use this template
  • [X] This improvement is not a bug. If you want to report a bug, please use this template

Describe the improvement

The Close button should be "Close & Save", and the window should include a Close X button top-right (similar to bug https://github.com/marticliment/WingetUI/issues/1912).

Describe how this improvement could help users.

The idea being you can press Reset, if you didn't mean to, you can press the X top-right (or press Escape -- both should cancel the Reset), but if you did mean to, you then press "Close & Save". This way we don't need an "Are you sure?" confirmation after pressing Reset.

This is beneficial because users can have large ignore lists, some packages with specific versions, and losing that list is unnecessary extra work to recompile.

redactedscribe avatar Mar 13 '24 16:03 redactedscribe

I'd also like to add a related request for a change to the "Ignore selected packages" main UI button: Since updates are all pre-selected, and there may be many to update, pressing this button adds them all instantly to the ignored list. It's unlikely that whatever updates come available are exactly those that the user wishes to ignore, so adding an "Are you sure?", say if > 3 packages are selected, would be useful to prevent accidentally adding e.g. 10 and then having to go and hunt them down to remove them from the "Manage ignored updates" list. Maybe it should even be if > 1.

redactedscribe avatar Mar 13 '24 17:03 redactedscribe

Since updates are all pre-selected, and there may be many to update, pressing this button adds them all instantly to the ignored list.

I accidentally just did this and added over 70 packages. Thankfully I still had a backup of my old IgnoredPackageUpdates.json in my recycle bin otherwise this would've been quite the inconvenience. This improvement feels overdue. Also tangentially related to #2377.

redactedscribe avatar Jul 01 '24 14:07 redactedscribe