Commit Graph

48160 Commits

Author SHA1 Message Date
Chi-Hsuan Huang cbfc393c6a Add use-create-product-by-type & use-product-types-list-items hooks 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang 5f233898bf Implement functionalities of experimental products 2022-04-29 10:46:54 +08:00
Moon 938cd88ff6
Merge pull request #32820 from woocommerce/fix/fix-ts-build-errors
Fix TS build errors in admin
2022-04-28 19:09:59 -07:00
moon dc00aff77e Run dev after clean command 2022-04-28 14:28:01 -07:00
moon 082f55bee1 Run clean before running build commands 2022-04-28 13:42:06 -07:00
Josh Betz 870ea59738
Merge pull request #32046 from woocommerce/api/28508-search-including-sku
Enable searching for products by SKU
2022-04-28 13:50:42 -05:00
moon ef3f48bda6 Add is_visible 2022-04-28 11:22:54 -07:00
Roy Ho c8c2e4253f
Merge pull request #32793 from woocommerce/fix/standardize-lint-monorepo
Standardize linting: Admin JS packages
2022-04-28 06:14:36 -07:00
Fernando 5bda7ca396
Merge pull request #32739 from woocommerce/add/32156_preview-store-button
Add Preview store button to Home screen
2022-04-28 08:35:31 -03:00
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
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 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 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
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
Jaclyn Chen 532c580081 Include sku partial match for products search. 2022-04-27 09:47:08 -05:00
barryhughes 72d196f398 Log if headers cannot be sent during a download error event. 2022-04-27 07:46:21 -07:00
roykho e1499a1772
Update port 2022-04-27 07:45:10 -07:00