woocommerce/plugins/woocommerce-admin
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
..
bin Fix typos (Produts) (#50334) 2024-08-05 05:54:52 +00:00
changelog add/explat experiment name validation (#44535) 2024-02-15 12:35:23 +08:00
client Cherry pick 50970 into release/9.3 (#51092) 2024-09-03 11:21:21 +01:00
docs Reduce duplicated code in Analytics classes (#49425) 2024-08-21 19:23:51 +02:00
.browserslistrc
.distignore Create E2E package (https://github.com/woocommerce/woocommerce-admin/pull/7084) 2021-07-13 16:38:05 -03:00
.eslintignore Ignore core js packages from woo admin's eslint 2022-03-29 16:07:09 +08:00
.eslintrc.js CI: update linting jobs to skip build step (#49193) 2024-07-08 08:39:39 +02:00
.gitattributes Switch to pnpm (https://github.com/woocommerce/woocommerce-admin/pull/8349) 2022-03-04 12:01:16 +08:00
.gitignore Enable Typescript checking on ./client folder (https://github.com/woocommerce/woocommerce-admin/pull/8372) 2022-03-01 12:19:07 +08:00
.npmrc Switch to pnpm (https://github.com/woocommerce/woocommerce-admin/pull/8349) 2022-03-04 12:01:16 +08:00
.prettierrc.js Update @wordpress/eslint-plugin dependency to latest version. (https://github.com/woocommerce/woocommerce-admin/pull/5856) 2021-01-26 13:24:28 +13:00
.stylelintignore CSS Linting: Exclude Storybook CSS (https://github.com/woocommerce/woocommerce-admin/pull/6785) 2021-04-13 10:03:44 +12:00
README.md Fix link to e2e tests documentation from WooCommerce Admin directory (#41631) 2023-11-27 09:53:22 +01:00
babel.config.js Remove redundant deps on e2e in wc-admin (#39746) 2023-08-16 12:15:03 +12:00
composer.json Fix Component Project Changelog Checking (#42794) 2023-12-13 15:41:11 -08:00
composer.lock Fix Component Project Changelog Checking (#42794) 2023-12-13 15:41:11 -08:00
package.json fix: replaced apostrophes for WooCommerce Admin JS strings in Homescreen & Core Profiler (#50776) 2024-08-20 17:13:17 +08:00
stylelint.config.js Stylelint: Update config to double quotes (#45607) 2024-03-26 10:41:34 -03:00
tsconfig.json Move product-editor CES-related components and utilities (#37131) 2023-03-28 13:38:08 -04:00
unminify.js Improve webpack cache-busting version parameter by using file contents hash (#44838) 2024-02-27 08:07:53 +00:00
webpack.config.js [Navigation] Prepare to remove feature (#50190) 2024-08-09 14:18:39 +12:00

README.md

WooCommerce Admin

This is a javascript-driven, React-based admin interface for WooCommerce.

Development

Please refer to the WooCommerce Admin Development.

End-to-end tests

Please refer to the WooCommerce End to End Tests.

Common Issues

If you're encountering any issue setting things up, chances are we have been there too. Please have a look at our wiki for a list of common problems.