-
Notifications
You must be signed in to change notification settings - Fork 2
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
Enhance/press7 60 jetpack boost #25
Enhance/press7 60 jetpack boost #25
Conversation
components/advancedSettings/JetpackBoost/InstallActivatePluginButton.js
Outdated
Show resolved
Hide resolved
Fix: avoid import of unused component
@arnavchaudhary We need a PR on this |
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.
Hey @AleTorrisi, thank you for the PR! This looks fantastic, especially since it's your first time working on this codebase. I added a few small comments and optimizations. Please take a look and let me know if they make sense.
Other than that:
-
Let's ensure we run the
wp-scripts
linter on the JS files. -
Let's ensure we have a newline at the end of each file for consistency.
-
Here's what I am seeing on my local environment with your changes. If I’m missing something, that’s all OK, but please reconfirm if these buttons look correct:
Let me know your thoughts or if anything needs further clarification ✌️
components/advancedSettings/JetpackBoost/InstallActivatePluginButton.js
Outdated
Show resolved
Hide resolved
components/advancedSettings/JetpackBoost/InstallActivatePluginButton.js
Outdated
Show resolved
Hide resolved
Tweak: handling of exceptions and errors during option saving
…ead that directly from React
… useless api call
Fix: use Performance token to manage Jetpack boost installation process
|
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.
I think the performance test is failing for something related to accessibility. Other than that looks good to me. Thanks! @AleTorrisi
'wp-module-performance' | ||
), | ||
jetpackBoostCriticalCssTitle: __( | ||
'Optimize Critical CSS Loading (manual)', |
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.
What's "manual" mean in this case? cc @chrisdavidmiles
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.
Might be the difference between paid Jetpack Boost vs free, on paid this is automatic.
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.
Looks good, the test is failing because the workflow is not picking up the new installer dependency. This should not be an issue when we create a bump PR in the web/mojo plugin.
Proposed changes
This branch introduces the new section "Advanced settings" which includes main Jetpack boost options, so that they can be set by Bluehost panel and synchronized with Jetpack panel too.
Type of Change
Video
Screen-2024-11-11-134622.mp4
Checklist