Commit Graph

51436 Commits

Author SHA1 Message Date
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
Matt Sherman de111c1edb
Update TourKit README to correct primaryButton example and formatting (#37427) 2023-03-27 07:09:39 -04:00
Matt Sherman a77e4abffe
Emit error on webpack build when invalid export name used in import for JS (#37195) 2023-03-26 21:42:33 -04:00
Justin Palmer 51e04b9eba
Remove multichannel marketing info from WC Tracker 2023-03-25 16:57:20 +01:00
Leif Singer 62b275c41a
Update tested and required WordPress versions according to L-2 policy (#37434) 2023-03-25 09:25:13 +01:00
Christopher Allford a8fff3175c
Fix TypeScript Incremental Build Regression (#37432) 2023-03-24 12:07:49 -07:00
github-actions[bot] a7516cb2b0
Delete changelog files based on PR 36593 (#37420)
Delete changelog files for 36593

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-24 19:18:43 +01:00
github-actions[bot] 0e1f974f49
Delete changelog files based on PR 37373 (#37380)
Delete changelog files for 37373

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-24 19:17:54 +01:00
github-actions[bot] df52c85e92
Delete changelog files based on PR 37354 (#37356)
Delete changelog files for 37354

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-24 19:16:51 +01:00
Nathan Silveira 1f698d2583
Create experimental SelectTree component (#37319)
* Create a new experimental component TreeSelect
Add functionality to TreeControl to support additional scenarios

* Fix a bug where the shouldNotRecursivelySelect was not passed to Trees inside Tree Items

* Do not collapse nodes inside useEffect if they are already expanded

* Add storybook example for SelectTreeControl

* Move component to its own directory

* Remove wrong comment

* Fix CSS import path

* Remove getFilteredItems from select-tree

* Stop using getFilteredItems inside select tree
Create new shouldShowCreateButton prop to allow receiving only filtered items inside component
Remove support to show custom getItemLabel and getItemValue

* Change interface

* Rename back Item type names

* Rename back value

* Fix lint error and remove passing ref to treeProps

* Make id mandatory in SelectTree

* Refactor

* Improve selector to focus on create button
2023-03-24 14:49:45 -03:00
Gan Eng Chin 046b0195ab
Update e2e test for marketing page. 2023-03-25 01:32:14 +08:00
Gan Eng Chin 6a6dd1a710
Fix failed api-core-tests. 2023-03-25 01:22:14 +08:00
Gan Eng Chin 49299de1fd
Add changelog. 2023-03-25 00:40:29 +08:00
Vedanshu Jain 126187b794
Fix imported ContainerInterface (#37334)
Co-authored-by: Viktor Szépe <viktor@szepe.net>
2023-03-24 16:50:53 +01:00
nigeljamesstevenson 59a12a1868
E2e/fix failing daily product variations (#37246) 2023-03-24 15:20:37 +00:00
John Greys c8d0ab3019 Add changelog file 2023-03-24 14:22:41 +00:00
John Greys e1226eb9c3 Dev - Add customer object parameter to taxable address filter 2023-03-24 14:20:25 +00:00
Ilyas Foo 47587065c9
Fix `possibly_refresh_data_source_pollers` function (#37397)
* Add default value for get_option

* Changelog
2023-03-24 21:07:10 +08:00
Konstantinos Megas 2cd529bcda
fix typos (#37407)
* fix typos

fix typos

* Add changelog

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-03-24 21:05:34 +08:00
Néstor Soriano 2d9b4bdd46
Bump WooCommerce minimum required PHP version to 7.3 and upgrade to PHPUnit 9 (#37366) 2023-03-24 13:42:46 +01:00
Gan Eng Chin ec2cc54c09
Remove feature toggle in WC Settings page. 2023-03-24 20:01:44 +08:00
Gan Eng Chin 12ec1c88fc
Remove unused classic marketing overview component. 2023-03-24 16:56:52 +08:00
Konstantinos Megas 6525bd069d
Fix typos in code comments (#37405) 2023-03-24 09:22:58 +01:00
Niels Lange 3dbf859df3
Replace woocommerce-blocks textdomain in *.json files (#37234)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-03-24 09:21:58 +01:00
Sakri Koskimies 1a058dc12f
Fix rounding difference on refunds with per-line taxes. Closes #30263 (#34641) 2023-03-24 09:09:13 +01:00
Nicholas Hance 6585113636
Update schema for version to match what is sent (#35940)
More specifically, the type of "version" in the "order" object in REST API is now declared as "string" instead of "int".

Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2023-03-24 08:49:53 +01:00
Néstor Soriano 432daa511d
Delete order data from wc_order_tax_lookup and wc_order_stats on order deletion (#36601) 2023-03-24 08:45:54 +01:00
Chi-Hsuan Huang 9cf7ef5a3d
Migrate woocommerce-payments task fills to TS and remove connect.js fill (#37308)
* Migrate woocommerce-payments.js to TS

* Remove tasks/fills/connect.js

* Add changelog

* Remove connect js
2023-03-24 12:26:13 +08:00
Christopher Allford 67cde87fd1
Enforce Strict `@types` Dependencies (#37351) 2023-03-23 18:02:20 -07:00
Jon Lane 9c8249fa46 Fix timeout 2023-03-23 11:42:46 -07:00
Christopher Allford 3d614cd862
Removed TypeScript Incremental Build Support (#37374) 2023-03-23 11:25:42 -07:00
Nathan Silveira 818c0c0a12
Add start command to woocommerce/client/legacy (#37368) 2023-03-23 11:20:20 -07:00