-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Update/38743 loading changes in core profiler #38750
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
Conversation
Test Results SummaryCommit SHA: 3379861
To view the full API test report, click here. To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
ccf7734 to
505087a
Compare
|
Hi @ilyasfoo, @adrianduffell, Apart from reviewing the code changes, please make sure to review the testing instructions as well. You can follow this guide to find out what good testing instructions should look like: |
chihsuan
left a comment
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.
Awesome! Tested well. 👍
Left some minor comments. Pre-approving!
| event.data.filter( | ||
| ( plugin: Extension ) => | ||
| plugin.is_activated === false | ||
| ).length === 0 |
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.
Nit: I think we can just replace filter with the every method, and we don't need to check length.
event.data.every( ( plugin ) => plugin.is_activated )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.
nice, that works!
| > | ||
| { __( 'Continue', 'woocommerce' ) } | ||
| { hasSubmitted ? ( | ||
| <Spinner /> |
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 wonder if an error occurs, will the state be reset?
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.
It won't, but it'll move to the next state if/when the API call promise rejects
adrianduffell
left a comment
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.
6e66b13 to
3379861
Compare
Submission Review Guidelines:
Changes proposed in this Pull Request:
Some minor UI fixes in this PR:
Closes #38743 .
How to test the changes in this Pull Request:
Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:
Extensions installation 3rd loader step:

Skip Guided Setup loader:
