Commit Graph

48391 Commits

Author SHA1 Message Date
Chi-Hsuan Huang eb21a4dc8c
Merge pull request #32755 from woocommerce/refactor/woo-data-types
Make `@woocommerce/data` tidy
2022-04-28 19:19:30 +08:00
Chi-Hsuan Huang 8f06c5aa20 Reorder functions/imports/exports in @woocommerce/data 2022-04-28 19:18:56 +08:00
Chi-Hsuan Huang 0a986dd153 Update onboarding/selectors.ts 2022-04-28 19:18:56 +08:00
Chi-Hsuan Huang 0919e241ae Move types to ./types.ts 2022-04-28 19:18:55 +08:00
Chi-Hsuan Huang 843a59c0c4
Merge pull request #32735 from woocommerce/update/woo-data-types
Update `@woocommerce/data` & admin client type definitions
2022-04-28 18:03:14 +08:00
Ilyas Foo 297e21038c Lint 2022-04-28 17:29:39 +08:00
Ilyas Foo 83be522465
Update plugins/woocommerce/src/Internal/Admin/FeaturePlugin.php 2022-04-28 17:25:22 +08:00
Peter Fabian 1fcea9e0da
Merge pull request #32776 from woocommerce/fix/download-file-warnings
Updating an existing downloadable file to a bad path should trigger an admin notice
2022-04-28 10:52:16 +02:00
Ilyas Foo 60e341ad17
Merge pull request #32800 from woocommerce/dev/32719-remove-wc-admin-set-up-additional-payment-types-note
Remove `wc-admin-set-up-additional-payment-types` inbox note
2022-04-28 16:05:04 +08:00
Vedanshu Jain 610af05393
Merge pull request #29688 from woocommerce/fix/tax_data_rounded_on_save
Remove rounding of taxes displayed in items meta table
2022-04-28 12:36:04 +05:30
Ilyas Foo c66550da1f Merge remote-tracking branch 'origin/trunk' into dev/32719-remove-wc-admin-set-up-additional-payment-types-note 2022-04-28 14:44:57 +08:00
Ilyas Foo 4dec2483fc Added comment and remove old function 2022-04-28 14:37:19 +08:00
Ilyas Foo 89722dfafc Remove deprecated warning and make use of safe define 2022-04-28 14:37:13 +08:00
Adrian Duffell 8a3ae1399b Merge branch 'trunk' into add/wc-payment-gateways-banner 2022-04-28 14:29:17 +08:00
Ilyas Foo 1e6d45dd9b
Merge pull request #32773 from woocommerce/dev/32575-add-generic-fallback-image-payments-task
Add fallback image payments task gateway icons
2022-04-28 13:31:13 +08:00
Ilyas Foo bc7830b670 Changelog 2022-04-28 12:51:53 +08:00
Ilyas Foo bb05a6fc85 Added bail codes for WCA execution paths 2022-04-28 12:19:17 +08:00
Ilyas Foo ff4d735238 Merge remote-tracking branch 'origin/trunk' into dev/32575-add-generic-fallback-image-payments-task 2022-04-28 11:56:58 +08:00
Chi-Hsuan Huang 0389bc7cc3
Merge pull request #32779 from woocommerce/add/product-stack
Add experimental product stack component
2022-04-28 09:47:31 +08:00
Paul Sealock f4fab80b18 changelog 2022-04-28 11:31:37 +12:00
Paul Sealock 077b21b35c pnpm lock file update 2022-04-28 11:23:25 +12:00
Paul Sealock b06b34dd31 beta tester fix scripts 2022-04-28 11:04:20 +12:00
Paul Sealock 4275eb002b admin fix scripts 2022-04-28 11:04:20 +12:00
Paul Sealock bfbad3a4dc Fixup eslintrc.js 2022-04-28 11:04:12 +12:00
Jamel Noel Reid 7c0a1f129e
Merge pull request #31915 from woocommerce/fix/e2e-utils-shopper-searchForProduct
Fix link click for shopper.searchForProduct
2022-04-27 17:33:06 -05:00
Paul Sealock e82e3cc49e changelog 2022-04-28 10:00:29 +12:00
Paul Sealock 931845a53a reference local eslint plugin package 2022-04-28 10:00:29 +12:00
Paul Sealock 12fef88354 Add lint:fix to admin js packages 2022-04-28 10:00:29 +12:00
Paul Sealock 6100df9a04
Storybook: Move code to `tools/` (#32729) 2022-04-28 09:54:54 +12:00
Corey McKrill ea504f09b5
phpcs cleanup 2022-04-27 14:33:34 -07:00
roykho 0feaf3a9de
Put exit clause on makepot script 2022-04-27 12:33:37 -07:00
Claudio Sanches ca02a49bff
Merge pull request #32804 from woocommerce/fix/e2e-tests
Fix/e2e tests
2022-04-27 14:57:16 -03:00
barryhughes 6e5d4acc22 Revise testdox 2022-04-27 10:24:30 -07:00
barryhughes 16dbf4607e Break test into smaller more atomic tests. 2022-04-27 10:21:09 -07:00
roykho b2ad3aab61
Use the proper composer command for running scripts 2022-04-27 10:09:06 -07:00
roykho cf783aca58
Move makepot to build-zip bash script 2022-04-27 09:45:51 -07:00
Jonathan Lane b6b5bb7ae1
Merge pull request #31855 from woocommerce/fix/27902
Update instructions for external sites
2022-04-27 09:45:42 -07:00
Jonathan Lane 31d4b8f7e7
Merge branch 'trunk' into fix/27902 2022-04-27 09:28:17 -07:00
roykho 216317c557
Test updating makepot script command 2022-04-27 09:27:36 -07:00
Vedanshu Jain 1c72457215
Merge pull request #32771 from woocommerce/fix/32754-inactive-downloads
Protect against inappropriate use of saved download links
2022-04-27 21:36:37 +05:30
roykho 6f61dd8088
Update cache paths 2022-04-27 09:05:01 -07:00
roykho 2798add11d
Add changelog 2022-04-27 08:56:14 -07:00
roykho cc1fef5bcb
Try different port for K6 tests 2022-04-27 08:38:45 -07:00
Corey McKrill d2c7e665f4 Remove outdated code comment 2022-04-27 09:47:08 -05:00
Corey McKrill 2c6bf681d2 Add changelog file 2022-04-27 09:47:08 -05:00
Corey McKrill eedac60985 Update tests 2022-04-27 09:47:08 -05:00
Corey McKrill 7807c70549 Don't combine content and SKU search
We decided the performance hit was too great. So with this, you can
still use both the search and search_sku parameters at the same time
if you want, but the query will use `AND` so that there must be a
partial match from both fields rather than either field. To just search
SKUs, all that you need is the search_sku parameter.
2022-04-27 09:47:08 -05:00
Corey McKrill b480d1362d Ensure where clause gets nested correctly when terms are the same 2022-04-27 09:47:08 -05:00
Corey McKrill 029257be30 Refactor to use search_sku parameter
Instead of overloading the default search parameter.

This actually added a bit of complexity because it introduced the
possibility that a request could have both search and search_sku
parameters, and they might not be the same value.

I decided to handle the two cases differently: if both search strings
match, the assumption is that we're looking for a string in either the
content *or* the SKU field. However, if the the search strings are
different, the assumption is that we're looking for products with a
particular string in the content *and* a separate particular string
in the SKU.

New unit tests for this are still pending.
2022-04-27 09:47:08 -05:00
Jaclyn Chen 49743f5167 Add a new parameter `search_includes_sku` so that SKU search isn't included by default. 2022-04-27 09:47:08 -05:00