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
[COT] Implement order bulk actions #33687
Conversation
📊 Test reports for this pull request have been published and are accessible through the following links:
Latest commit referenced in the reports: Visit the WooCommerce Test Reports homepage to view all published reports. See the FAQs page if you're having problems accessing them. |
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.
This is great. I added some notes but mostly minor/optional stuff: works really well, thanks!
Hi @barryhughes, thanks for merging this pull request. Please take a look at these follow-up tasks you may need to perform:
|
Changes proposed in this Pull Request:
This PR implements order bulk actions for the new implementation of the orders list table for COT (#32864).
Internal\Admin\Orders\PageController
to handle registration of the "Orders" menu item and initialization of all things associated to it. For example, it takes care of figuring out which order screen to display, which might be useful for Render order edit page #33638 (which implements the "edit order" screen and logic).Closes #33198.
How to test the changes in this Pull Request:
As there's nothing COT datastore specific in this PR, it should be possible to test by "tricking" the code as described in #
As there's nothing COT datastore specific in this PR, it should be possible to do this by tricking WC into displaying the new table as described in Admin list table [COT] #32864:
For the full COT-datastore experience, make sure to enable the feature and migrate some orders over to the new tables. Set COT as authoritative and use a snippet like this one to "mock" a
query()
method implementation.