woocommerce/plugins/woocommerce-admin/client
github-actions[bot] 5a6d8552a7
Cherry pick 50970 into release/9.3 (#51092)
* Update woocommerce shipping promo banner [wc-shipping-188] (#50970)

* Make sure the WC Shipping slug is used for installation

* Make sure the check to show banner metabox work for HPOS as well

* Make ShippingLabelBannerDisplayRules::order_has_shippable_products work with HPOS as well

* Remove Jetpack plugin specific checks in ShippingLabelBannerDisplayRules

* Use correct variable names for dotcom connection

* Fix comments

* Remove depenency on WCS&T for showing WC Shipping promo banner

* Remove WC Tax and WC Shipping from incompatible plugins

* Vary action button label if WCS&T is already installed

* Inject config and render label purchase app after activation

* Open the purchase modal after adding it to DOM

* Render Shipment tracking metabox

* Use a different headline when WCS&T is already installed

* Fix UX when a none-compatible WCS&T is already active

* Fix CSS linting issues

* Fix Jslint issues

* Improve around usage of localized variables

* Fix and update JS tests

* Address phpcs issues

* Delete metaboxes of compatible WCS&T

* Remove redundant variable assignment

* Remove css and js of WCS&T if a compatible version is installed

* Fix failing legacy PHPUnit tests

* Only open the new label purchase modal if WCS&T is not active

* Remove redundant code around TOS acceptance for showing the banner

* Remove redundant test for Jetpack version checking

* Make sure target passed to MutationObserver.observe is available

* Add changelog file

* Add openWcsModal to component's prototype

* Add more js unit tests

* Address PHP notice

* Remove redundant variable assignments

* Rename wcsPluginSlug to more clear wcShippingPluginSlug

* Add a link to plugins page if incompatible WCS&T is already installed

* Remove unused function parameters

* Fix API resource path

* Handle a case where none compatible version of WCShipping is installed

* Prep for cherry pick 50970

* Remove infant use statement

---------

Co-authored-by: Sam Najian <dev@najian.info>
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
Co-authored-by: Sam Najian <sam.najian@automattic.com>
2024-09-03 11:21:21 +01:00
..
activity-panel Remove the "We're here to help" spotlight (#47812) 2024-08-20 15:51:44 +08:00
analytics Mark props with defaults as not required (#50816) 2024-08-21 21:59:42 +02:00
blueprint Add visual changes to the blueprint slotfill (#50724) 2024-08-16 18:23:05 +00:00
core-profiler Update the link color in legal disclaimers on core profiler (#50830) 2024-08-21 17:11:07 +08:00
customize-store CYS - Move the `ai/product` endpoint to woocommerce admin API (#50393) 2024-08-21 15:34:12 +02:00
dashboard fix: replaced apostrophes for WooCommerce Admin JS strings in Homescreen & Core Profiler (#50776) 2024-08-20 17:13:17 +08:00
embedded-body-layout Fix Layout Controller forwarding arrays from the URL query string. (#38593) 2023-06-05 04:55:20 -03:00
error-boundary fix: replaced apostrophes for WooCommerce Admin JS strings in Homescreen & Core Profiler (#50776) 2024-08-20 17:13:17 +08:00
guided-tours fix: replaced apostrophes for WooCommerce Admin JS strings in Homescreen & Core Profiler (#50776) 2024-08-20 17:13:17 +08:00
header Add site visibility badge to admin menu (#50775) 2024-08-20 08:36:20 +00:00
homescreen fix: replaced apostrophes for WooCommerce Admin JS strings in Homescreen & Core Profiler (#50776) 2024-08-20 17:13:17 +08:00
hooks Add variation switcher in footer for variation page (#40713) 2023-10-12 11:56:48 -03:00
inbox-panel fix: replaced apostrophes for WooCommerce Admin JS strings in Homescreen & Core Profiler (#50776) 2024-08-20 17:13:17 +08:00
launch-your-store fix: replaced apostrophes for WooCommerce Admin JS strings in Homescreen & Core Profiler (#50776) 2024-08-20 17:13:17 +08:00
layout [Store Alerts] Make alert action keys unique (#50424) 2024-08-09 20:44:09 +12:00
lib Integrate JS remote logging package in WooCommerce Admin (#50134) 2024-08-02 10:25:39 +08:00
marketing fix: remove defaultProps in prep for react 19 (#50266) 2024-08-06 12:20:45 +00:00
marketplace Update My Subscriptions screen labels and columns (#49985) 2024-08-01 14:12:32 +02:00
mobile-banner Stylelint: Update config to double quotes (#45607) 2024-03-26 10:41:34 -03:00
payments Add reactified main payments screen (#49972) 2024-07-26 12:40:18 +08:00
payments-welcome Add new shared payment methods logos component (#49300) 2024-07-16 17:42:52 +03:00
products Address React 18 race condition issue and `setCategories` console error (#49642) 2024-07-22 09:22:35 -03:00
profile-wizard [Performance]: Replace `classnames` usage with `clsx` (#47760) 2024-05-31 05:49:36 +02:00
settings blueprint - add php package and cli commands (#49763) 2024-08-12 16:33:05 -07:00
settings-payments add: render react placeholders for offline and woocommerce_payments settings sections (#50008) 2024-07-26 20:55:19 +08:00
settings-recommendations [Performance]: Replace `classnames` usage with `clsx` (#47760) 2024-05-31 05:49:36 +02:00
shipping Don't recommend WCS&T on shipping settings page if WCShip or WCTax is active (#48701) 2024-06-27 15:36:00 +02:00
store-management-links fix: fixed all instances of no-use-before-define lint rule violations 2023-11-16 19:21:30 +08:00
stylesheets Fix sticky admin bar CSS positioning bug in WordPress.com mobile (#50709) 2024-08-16 14:12:54 -07:00
task-lists fix: replaced apostrophes for WooCommerce Admin JS strings in Homescreen & Core Profiler (#50776) 2024-08-20 17:13:17 +08:00
typings blueprint - add php package and cli commands (#49763) 2024-08-12 16:33:05 -07:00
utils fix: lys hub show only incompleted and recent tasks (#46190) 2024-04-05 09:54:30 +08:00
wp-admin-scripts Cherry pick 50970 into release/9.3 (#51092) 2024-09-03 11:21:21 +01:00
index.js blueprint - add php package and cli commands (#49763) 2024-08-12 16:33:05 -07:00
jest.config.js Fix Jest Preset (#42707) 2023-12-12 09:58:13 -08:00
tsconfig.test.json Update admin tsconfig to isolated from other projects 2022-04-15 13:50:18 +08:00
xstate.js dev: disable xstate inspector in prod build (#46109) 2024-04-03 13:53:19 +08:00