appcenter icon indicating copy to clipboard operation
appcenter copied to clipboard

AppListUpdateView: DRY Update All

Open danirabbit opened this issue 1 year ago • 3 comments

UpdateManager:

  • Make update_all its own function that is cancellable
  • Make sure to use class-wide cancellable for auto updates

AppListUpdateView:

  • Use update_all function from update_manager
  • Make sure to set action buttons back to sensitive if update_all is canceled or errors

danirabbit avatar Jul 02 '24 23:07 danirabbit

@zeebok if you use the "Update All" button in the interface it'll make all the update buttons insensitive so you can't just keep clicking update over and over. It won't have any affect if the update was triggered automatically however. Still needs more work to handle that

danirabbit avatar Jul 03 '24 02:07 danirabbit

@danirabbit Gotcha, I thought maybe it was making all buttons insensitive until it finished looking for updates or something, but wasn't seeing that happen

zeebok avatar Jul 03 '24 02:07 zeebok

Can confirm that is the behavior, and is cancellable

zeebok avatar Jul 03 '24 02:07 zeebok