Commit Graph

51084 Commits

Author SHA1 Message Date
Chi-Hsuan Huang cbafbd53c4
Update plugins/woocommerce/changelog/dev-update-webpack-config
Co-authored-by: Gan Eng Chin <ecgan@users.noreply.github.com>
2023-03-17 19:44:09 +08:00
Peter Fabian a45b67d390
Prevent dbDelta from running unnecessary ALTER table during upgrade (#37277) 2023-03-17 12:03:17 +01:00
Chi-Hsuan Huang f5b80b84cf Add changelog 2023-03-17 17:53:14 +08:00
Chi-Hsuan Huang a6e3398e06 Disable React Fast Refresh completely in webpack when running start command 2023-03-17 17:52:24 +08:00
Vedanshu Jain 329c65ed76 Better language, and allow deleting by inherited classes too. 2023-03-17 14:58:35 +05:30
Vedanshu Jain c99f17592c Add changelog. 2023-03-17 14:03:47 +05:30
Vedanshu Jain 22cfecd522 Also delete when order type is placehoder, since it was created by HPOS. 2023-03-17 14:02:59 +05:30
Vedanshu Jain 31134c7055 Revert "Also delete when order type is placehoder, since it was created by HPOS."
This reverts commit 5e636046dd.

Reverting so that it can be properly included in a seperate PR
2023-03-17 14:01:52 +05:30
Vedanshu Jain ade1540ece Merge branch 'trunk' into hpos/unit-tests 2023-03-17 13:39:19 +05:30
Néstor Soriano 196c4f889c
Load same stylesheets in the Site Editor as in the frontend (#36911) 2023-03-17 09:07:37 +01:00
Chi-Hsuan Huang a643fef112
Fix woocommerce-admin "packages" commands (#37204)
Fix WCA run packages command

Add changelog
2023-03-17 15:11:33 +08:00
Chi-Hsuan Huang 2699aeca6b
Update default payment gateways for payment partners (#37233)
* Update default payment gateways

* Add changelog

* Move cod
2023-03-17 14:38:35 +08:00
RJ 23b79428f7
add: payment transaction processor images to payment recommendations (#37230) 2023-03-17 13:49:50 +08:00
RJ 04f34e9636
fix: payments recommendations pane wrong image size (#37259) 2023-03-17 12:29:19 +08:00
Joshua T Flowers 5ed070d78a
Add tests around product block editor tabs (#37225)
* Add tests around tabs

* Add changelog entry

* Fix up frozen lock file

* Fix up frozen lock file

* Fix up lock file after rebase
2023-03-16 14:46:38 -07:00
Sam Seay 9f9fef7ed3
Introduce a beta post command to the release post tool (#37142) 2023-03-17 08:37:53 +13:00
Fernando Marichal 0f733d1db2
Record values for toggled checkboxes/features in settings (#37242)
* Record toggled values

* Improve `tab` and `section` recording.

* Add changelog

* Fix lint

* Fix lint

---------

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-16 15:22:51 -03:00
Gan Eng Chin f769a8c6f5
Merge branch 'trunk' into feature/34904-marketing-introduction-banner
Conflicts:
	plugins/woocommerce-admin/client/marketing/overview-multichannel/MarketingOverviewMultichannel.tsx
2023-03-17 01:21:13 +08:00
Sam Seay 9f4d889765
Update turborepo to latest version 1.8.3 (#37260) 2023-03-17 05:54:02 +13:00
Joshua T Flowers 90e7c66ba6
Remove the product block breadcrumbs and sidebar inspector (#37250)
* Remove the product block breadcrumbs and sidebar inspector

* Add changelog entry
2023-03-16 09:12:11 -07:00
Matt Sherman 9c5e9b57bf
Move CES data store to @woocommerce/customer-effort-score (#37252) 2023-03-16 10:22:33 -04:00
Matt Sherman 97b6ae086f
Initial e2e tests for new product editor (form-based) (#36902) 2023-03-16 09:51:01 -04:00
Ahmed 3985242547
Add onboarding support for new countries in WCPay (#36906)
* Add new countries to WCPay

* changelog

* add new countries code to woocommerce admin

* Add the new countries to onboarding wizard fallback config file

---------

Co-authored-by: Anurag Bhandari <anurag@automattic.com>
2023-03-16 20:48:45 +08:00
Jorge A. Torres b19ad2f6d7
Prevent possible PHP warnings produced by 'woocommerce_ajax_order_items_removed' hook (#37178)
* Remove superfluous check.

* Prevent PHP warnings in `woocommerce_ajax_order_items_removed`

* Add changelog
2023-03-16 08:42:01 -03:00
Albert Juhé Lluveras 6f757f8991
Update WooCommerce Blocks package to 9.8.1 (#37238) 2023-03-16 10:52:55 +01:00
Joshua T Flowers 77937dd8cb
Move usePreventLeavingPage to navigation package (#36752)
* Move usePreventLeavingPage to navigation package

* Rename usePreventLeavingPage to useConfirmUnsavedChanges

* Move imports to external dependencies

* Fix up history push overrides

* Add changelog entries

* Fix up rebase issues

* Update i18n dependency to wp-6.0

* Fix up lock file

* Remove unused imports

* Update lock file

* Remove self import for navUtils
2023-03-16 05:33:22 -03:00
RJ 1c9b3a58fe
fix: mobile app connection owner bug (#37170) 2023-03-16 16:20:36 +08:00
Chi-Hsuan Huang f50abc724f
Remove accordion from "Other payment providers" in WC Pay Task (#37205)
* Remove accordion from Other payment providers in WC Pay Task

* Add changelog

* Fix tests

* Update test

* Fix e2e test
2023-03-16 12:11:59 +08:00
Chi-Hsuan Huang c804e76156
Set up "React Fast Refresh" in woocommerce-admin (#37165)
* Add @pmmmwh/react-refresh-webpack-plugin, react-refresh, webpack-dev-server and add start:hot command

* Set up react fast fresh

* Add changelog

* Run prestart in hot command

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml
2023-03-16 11:52:03 +08:00
Matt Sherman fb3a920a7e
Update Customers report with latest user data after editing user (#37237) 2023-03-15 19:11:26 -04:00
jonathansadowski adffb280f8
Remove broken workflow for bypassing changelog-only PRs (#37216) 2023-03-15 17:20:13 -05:00
Joshua T Flowers cb82998688
Improve accessibility around product editor tabs (#37217)
* Improve accessibility around product editor tabs

* Add changelog entry
2023-03-15 11:50:37 -07:00
louwie17 93506388e3
Update product rest config and template block usage (#37206)
* Update product post rest configs

* Update block usage

* Add changelogs

* Fix lint

* Make use of setupEditorState instead of setupEditor as we do not have a content block

* Simplify product condition

* Make use of core store only
2023-03-15 13:44:05 -03:00
witlock c8f7a564c5
Add/Remove order coupon actions logged in notes (#30642)
* log admin coupon code actions

* added documentation, fixed return value

* formatting

* included user to note logs

* Add changelog

* Address PHPCS issues

* Make WC_Abstract_Order::remove_coupon() return a bool

* Move addition of coupon-related order notes from WC_Order to AJAX callbacks

* Address PHPCS problems

* Pass coupon order notes through `esc_html()`

* Add AJAX update of notes when adding/removing coupons via admin

* Fix tests (maybe?)

---------

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-03-15 13:33:46 -03:00
Tam Mullen 562fede1e2
Update the CI workflow to include WP 6.0 and 5.9 (#37180)
Update the CI workflow to include WP 6.0 and 5.9 matching our L-2 support policy
2023-03-15 15:49:33 +00:00
Moon 16c7c58462
Update Avalara CTA copy in tax task (#37224)
* Change CTA to Download

* Add changelog
2023-03-14 22:37:07 -07:00
Gan Eng Chin dd6856a6c0
Add changelog. 2023-03-15 08:27:52 +08:00
Gan Eng Chin aef22190d2
Make sure expression before && is always boolean in React rendering in marketing page. 2023-03-15 08:24:00 +08:00
Gan Eng Chin 98dcb9bea4
Specify args for wp.data resolution in marketing page to support WP 5.9 (#37198) 2023-03-15 07:30:40 +08:00
Matt Sherman 4cabe5f6b5
Add Tracks events for product inventory tab (#37202) 2023-03-14 18:16:01 -04:00
mynewvk f43e36a45b
Display price depend on price location (#25080)
* display price depend on price location

* change arg key

* test for wc_get_price_to_display

* fix spacing & function docblock

* Add changelog file

* Address PHPCS issues

* Rename `display_location` to `display_context`

* Address PHPCS issues

* Update changelog wording

---------

Co-authored-by: Kolya lukin <mykola@imagecms.net>
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-03-14 18:27:39 -03:00
Jorge A. Torres 112d4585c7
Restore the sort order when orders are cached. (#37192) 2023-03-14 14:34:21 -03:00
Ron Rennick 3809392f7c
Use dbDelta and truncate to manage attribute lookup tables (#36872) 2023-03-14 13:42:35 -03:00
Albert Juhé Lluveras b88e07eda6
Update WooCommerce Blocks package to 9.8.0 (#37210) 2023-03-14 17:37:38 +01:00
Matt Sherman b94d38458d
Add components to @woocommerce/customer-effort-score (#37112)
* Update src structure of @woocommerce/customer-effort-score

* Changelog

* Add dependencies to @woocommerce/customer-effort-score

* Move useCustomerEffortScoreExitPageTracker and utils to @woocommerce/customer-effort-score

* Fix up imports from @woocommerce/customer-effort-score

* Changelog

* Fix import of constant

* Mock @woocommerce/customer-effort-score in tests

* Move tests to @woocommerce/customer-effort-score

* Update lock file

* Update lock file from trunk

* Update lock file again... this time, tests pass
2023-03-14 12:16:19 -04:00
Vedanshu Jain 52890fccab Fix typo. 2023-03-14 17:28:50 +05:30
louwie17 1706585ea7
Pin PNPM to 7.29.1 to fix build errors (#37208) 2023-03-14 07:09:58 -03:00
Joshua T Flowers 31ec8d8352
Add tab blocks to the blocks product editor (#37174)
* Add initial tab block and tabs render

* Add tabs styling

* Set initially selected tab on render

* Set initial tab based on query param

* Add template placeholder with tabs

* Add changelog entry

* Allow multiple tab and section blocks

* Add changelog entry for wc

* Fix up arrow alignment

* Fix up block configuration type

* Add missing navigation dependency to product editor
2023-03-13 15:00:50 -07:00
Fernando Marichal b1a0d3177c
Show message in Inventory tab for variable products (#37185)
* Add message to inventory tab

* Add styles

* Add changelog

* Fix link styles

* Fix message style without buttons

* Avoid line break

* Remove space

---------

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-13 18:26:51 -03:00
Gan Eng Chin 580e3a8c36
Add changelog. 2023-03-14 03:39:34 +08:00