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: improve LSP settings UI #970

Merged
merged 2 commits into from
Jun 26, 2023

Conversation

fbricon
Copy link
Contributor

@fbricon fbricon commented Jun 22, 2023

Fixes #861

  • uses a PortField for the server port, with minimal validation
  • added titled border
  • fixed left / right margins

However I spent an unreasonable amount of time trying to fix the wide margin between the title and the comment, but no dice. Still looks better than before (#861) so I gave up.

Screenshot 2023-06-22 at 19 11 18
Screenshot 2023-06-22 at 19 11 55

Signed-off-by: Fred Bricon [email protected]

@fbricon fbricon requested a review from adietish June 22, 2023 17:19
@angelozerr
Copy link
Contributor

Nice fix @fbricon !

@adietish do you think you could have time to review this PR?

@adietish
Copy link
Contributor

adietish commented Jun 23, 2023

@fbricon, @angelozerr: I'm fixing the vertical gap and the missing indentation for the controls. If you want to use a group with a title, all controls below it have to be indented, not just the comment like it is in this PR.

image

See here as example:
image

@adietish
Copy link
Contributor

adietish commented Jun 23, 2023

Working around stuff too but I think that I got it finally. I still have a small vertical gap btw. title and description that I can't get rid off (it's smaller than before though)
image

@adietish
Copy link
Contributor

adietish commented Jun 23, 2023

@fbricon, @angelozerr: please review

@adietish adietish requested a review from angelozerr June 23, 2023 18:34
@sonarcloud
Copy link

sonarcloud bot commented Jun 26, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@adietish adietish left a comment

Choose a reason for hiding this comment

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

LGTM.
Added a commit that removes the vertical gap and adds an indent to the widgets in the titled group.

@fbricon
Copy link
Contributor Author

fbricon commented Jun 26, 2023

@adietish thanks!

@fbricon fbricon merged commit 376de05 into redhat-developer:main Jun 26, 2023
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.

Improve Language Servers settings UI
3 participants