You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
surface network error when fetching repositories in clone dialog #2796
We should surface errors in the clone repo modal if there is no internet connection. The loading icon attempts to load repos and then eventually stops when it realizes there is no connection, however the user is not notified.
This applies to the Github and Enterprise tabs, as the URL shows the following error, which isn't too user-friendly either:
changed the title [-]Show errors when cloning repos with no internet[/-][+]surface network error when fetching repositories in clone dialog[/+]on Sep 21, 2017
@tierninho could you open a separate issue for the clone failing due to a network issue? That's going to require some work with our error handlers to surface a better message, which is different to a network issue when looking up repositories for the user.
Hey @desktop/design, want to give some input on what a friendly network error might look like here in the list/dialog? Or should we just salmon-pink brutalism up the place for now?
Sounds great @ampinsk, thanks. For whomever picks this up, if there's a nice and fairly simple way to implement the "Try again?" piece of this to attempt to reload the list, that's a nice to have. But implementing it without that would still be a nice step in the right direction and sufficient to close this issue.
I would love to give this a try. I took a swing at it and have the functionality working and am now starting to style it to be like the proposed design, and then I can clean up the implementation a bit.
I believe the Try Again? should not be a problem. I seem to have that working as expected.
Closing this issue along with the associated PR because we haven't seen evidence from users that this is a very common problem, and the current remedy for it isn't bad. #6297 (comment)
Activity
[-]Show errors when cloning repos with no internet[/-][+]surface network error when fetching repositories in clone dialog[/+]shiftkey commentedon Sep 21, 2017
Tweaked the title to indicate it's related to listing repositories, not the actual clone step
shiftkey commentedon Sep 21, 2017
@tierninho could you open a separate issue for the clone failing due to a network issue? That's going to require some work with our error handlers to surface a better message, which is different to a network issue when looking up repositories for the user.
shiftkey commentedon Sep 24, 2017
Hey @desktop/design, want to give some input on what a friendly network error might look like here in the list/dialog? Or should we just salmon-pink brutalism up the place for now?
ampinsk commentedon Nov 21, 2018
How's something like this?
cc @billygriffin @donokuda
donokuda commentedon Nov 21, 2018
@ampinsk Looks good to me!
billygriffin commentedon Nov 26, 2018
Looks good to me as well @ampinsk! My only question would be what happens when the user clicks "Try again?"
ampinsk commentedon Nov 26, 2018
I was thinking it would try reloading the list. Not totally necessary functionality, so that link could be removed.
billygriffin commentedon Nov 26, 2018
Sounds great @ampinsk, thanks. For whomever picks this up, if there's a nice and fairly simple way to implement the "Try again?" piece of this to attempt to reload the list, that's a nice to have. But implementing it without that would still be a nice step in the right direction and sufficient to close this issue.
Daniel-McCarthy commentedon Nov 26, 2018
I would love to give this a try. I took a swing at it and have the functionality working and am now starting to style it to be like the proposed design, and then I can clean up the implementation a bit.
I believe the
Try Again?should not be a problem. I seem to have that working as expected.billygriffin commentedon Nov 27, 2018
Awesome, thanks @Daniel-McCarthy! ❤️
billygriffin commentedon Mar 12, 2019
Closing this issue along with the associated PR because we haven't seen evidence from users that this is a very common problem, and the current remedy for it isn't bad. #6297 (comment)