Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Go to download page when automatic update fails #871

Merged
merged 3 commits into from
Mar 1, 2022
Merged

Conversation

AlbyIanna
Copy link
Contributor

Motivation

Errors happening during the automatic update aren't handled properly.

Change description

Whenever an error happens during the automatic update occurs, show a link to the download page to let the user download the IDE by themselves.

Reviewer checklist

  • PR addresses a single concern.
  • The PR has no duplicates (please search among the Pull Requests before creating one)
  • PR title and description are properly filled.
  • Docs have been added / updated (for bug fixes / features)

@AlbyIanna AlbyIanna requested review from fstasi and per1234 February 28, 2022 12:28
@AlbyIanna AlbyIanna changed the base branch from main to custom-update-url February 28, 2022 12:41
Base automatically changed from custom-update-url to main February 28, 2022 14:04
@per1234 per1234 added topic: code Related to content of the project itself type: enhancement Proposed improvement labels Mar 1, 2022
Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested under the following conditions:

  • Download fails due to a 404
  • Download fails due to using the .zip Linux build (which doesn't support auto-update)

Previously, either of these conditions resulted in the update download dialog hanging at 0%, with no feedback unless you checked the command line output (and even that wasn't clear in the case of using the .zip Linux build).

Now both of these situations are handled gracefully by the IDE.

Thanks Alberto!

@AlbyIanna AlbyIanna merged commit a5a6a0b into main Mar 1, 2022
@AlbyIanna AlbyIanna deleted the go-to-download-page branch March 1, 2022 08:24
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants