Commit Graph

51346 Commits

Author SHA1 Message Date
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
github-actions[bot] 1bcc039bf5
Delete changelog files based on PR 37313 (#37358)
Delete changelog files for 37313

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-27 21:12:10 +02:00
Leif Singer 82a172cd06
Delete changelog files based on PR 37323 (#37456) 2023-03-27 20:57:05 +02:00
Leif Singer 7a68b6f16f
Delete changelog files based on PR #37434 (#37449) 2023-03-27 18:13:26 +02:00
Maikel David Pérez Gómez a5b104eaed
Add icon support to product section block (#37340)
* Add block icon component

* Use the block icon component within the section block

* Add changelog file

* Fix rebase conflicts

* Remove icon configuration from the client side

* Change the BlockIcon component to get the icon from the attributes first and then from the metadata

* Expose the BlockIcon to be used outside of the package

* Add the BlockIcon documentation

* Configure the block to support the new icon via attributes

* Set the icon to the block section in the server template definition

* Revert back index.tsx -> index.ts in the section block

* Fix php linter errors

* Add changelog file

* Fix php linter error

* Return null instead of a Fragment
2023-03-27 12:52:03 -03:00
Gan Eng Chin 69a00e8eaa
Add changelog. 2023-03-27 23:29:59 +08:00
Vedanshu Jain 4245ec17b9 Yoda conditions, I have used. 2023-03-27 20:44:38 +05:30
Gan Eng Chin de2aa280ef
Simplify boolean expression before && in Marketing page. 2023-03-27 21:55:42 +08:00
Peter Fabian e8409660da Changelog. 2023-03-27 15:40:31 +02:00
Peter Fabian cf9fbb2248 Updated accessibility for product categories shortcode. 2023-03-27 15:39:49 +02:00
Gan Eng Chin 07181dd142
Add changelog. 2023-03-27 20:27:32 +08:00
Gan Eng Chin 64bd683e0b
Simplify import. 2023-03-27 20:17:05 +08:00
Vedanshu Jain bb0ca91846 Add changelog. 2023-03-27 17:45:44 +05:30
Vedanshu Jain dd2fe3869b Add support for end_at ID to allow partial verification. 2023-03-27 17:44:52 +05:30
Gan Eng Chin ab2d56d8b3
Move card and slider into coupons directory. 2023-03-27 19:56:40 +08:00
Gan Eng Chin 48c50afcbf
Move RecommendedExtensions and KnowledgeBase into coupons directory. 2023-03-27 19:56:40 +08:00