Skip to content

Retry fetching release notes on failure, and display failures#101158

Merged
mjbvz merged 3 commits intomicrosoft:masterfrom
SnirBroshi:bugfix/release-notes-reopen
Jun 26, 2020
Merged

Retry fetching release notes on failure, and display failures#101158
mjbvz merged 3 commits intomicrosoft:masterfrom
SnirBroshi:bugfix/release-notes-reopen

Conversation

@SnirBroshi
Copy link
Contributor

This PR fixes #101132

As you can see in the issue, this is how to test it:

  1. Go offline (you can also open devtools in vscode and go to the network tab and change the "online" at the top to "offline")

  2. Try to open the release notes using Show Release Notes from the command palette.

  3. Depending on whether you are on an official vscode build or a local build, the release notes page will be opened in your default browser. On a local build it should show an error stating that fetching the release notes failed and that this vscode doesn't have release notes online.

  4. Go back online

  5. Try to open the release notes again

  6. The release notes should open in a webview

  7. Go offline again

  8. Try to open the release notes again

  9. The release notes should open in a webview again, even though we're offline

@mjbvz mjbvz added this to the July 2020 milestone Jun 26, 2020
@mjbvz mjbvz merged commit d0c1d2e into microsoft:master Jun 26, 2020
@mjbvz
Copy link
Collaborator

mjbvz commented Jun 26, 2020

Thanks! Should be in the next insiders build and is scheduled for VS Code 1.47

@github-actions github-actions bot locked and limited conversation to collaborators Aug 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release notes can never be opened after you try to open them when offline

2 participants