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

minor visual tweaks to ShowMessageRequest popup #2340

Merged
merged 4 commits into from
Oct 18, 2023

Conversation

rchl
Copy link
Member

@rchl rchl commented Oct 16, 2023

The popup shown on server triggering window/showMessageRequest was a bit out of date.

  • Run the message through text2html so that newlines are respected.
  • Tweak margins so that there is no big gap at the bottom of the content when actions are not specified.

Would be good to test this with some other servers to ensure that preserving newlines actually doesn't make it worse. I remember eslint used it but not sure what else.

Before

Screenshot 2023-10-16 at 22 31 42

After

Screenshot 2023-10-16 at 22 30 45

@rwols rwols merged commit e7cd48f into main Oct 18, 2023
4 checks passed
@rwols rwols deleted the fix/show-message-request-tweaks branch October 18, 2023 19:14
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