XcodesOrg / XcodesApp

The easiest way to install and switch between multiple versions of Xcode - with a mouse click.
MIT License
6.75k stars 294 forks source link

The "install" button should have a "working" or disabled state #441

Closed NSExceptional closed 8 months ago

NSExceptional commented 9 months ago

When you press the INSTALL button, it does some busywork inside func install(id: Xcode.ID) for a while before it actually begins to download. During this time, the button is still enabled and clickable, as if nothing happened. Eventually the download starts and the button disappears.

Between the click and when that happens, the button should either turn into a spinner or become disabled to a) prevent the user from clicking the button multiple times, and b) indicate to the user that something is happening

I may take a stab at this myself later, but I'm on a plane at the moment :)

chickdan commented 9 months ago

437 addresses this request 🙂

NSExceptional commented 9 months ago

I started working on this and then rebased on main, and then I couldn't keep working on it because the latest commits use macros and I'm on Xcode 14 struck on Monterey 😭