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

fix: set proper borders / alignment in quarkus wizard #969

Merged
merged 2 commits into from
Jun 26, 2023

Conversation

fbricon
Copy link
Contributor

@fbricon fbricon commented Jun 22, 2023

Screenshot 2023-06-22 at 15 13 03

Screenshot 2023-06-22 at 14 49 16

Screenshot 2023-06-22 at 14 49 09

fixes #636
fixes #637

@angelozerr
Copy link
Contributor

For the Filter extension field (in last wizard page) I will grow up the field size to take the full horizontal size of the page.

It is not linked to this issue but I have noticed that click on Next button is slow. I think it is because it collect Quarkus extension, but I think we should manage a progress monitor or something like this which explains that Quarkus extensions are collected. At first I though it didn't work and click on Next button several times.

Comment on lines +125 to +126
Dimension maxSize = super.getMaximumSize();
return new Dimension(maxSize.width, JBUI.scale(30));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Made the filter field fill the horizontal space:

Screenshot 2023-06-26 at 10 21 45

@adietish
Copy link
Contributor

adietish commented Jun 26, 2023

@fbricon:
image

added a commit which removes it:
image

@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.
Made first wizard page aka code endpoint chooser step only have left margin. Other than that +1

@fbricon
Copy link
Contributor Author

fbricon commented Jun 26, 2023

@adietish definitely too much space, I spent some time trying to fix it already, but IMHO this requires rewriting the QuarkusModuleBuilder so it doesn't extend JavaModuleBuilder, so we can control the layout of the SDK field. I chose to ignore that in this PR for now, it will need to be addressed separately.

@fbricon
Copy link
Contributor Author

fbricon commented Jun 26, 2023

@adietish definitely too much space, I spent some time trying to fix it already, but IMHO this requires rewriting the QuarkusModuleBuilder so it doesn't extend JavaModuleBuilder, so we can control the layout of the SDK field. I chose to ignore that in this PR for now, it will need to be addressed separately.

I was actually thinking more of the SDK left alignment, more than the space below

@fbricon fbricon merged commit 1b5bb74 into redhat-developer:main Jun 26, 2023
@fbricon
Copy link
Contributor Author

fbricon commented Jun 26, 2023

@adietish thanks

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.

"Select extension" wizard page has layout flaws Project settings wizard page has no (left nor right) borders
3 participants