Commit Graph

51257 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
Jon Lane 660b277d4b Complete refactor 2023-03-23 10:35:57 -07:00
Lucas Bustamante ebafecea0f
Reduce flakiness on E2E setup (#37410)
* Reduce flakiness on test setup

* Add changelog

* Go to wp-admin
2023-03-23 09:40:31 -07:00
rodelgc f3366e7dd9
Fix incorrect workflow input for uploading Allure reports on PR merge tests (#37404)
* Fix incorrect input parameter

* Add changelog
2023-03-23 16:29:53 +01:00
Jorge A. Torres 627c2bce01
Synchronize order meta data (between HPOS and CPT stores) (#36593) 2023-03-23 10:03:44 -05:00
Vedanshu Jain 41c2549f20 Remove manual meta handling code since custom meta is synced now. 2023-03-23 08:34:00 -05:00