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
It would be nice to not receive "Failed to fetch" errors when working offline. (Without active internet connection.
Version
GitHub Desktop version: 1.0.12
OS version: Windows 10 - But also not specific to this
Steps to Reproduce
Disconnect WiFi / LAN or enter Airplane Mode
View any repository that's fetching origin from GitHub
Get an error on opening repo. And every few minutes thereafter. Error: "Failed to fetch"
Expected behavior: Gracefully fail to fetch. Please offer a "Go Offline" button in the popup. Offer a "Offline Mode" option in the options menu. And silence repeating errors during fetch if current state is set to "Offline", or don't fetch at all if in offline mode.
Actual behavior: Error comes back every few minutes. Note: this ends up being very annoying and I close GitHub Desktop and use the command line git whenever I have to work offline.
Reproduces how often: 100%
Reacted by Jed Fox, Matan Givoni, Matthias Meißer and Travis Ralston
They could choose not to go offline and receive the same dialog again later, if they wish. But once "offline mode" is enabled, They shouldn't be able to fetch, auto-fetch, or anything. And would expect the "Fetch" button would change to "Go Online and Fetch origin".
Basically, two modes of operation are needed here. So this is a big change.
This idea is interesting for the future, but this is beyond the scope of our current roadmap.
I added the future-proposal label to this issue and closed it so that we won't get overwhelmed with our backlog! We will revisit this in our next planning session.
Activity
iAmWillShepherd commentedon Jan 24, 2018
Thanks for taking the time to open an issue! 🙇
j-f1 commentedon Jan 24, 2018
Maybe we should put an error message near the fetch button instead of opening a dialog.
amdelamar commentedon Jan 24, 2018
I think the user should have more choices.
They could choose not to go offline and receive the same dialog again later, if they wish. But once "offline mode" is enabled, They shouldn't be able to fetch, auto-fetch, or anything. And would expect the "Fetch" button would change to "Go Online and Fetch origin".
Basically, two modes of operation are needed here. So this is a big change.
shiftkey commentedon Feb 28, 2018
@amdelamar Thanks for the suggestion!
This idea is interesting for the future, but this is beyond the scope of our current roadmap.
I added the
future-proposallabel to this issue and closed it so that we won't get overwhelmed with our backlog! We will revisit this in our next planning session.