Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat(VSCODE-196): Show connection form error in connection form #217

Merged

Conversation

Anemy
Copy link
Member

@Anemy Anemy commented Nov 30, 2020

VSCODE-196

This PR updates how we show errors in our connection form. Previously we would show descriptive errors in vscode alerts. This updates the behavior to make the error in the connection form the verbose one, and move away from showing verbose vscode notifications, to show the error in the form ui.

Wrapped a bit of cleanup in too, previously we were storing the connecting connection identifier as a number, now we use a uuid or the connection's id. The connection form now also stores the connecting connection identifier, so it can ignore overridden connection attempt results.

This PR should also handle the case where the user has closed the form window where they are attempting to connect. Previously this would cause a silent background error.

showing error in connection form

@Anemy Anemy changed the title VSCODE-196: Show connection form error in connection form feat(VSCODE-196): Show connection form error in connection form Nov 30, 2020
Copy link
Contributor

@addaleax addaleax left a comment

Choose a reason for hiding this comment

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

Looks good to me :)

@Anemy Anemy merged commit 8ebbb53 into master Nov 30, 2020
@Anemy Anemy deleted the VSCODE-196/show-connection-form-error-in-connection-form branch November 30, 2020 16:28
@Anemy Anemy mentioned this pull request Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants