Skip to content

Add an Offline Mode #3854

Closed
Closed

Description

@amdelamar

Description

It would be nice to not receive "Failed to fetch" errors when working offline. (Without active internet connection.

error-failed-to-fetch

Version

GitHub Desktop version: 1.0.12

OS version: Windows 10 - But also not specific to this

Steps to Reproduce

  1. Disconnect WiFi / LAN or enter Airplane Mode
  2. View any repository that's fetching origin from GitHub
  3. 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%

Activity

  1. iAmWillShepherd commented on Jan 24, 2018

    @iAmWillShepherd
    Contributor

    Thanks for taking the time to open an issue! 🙇

  2. j-f1 commented on Jan 24, 2018

    @j-f1
    Contributor

    Maybe we should put an error message near the fetch button instead of opening a dialog.

  3. amdelamar commented on Jan 24, 2018

    @amdelamar
    Author

    I think the user should have more choices.

    go-offline-button

    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.

  4. shiftkey commented on Feb 28, 2018

    @shiftkey
    Member

    @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-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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions