-
Notifications
You must be signed in to change notification settings - Fork 47
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
Conversation
8654cc0
to
187eac4
Compare
src/main/java/com/redhat/devtools/intellij/quarkus/QuarkusConstants.java
Outdated
Show resolved
Hide resolved
src/main/java/com/redhat/devtools/intellij/quarkus/module/QuarkusCodeEndpointChooserStep.java
Outdated
Show resolved
Hide resolved
@@ -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."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use QuarkusBundle message
src/main/java/com/redhat/devtools/intellij/quarkus/module/QuarkusCodeEndpointChooserStep.java
Outdated
Show resolved
Hide resolved
src/main/java/com/redhat/devtools/intellij/quarkus/module/QuarkusCodeEndpointChooserStep.java
Outdated
Show resolved
Hide resolved
src/main/java/com/redhat/devtools/intellij/quarkus/module/QuarkusCodeEndpointChooserStep.java
Outdated
Show resolved
Hide resolved
187eac4
to
e10de3d
Compare
I broke QuarkusModelRegistryTest somehow, need to fix it |
e10de3d
to
2ecf4ff
Compare
.../java/com/redhat/devtools/intellij/quarkus/projectWizard/QuarkusCodeEndpointChooserStep.java
Show resolved
Hide resolved
src/main/java/com/redhat/devtools/intellij/quarkus/projectWizard/QuarkusModelRegistry.java
Show resolved
Hide resolved
src/main/java/com/redhat/devtools/intellij/quarkus/projectWizard/QuarkusModuleInfoStep.java
Show resolved
Hide resolved
@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): I think it should update project name too:
|
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. I opted to focus on the performance aspect in this PR. Other improvements can and will be done separately. |
Signed-off-by: Fred Bricon <[email protected]>
2ecf4ff
to
d8afb99
Compare
SonarCloud Quality Gate failed. 0 Bugs No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
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. |
Yes sure! I wanted just to share with you my first feeling that I add by playing with the wizard. |
Fixes #973
Fixes #273
Fixes #274
Signed-off-by: Fred Bricon [email protected]