Commit Graph

48473 Commits

Author SHA1 Message Date
moon 14cff0a001 Allow JSX.Element in content 2022-04-28 20:38:31 -07:00
Chi-Hsuan Huang 60334e3c55
Merge pull request #32801 from woocommerce/add/32634-add-products-task
Add experimental add product for task list
2022-04-29 11:35:53 +08:00
Ilyas Foo 8b9870b1d0
Merge pull request #32697 from woocommerce/add/wc-payment-gateways-banner
Added feature for payment gateways banner
2022-04-29 10:57:59 +08:00
Ilyas Foo 959ba869c1
Merge pull request #32814 from woocommerce/fix/32797-wca-fatal
Fix WCA fatal with bail conditions for WCA execution paths
2022-04-29 10:50:38 +08:00
Chi-Hsuan Huang 345a2ed60c Update experimental product stack layout style 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang 0d9d463d46 Update experimental-products default surfaced product types 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang 76777d2981 Refactor experimental-products functions 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang 2542594652 Add changelog 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang 6205c0208f Update card name & check support product types 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang e6d3ed3c3c Add loading sample product card 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang a4a62353fd Add external_product.csv for experimental product task 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang 2dd0ef0029 Add grouped_product.csv for experimental product task 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang 48c89b2266 Add card view 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang 6248683042 Add tests for experimental add product task 2022-04-29 10:46:54 +08:00
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
Ilyas Foo cb731d465a Merge remote-tracking branch 'origin/trunk' into add/wc-payment-gateways-banner 2022-04-29 10:15:21 +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
Ilyas Foo fc74c42fe0
Merge branch 'trunk' into add/wc-payment-gateways-banner 2022-04-29 09:11:20 +08:00
Ilyas Foo d94769982b Update e2e to use table instead 2022-04-29 09:09:06 +08:00
Jorge A. Torres 4c32881b65 Add changelog entry 2022-04-28 15:05:14 -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
Jorge A. Torres 3f87e28977 Make sure empty region lists are passed to the backend when editing a shipping zone 2022-04-28 12:52:12 -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
Nestor Soriano 98078fbc19
Refactor the WPPostToCOTMigrator class
- Rename to PostsToOrdersMigrationController (same for tests class)
- Rename process_next_migration_batch method to migrate_orders
- Rename process_single to migrate_order
- Remove batch and checkpoint related methods
  (batch management is performed by DataSynchronizer class)
- Adjust unit tests
2022-04-28 17:16:19 +02:00
Nestor Soriano 3b98fb7eef
Actually sync orders from posts to custom orders table when needed.
This commit connects the logic of the DataSyncrhonizer class with
the actual posts to COT synchronization implemented in the
WPPostToCOTMigrator class, so orders are actually syncrhonized
using scheduled actions.

Additionally, a synchronization process is triggered whenever an order
is created or modified, using the woocommerce_after_order_object_save
hook.
2022-04-28 15:33:43 +02:00
Nestor Soriano 7a0892422d
Rename DataSynchronizer::start_synchronizing_pending_orders
It's now maybe_start_synchronizing_pending_orders. Also, the method
now contains all the logic needed to decide if a synchronization
needs to actually be started.
2022-04-28 15:31:17 +02:00
Nestor Soriano ad5ec38d96
Fix: AUTO_FLIP_AUTHORITATIVE_TABLE_ROLES_OPTION logic was reversed
This constant contains the name of the setting that is used to
determine if the roles of the custom orders table and the posts table
(authoritative and backup) are reversed once synchronization of
orders between both tables finishes. The logic was mistakenly
implemented backwards.

Also, as part of the fix the constant is moved to the
CustomOrdersTableController class.
2022-04-28 15:25:55 +02: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
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