-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Add scheduled sale fields #34538
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
Add scheduled sale fields #34538
Conversation
Test Results SummaryCommit SHA: 135cc98
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. |
92814bf to
272e95b
Compare
272e95b to
5c95ca9
Compare
plugins/woocommerce-admin/client/products/sections/pricing-section.tsx
Outdated
Show resolved
Hide resolved
9c7caeb to
58d824f
Compare
03c8b35 to
488c54c
Compare
29db82c to
a121bb9
Compare
089c70c to
a0fa928
Compare
ddc939d to
890313c
Compare
…the rick text editor toolbar)
21d4f00 to
91fb8e4
Compare
|
@joshuatf I just noticed the failed Form test. I'm investigating. I'll ping you again when I have it fixed. |
|
@joshuatf Okay, all test pass again, the Storybook stories all appear to be working correctly, as does the product screen. So, Hopefully this is ready for a re-review now! There are a few known issues I've listed in the PR description that I think can be handled in follow up PRs. |
joshuatf
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! Testing well in both the new product experience and the storybook examples. Thanks for all the changes here 💯
|
Thanks for the reviews, @joshuatf ! 🙌 |
All Submissions:
Changes proposed in this Pull Request:
This PR adds scheduled sale support to the new product editing experience.
Closes 43-gh-woocommerce/mothra-private
How to test the changes in this Pull Request:
new-product-management-experience.Products > Add New (MVP).Known issues
After saving a product with a scheduled sale, the product will be marked as dirty immediately (causing the "Update" button to be enabled). This was fixed by DateTimePickerControl: Only call onChange when the date actually changes #35397If you change the input of the scheduled to or from fields to the same date by typing, two onChange events get fired. This baffles me (none should be fired in this case). I will create an issue for follow-up at some later point (it's pretty edge-case).This was fixed in 8229b6fOther information:
pnpm changelog add --filter=<project>?FOR PR REVIEWER ONLY: