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
Don't disable push button when doing background fetching #1011
A user experience problem I brought up in Slack is that the 'push' button disables with a spinner right when I want to click it. Like I'll make a commit in the app and as I go to click the 'push' button, it will gray out. @shiftkey speculated it might be due to background fetching. I'm able to get around this by going to a term for git push, which works. It would be nice to stay in the app for this operation, though.
I believe this is #889 in play, which we added to prevent the user from doing a double-pull. We also have #953 to think about how we show progress on long-running operations like pull/push/fetch...
I think the current behavior is good-enough for beta but in the long run we should explore queuing a push/pull click in case there's a background fetch in progress.
We should also explore ways of not having to perform a background fetch at all if it isn't necessary by checking the API for info on whether the repo has changed and ultimately we'd obviously like to move from periodic fetching to realtime on-demand fetching when the repo changes.
Activity
shiftkey commentedon Mar 7, 2017
I believe this is #889 in play, which we added to prevent the user from doing a double-pull. We also have #953 to think about how we show progress on long-running operations like pull/push/fetch...
niik commentedon Mar 10, 2017
I think the current behavior is good-enough for beta but in the long run we should explore queuing a push/pull click in case there's a background fetch in progress.
We should also explore ways of not having to perform a background fetch at all if it isn't necessary by checking the API for info on whether the repo has changed and ultimately we'd obviously like to move from periodic fetching to realtime on-demand fetching when the repo changes.
Don't block push/pull during a background fetch
Don't block push/pull during a background fetch
Don't block push/pull during a background fetch