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

Improve language client library close action message #4141

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

andyleejordan
Copy link
Member

The updated language client library now displays an error when the connection to the server terminates. Thing is, we already have our own restart experience where we inform the user that the terminal should be restarted, and give them a Yes/No option to do so. Unfortunately, we can't suppress this error message, and I don't think that we want to auto-restart the terminal, so I've at least made the message a little more clear.

The updated language client library now displays an error when the
connection to the server terminates. Thing is, we already have our own
restart experience where we inform the user that the terminal should be
restarted, and give them a Yes/No option to do so. Unfortunately, we
can't suppress this error message, and I don't think that we want to
auto-restart the terminal, so I've at least made the message a little
more clear.
@andyleejordan
Copy link
Member Author

@SeeminglyScience @SydneyhSmith I've asked the upstream library to either add a PromptForRestart option as a CloseAction or to allow us to suppress their error message. For now, things look like this:

Screen Shot 2022-08-17 at 5 58 07 PM

@andyleejordan andyleejordan marked this pull request as ready for review August 18, 2022 00:58
@andyleejordan andyleejordan requested a review from a team August 18, 2022 00:58
@andyleejordan andyleejordan enabled auto-merge (squash) August 18, 2022 00:58
@SydneyhSmith SydneyhSmith self-requested a review August 18, 2022 17:40
@andyleejordan andyleejordan merged commit fcaa3ea into main Aug 18, 2022
@andyleejordan andyleejordan deleted the andschwa/close-action-message branch August 18, 2022 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants