-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Remove AUTO-DRAFT in product name field on create new product page #37982
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
|
Hi @louwie17, 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: |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## trunk #37982 +/- ##
==========================================
- Coverage 51.5% 51.3% -0.2%
- Complexity 17281 17409 +128
==========================================
Files 430 440 +10
Lines 80030 80561 +531
==========================================
+ Hits 41215 41295 +80
- Misses 38815 39266 +451
|
Test Results SummaryCommit SHA: 1b453eb
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. |
louwie17
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.
Tested well, and code looks good, just looks like you added or left an unnecessary import useEffect (see inline comment).
| Fragment, | ||
| createInterpolateElement, | ||
| useState, | ||
| useEffect, |
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.
Unnecessary import?
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.
louwie17
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.
LGTM 🚀
Submission Review Guidelines:
Changes proposed in this Pull Request:
Closes #37930
How to test the changes in this Pull Request:
Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:
/wp-admin/tools.php?page=woocommerce-admin-test-helperproduct-block-editor/wp-admin/admin.php?page=wc-admin&path=/add-productGeneraltab and withinBasic detailssection the product name should not longer beAUTO-DRAFTwhen creating the product.