Commit Graph

51682 Commits

Author SHA1 Message Date
Chi-Hsuan Huang 6f5b7fd359
Fix rest api filter to allow any strings in replacement (#37468)
* Fix beta tester api filter replacement value

* Add changelog

* Fix lint

* Add doc comments
2023-03-30 09:13:09 +08:00
Barry Hughes 6c1ebf3c7a
Improve search query performance by avoiding LEFT JOIN on orders_meta table. (#36688) 2023-03-29 11:29:04 -07:00
github-actions[bot] 5b234b92e1
Delete changelog files based on PR 37492 (#37494)
Delete changelog files for 37492

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-29 16:12:06 +02:00
github-actions[bot] 9892f7af28
Delete changelog files based on PR 37477 (#37489)
Delete changelog files for 37477

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-29 16:11:24 +02:00
Gan Eng Chin 5094cc6742
Code refactor: Simplify boolean expression before `&&` in Marketing page (#37452) 2023-03-29 21:15:01 +08:00
Gan Eng Chin a57ec7818e
Code refactor: Move marketing components into coupons directory (#37444) 2023-03-29 21:13:04 +08:00
Gan Eng Chin b2629c03db
Make Multichannel Marketing the default new UI for Marketing page (#37430) 2023-03-29 21:09:23 +08:00
Albert Juhé Lluveras 2c0004a78d
Update WooCommerce Blocks package to 9.8.4 (#37492) 2023-03-29 14:59:28 +02:00
Gan Eng Chin f814f09cab
Edit changelog.
To mention removing classic Marketing page and unused code.
2023-03-29 19:09:54 +08:00
Gan Eng Chin 34bd123448
Remove unused button-style mixins. 2023-03-29 19:06:40 +08:00
Gan Eng Chin b51d32e6b7
Remove unused woocommerce_marketing_overview_welcome_hidden option.
See https://github.com/woocommerce/woocommerce/pull/37430#discussion_r1150002880.
2023-03-29 19:00:20 +08:00
Vedanshu Jain 6d4c579477 Merge branch 'trunk' into perf/count_orders 2023-03-29 16:00:53 +05:30
Vedanshu Jain 934084fb95
Add partial verification support for HPOS CLI (#37446) 2023-03-29 16:00:39 +05:30
Albert Juhé Lluveras b5aaa1f996
Update WooCommerce Blocks package to 9.8.3 (#37477) 2023-03-29 11:57:58 +02:00
Chi-Hsuan Huang 19a119f0a8
Upstream changes from experimental-select-control back to @woocommerce/components (#36521)
* Add scrollIntoViewOnOpen and position props to menu

* Add ability to customize active item style

* Add menu toggle button

* Add changelog

* Fix changelog

* Rename toggle button classname

* Change default menu position

* Update toggle button story

* Add default value to getToggleButtonProps
2023-03-29 17:18:43 +08:00
Vedanshu Jain 792bf6fc85 Merge branch 'trunk' into hpos/end-at-support 2023-03-29 13:24:02 +05:30
Niels Lange 96a1e9cd7b
Update extend-cart-checkout-block dependency (#37191) 2023-03-29 09:39:46 +07:00
smallfishes 1f714e8ade
fixed bug where adjust_download_permissions was being scheduled on va… (#34828)
* fixed bug where adjust_download_permissions was being scheduled on variable products without downloadable variations

* check if  is null per code review comment and issue 35918 on GitHub

* clean up changelog file

* Trigger checks

* Fix DownloadPermissionsAdjuster tests

---------

Co-authored-by: smallfishes <mike@smallfishanalytics.com>
Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-03-28 17:24:02 -05:00
Joshua T Flowers 49cde4cad6
Content lock all blocks in the product editor (#37382)
* Lock all blocks in the product editor to content only

* Add changelog entry

* Add content role to summary field to allow editing

* Remove unused BlockControls
2023-03-28 15:18:00 -07:00
barryhughes 59c977e5e9 Bump template version. 2023-03-28 13:19:57 -07:00
barryhughes 021ea1b9fd Changelog. 2023-03-28 12:53:29 -07:00
barryhughes 17c4952e72 Use consistent strategy for sanitizing the payment gateway title.
Elsewhere, in relation to payment gateway titles, we use the HtmlSanitizer utility to remove dangerous HTML but allow a safe subset. We should also apply that here, for consistency.
2023-03-28 12:50:58 -07:00
Christopher Allford 2f4f0bea54
Added Build File Caching (#37459)
Since these files can impact the build, we need to make sure to use
them as part of the cache key.
2023-03-28 12:48:20 -07:00
Matt Sherman 30ea6cfc71
Show spotlight when switching to variable product type (#37413)
* Show variable product tour
* Only show tour when product type is changed to variable
* Only show tour if it hasn't been shown before
* Add variable_product_tour_shown to UserPreferences type
* Store whether tour has been shown in user preferences
* Record Tracks events
* Add docblock for woocommerce_admin_get_user_data_fields filter
* Add test for tour
2023-03-28 13:49:40 -04:00
Matt Sherman eab7750208
Move product-editor CES-related components and utilities (#37131)
* Update package.json and lock file
* Move ProductMVPFeedbackModal to @woocommerce/product-editor
* Move ProductMVPFeedbackModalContainer to @woocommerce/product-editor
* Move ProductMVPCESFooter and useProductMVPCESFooter to @woocommerce/product-editor
* FIx mock of __experimentalUseProductMVPCESFooter in test
2023-03-28 13:38:08 -04:00
Justin Palmer a1ed69bc0c
Remove new multichannel marketing option info from WC Tracker (#37438) 2023-03-28 17:54:36 +02:00
jonathansadowski 6e5ce6d028
Pin to pnpm 7 in highlight changes workflow (#37476) 2023-03-28 10:37:46 -05:00
Matt Sherman 3e7d2fbe15
New empty state for variations when no attributes (#37352)
* HTML for new empty state
* Go to attributes tab when clicking on link in message
* Handle case where local attributes exist but are not used for variations
* Make sure the click handler is re-hooked up when attributes are added
2023-03-28 10:57:02 -04:00
Matt Sherman a92c16d93d
Update style of product attributes tab empty state (#37429)
* Update style of product attributes tab empty state
* Update icon
2023-03-28 09:50:15 -04:00
Vedanshu Jain 3c351c6056 Applied standards. 2023-03-28 19:11:20 +05:30
Vedanshu Jain 7acc2fe096 Merge branch 'trunk' into perf/count_orders 2023-03-28 18:52:38 +05:30
Matt Sherman 19b6d3fb19
Change label for button to add new global attribute value from product screen (#37414)
Change label for button to add new global attribute value from product screen.
2023-03-28 09:19:48 -04:00
Vedanshu Jain 00ba26b508 Merge branch 'trunk' into hpos/end-at-support 2023-03-28 18:41:27 +05:30
Vedanshu Jain 99e4ed4963 Make params inclusive. 2023-03-28 18:38:59 +05:30
nigeljamesstevenson c1ecb28ec7
update expectedIndustries variable name to be more descriptive (#37448)
update variable name to be more descriptive
2023-03-28 11:56:53 +02:00
Vedanshu Jain 15060e3161
Fix/37276 remove information schema queries (#37299) 2023-03-28 14:47:48 +05:30
louwie17 bc42b853d8
Update product editor interpolate components (#37453)
* Remove use cases of `interpolateComponents`

* Remove from package json

* Add changelog
2023-03-28 04:15:17 -03:00
Chi-Hsuan Huang cdeb32baa1
Add `country` query param to payment suggestion data sources (#37443)
* Add country query param to payment gateway data sources

* Add changelog

* Fix lint
2023-03-28 14:18:25 +08:00
Niels Lange 9eeda1d853
Move .wp-env.json.mustache to root folder 2023-03-28 12:05:58 +07:00
Chi-Hsuan Huang e18a531e85
Add Payoneer, zipco payment gateways and update Klarna available countries (#37329)
* Update default payment gateways

* Add changelog

* Update payoneer image
2023-03-28 11:43:33 +08:00
barryhughes 7c0dfa3093 One more PHPCS override. We need to restore the current screen obj. 2023-03-27 15:52:10 -07:00
barryhughes 44330f5ab8 Tidy tests per coding standards. 2023-03-27 15:52:10 -07:00
barryhughes c567a679b5 Do not assume is set in the array. 2023-03-27 15:52:10 -07:00
barryhughes 03ebff86b8 Quick edit and reply customizations targeting the Product Review page should not impact the product editor. 2023-03-27 15:52:10 -07:00
barryhughes d4738cd5f0 Changelog. 2023-03-27 15:52:10 -07:00
barryhughes 6e8f080438 Restore reviews (comments) to the product editor. 2023-03-27 15:52:10 -07:00
Sam Seay 7918d0a3c2 Revert "Replace $.ajax() calls with browser-native window.fetch() calls. (#36275)"
This reverts commit 6c053d3eec.
2023-03-28 10:58:17 +13:00
Barry Hughes c4fc54680b
Updated accessibility for product categories shortcode. (#37445) 2023-03-27 14:02:57 -07:00
Peter Fabian 4b64923747
Synchronized SSR from template to REST API (#37425)
* Synchronized SSR from template to REST API.

* Changelog.

* PHPCS

* More PHPCS.

* PHPCS fix

* Fixed unit tests.
2023-03-27 15:19:24 -05:00
github-actions[bot] bfe49d9d83
Delete changelog files based on PR 37397 (#37423)
Delete changelog files for 37397

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-27 21:39:19 +02:00