Gan Eng Chin
3513ef51a1
Merge branch 'trunk' into feature/34905-marketing-campaigns-card
2023-02-25 00:39:37 +08:00
Barry Hughes
6cd66c5692
Merge branch 'trunk' into add/encoding-selector-to-product-importer
2023-02-24 08:13:15 -08:00
Gan Eng Chin
f62b44ae2f
Set numberOfRows for TablePlaceholder in Campaigns card.
2023-02-24 23:48:04 +08:00
Gan Eng Chin
f7a1ef2123
Code refactor with getTotalFromResponse in getCampaigns.
2023-02-24 23:45:10 +08:00
Gan Eng Chin
a4e11924fd
Change meta.total to optional in receiveCampaignsSuccess.
2023-02-24 23:44:47 +08:00
Néstor Soriano
00b8a8e76c
Merge branch 'trunk' into fix/load-theme-specific-stylesheet-in-site-editor
2023-02-24 16:35:55 +01:00
Gan Eng Chin
f5ba6d94ac
Remove unused fetchWithHeaders control.
2023-02-24 23:35:40 +08:00
Barry Hughes
7f5b65b519
Add woocommerce_attributes_saved trigger. Closes #35004 . ( #36943 )
2023-02-24 07:20:16 -08:00
barryhughes
c8074a79e5
Add changelog
2023-02-24 06:35:56 -08:00
barryhughes
b772e9a995
Merge branch 'trunk' into issues/35004-attributes-saved-trigger
2023-02-24 06:31:31 -08:00
Néstor Soriano
89ec0bc083
Change SORT_STRING to SORT_NATURAL for the encodings list
...
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-02-24 14:59:08 +01:00
louwie17
aec4dfd3bd
Update product editor package ( #36830 )
...
* Add missing dev packages to product-editor package
* Create components folder for organization
* Move product field, section and tab slots over to product-editor package
* Move use of product slot fills to product-editor package
* Sync dependencies
* Add changelogs
* Update README's and add constant for default values
* Update README's in product-editor package
2023-02-24 09:37:53 -04:00
Vedanshu Jain
7f140c77ca
Use latest WP version.
2023-02-24 17:02:36 +05:30
Vedanshu Jain
86e5f13180
Modify name to reflet HPOS tests + use latest WP..
2023-02-24 17:02:05 +05:30
Vedanshu Jain
5c2ccb563b
Run HPOS test in a matrix along with post tests.
2023-02-24 16:57:51 +05:30
Nestor Soriano
575146615a
Fix: can't apply or remove a coupon whose code is "0" via REST api
...
Also fix: coupon usage not incremented for coupon with code "0"
2023-02-24 11:57:23 +01:00
Gan Eng Chin
a982b7be21
Error handling in getCampaigns.
2023-02-24 18:32:33 +08:00
Vedanshu Jain
87da68c377
Use correct data store for getter/setters.
2023-02-24 15:03:54 +05:30
Vedanshu Jain
a3a41356ee
Sanitize value before returning.
2023-02-24 15:03:48 +05:30
Vedanshu Jain
f8b6258c92
Set correct datastore for tests.
2023-02-24 15:03:41 +05:30
Vedanshu Jain
5e7052b03d
Use correct data store for getter/setters.
2023-02-24 15:02:01 +05:30
Vedanshu Jain
7fbd736517
Sanitize value before returning.
2023-02-24 15:01:38 +05:30
Gan Eng Chin
92762ca9b0
Better pagination with TablePlaceholder in Campaigns card.
2023-02-24 17:09:42 +08:00
Vedanshu Jain
2d3f38851c
Set correct datastore for tests.
2023-02-24 14:37:35 +05:30
Vedanshu Jain
2362d7785a
Add HPOS support to admin orders API.
2023-02-24 14:04:35 +05:30
louwie17
2ef4f8a9da
Fix create wc extension script ( #36917 )
...
* Run create-extension for create-wc-extension script
* Add changelog
---------
Co-authored-by: Sam Seay <samueljseay@gmail.com>
2023-02-24 04:28:07 -04:00
Vedanshu Jain
a3c646fe55
Apply coding standards.
2023-02-24 13:18:52 +05:30
Vedanshu Jain
f20d619c30
Skip legacy tests.
2023-02-24 13:11:28 +05:30
Vedanshu Jain
d54e141aaf
Use CRUD instead of direct post access for HPOS compat.
2023-02-24 13:06:04 +05:30
Vedanshu Jain
5c6392dc7c
Use closure instead of returning DB object to prevent interference in other tests.
...
PHPUnit will evaluate all data providers before starting anyh test (to count the number of tests to be executed). Which means that any data provider inserting data into DB is going to interfere with other tests. Using closure instead helps PHP in counting the data, yet not having to actual DB calls.
2023-02-24 13:04:01 +05:30
helgatheviking
e0cf5476a8
Add woocommerce_attributes_saved trigger. Closes #35004 .
2023-02-23 16:35:02 -07:00
Fernando Marichal
756fe32c04
Create spotlight on analytics revenue report ( #36653 )
...
* Add `RevenueReportDateTour` component
* Add changelog
* Fix styles
* Rename RevenueReportDateTour to ReportDateTour to use it in two different reports: Orders and Revenue
* Change default sort date to date_paid
# Conflicts:
# plugins/woocommerce/src/Admin/API/Reports/Orders/Stats/DataStore.php
* Update changelog
* Assign date_column_name before calling parent constructor
* Remove date_type default value from configuration and show tour only if user didn't assign a value
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
Co-authored-by: Nathan Schneider <nsschneider1@gmail.com>
2023-02-23 15:49:24 -03:00
Gan Eng Chin
61aa3cd135
Add changelog.
2023-02-24 02:19:46 +08:00
Gan Eng Chin
cc5345db4e
Campaigns pagination UI logic.
2023-02-24 02:13:20 +08:00
Gan Eng Chin
60d815c582
wp.data for campaigns data pagination.
2023-02-24 02:10:37 +08:00
Gan Eng Chin
20ae504be0
Add controls with fetchWithHeaders.
2023-02-24 02:08:59 +08:00
Joshua T Flowers
87d79f15a3
Move product editor utils to product editor package ( #36730 )
...
* Move product editor utils to product editor package
* Add changelog entries
* Move remaining utils
* Move util import/exports to separate index file
2023-02-23 09:48:49 -08:00
Néstor Soriano
ba7fef3bcf
Merge branch 'trunk' into fix/cant-apply-coupon-0
2023-02-23 12:05:50 +01:00
Nestor Soriano
59a55b8561
Add changelog file
2023-02-23 11:52:01 +01:00
Nestor Soriano
3b4b85ba1f
Fix: can't apply or remove a coupon whose code is "0".
...
Also added two new methods in StringUtil: is_null_or_empty
and is_null_or_whitespace.
2023-02-23 11:49:38 +01:00
Saad Tarhi
615365d14e
Fix "undefined `disable_ui` index" error
2023-02-23 11:31:01 +01:00
Saad Tarhi
b312c65a95
Fix PHPCS errors
2023-02-23 09:00:10 +01:00
Saad Tarhi
2ed94d56c3
Merge branch 'woocommerce:trunk' into add/36413-support-for-cart-checkout-in-declare-compatibility
2023-02-23 08:38:03 +01:00
Saad Tarhi
b5b0c28ed0
Add generic approach to adding features without UI
...
In our case for the Cart & Checkout feature, we don't want to show the
UI in the "Features" tab in Woo Settings. Creating a flag for this
purpose will make it easier for future features to unsubscribe from
showing a UI if required
2023-02-23 08:37:05 +01:00
Alejandro López Ariza
7fdd0f496f
Remove check to skip testing instructions if needed in PR template and add final check to confirm that testing instructions were added. ( #36916 )
...
* Remove check to skip testing instructions if needed from PR template and add final check to confirm that testing instructions were added.
* Update Pull Request template documentation to be consistent with the removal of the checkbox to skip testing instructions.
---------
Co-authored-by: Jonathan Lane <lanej0@users.noreply.github.com>
2023-02-22 15:00:58 -08:00
Saad Tarhi
390efe8bdd
Fix PHPCS lint error
2023-02-22 19:05:52 +01:00
Luigi Teschio
b0e5db0bfe
Bump WooCommerce blocks package to 9.6.2 ( #36919 )
...
bump WooCommerce blocks package to 9.6.2
2023-02-22 15:51:04 +01:00
Vedanshu Jain
f3cb5424d7
Move generic method to parent class for reusability.
2023-02-22 19:42:47 +05:30
Vedanshu Jain
6d162a9950
Undo regression in previous commit.
2023-02-22 19:13:06 +05:30
Vedanshu Jain
0b689ed8bd
Modify test to support HPOS.
2023-02-22 19:12:53 +05:30