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

perf: improve Quarkus wizard latency #1179

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

fbricon
Copy link
Contributor

@fbricon fbricon commented Sep 25, 2023

Fixes #973
Fixes #273
Fixes #274
Signed-off-by: Fred Bricon [email protected]

@@ -102,7 +133,8 @@ public void actionPerformed(ActionEvent e) {
this.customUrlWithBrowseButton.setButtonIcon(AllIcons.Actions.Preview);
customPanel.addToCenter(this.customUrlWithBrowseButton);
builder.addComponent(customPanel);
builder.addTooltip("Make sure your network connection is active before continuing.");
builder.addTooltip("Make sure your network connection is active.");
Copy link
Contributor

Choose a reason for hiding this comment

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

Use QuarkusBundle message

@fbricon
Copy link
Contributor Author

fbricon commented Sep 26, 2023

I broke QuarkusModelRegistryTest somehow, need to fix it

@angelozerr
Copy link
Contributor

@fbricon the performance are impressive! congrats!

The PR is very good but here some improvement that we could do for wizard (perhaps in an another PR):

  • when you fill artifactid at this step:
    image

I think it should update project name too:

image

  • I don't understand the custom url? Do you think we could prefill with some values?

@angelozerr
Copy link
Contributor

What about simplifying the ui wizard page with URL by having just à combo URL prefilled with default value?

@fbricon
Copy link
Contributor Author

fbricon commented Sep 26, 2023

What about simplifying the ui wizard page with URL by having just à combo URL prefilled with default value?

I have a different but similar approach in mind, but I put that aside for now as it was a bit complicated to achieve.
A simple pre-filled combo doesn't work as you can't simply reset it to the default value if you delete it.

I opted to focus on the performance aspect in this PR. Other improvements can and will be done separately.

@sonarcloud
Copy link

sonarcloud bot commented Sep 26, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

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
15.5% 15.5% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@angelozerr angelozerr merged commit 58433c5 into redhat-developer:main Sep 26, 2023
13 of 14 checks passed
@angelozerr
Copy link
Contributor

It works like a charm and wizard are so fast now!

Thanks so much @fbricon to have implemented the artifact id which updates project name.

@angelozerr
Copy link
Contributor

I opted to focus on the performance aspect in this PR. Other improvements can and will be done separately.

Yes sure! I wanted just to share with you my first feeling that I add by playing with the wizard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants