Confusing UI when importing from GitHub
Problem
When importing a project from GitHub, the [Import X repositories] button is very confusing.
The entire interaction can be seen in this video.
Steps to reproduce
- On the GitHub import page that shows the repositories available for import, initiate one import. (green)
- The [Import X repositories] button is grayed out, shows a spinner and the text inside changes to [Import Y repositories], reflecting the remaining count. (red)
This is unexpected and the active spinner inside the button gives the impression that it is doing something (importing 3 repositories, even though I only initiated 1?!?).
Proposed solution
The spinner in the [Import X repositories] should only be displayed when the user presses that button. In cases where individual import buttons are pressed, this button should remain grayed out.
Edited by Haris Delalić