woocommerce/plugins/woocommerce-admin/client/wp-admin-scripts
louwie17 b42da82e50
Update/34885 category field in product editor (#36869)
* Add initial custom meta box for product categories

* Make use of TreeSelectControl

* Update classnames

* Display selected items and sync with most used tab

* Always show placeholder and remove checklist container

* Reactify category metabox tabs

* Add create new category logic

* Remove unused markup

* Fix saving of empty category list

* Add callback when input is cleared as well

* Some small cleanup and refactoring.

* Add changelog

* Fix tree creation and style enqueue

* Auto fix lint errors

* Fix linting errors

* Fix css lint errors

* Add 100 limit, and address some PR feedback

* Fix some styling and warnings

* Remove unused code

* Address PR feedback

* Fix lint error

* Fix lint errors

* Address PR feedback

* Fix lint error

* Minor fixes and add tracking

* Add debounce

* Fix lint error

* Allow custom min filter amount and fix menu not showing after escaping input

* Allow single item to be cleared out of select control

* Fix bug where typed values did not show up

* Fix some styling issues

* Allow parents to be individually selected

* Address PR feedback and add error message

* Add changelogs

* Fix saving issue

* Add client side sorting and stop clearing field upon selection

* Update changelog

* Create feature flag for async product categories dropdown

* Fix lint errors

* Fix linting
2023-04-19 04:28:18 -03:00
..
add-term-tracking Add additional global attributes and local attributes information when saving product attributes (#36858) 2023-02-20 23:55:01 +01:00
attributes-tracking Add additional global attributes and local attributes information when saving product attributes (#36858) 2023-02-20 23:55:01 +01:00
beta-features-tracking-modal Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client 2022-04-01 11:41:32 +08:00
category-tracking Add initial tracking for categories, tags, and attribute product pages (#33118) 2022-05-30 13:14:25 -03:00
marketing-coupons Add Coupon feature (https://github.com/woocommerce/woocommerce-admin/pull/4526) 2020-06-16 12:00:41 +09:30
navigation-opt-out Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client 2022-04-01 11:41:32 +08:00
onboarding-homepage-notice Add product form buttons and specific product edit page (#34211) 2022-08-11 11:04:14 -03:00
onboarding-load-sample-products-notice Set up i18n-text-domain rule and fix missing text domain (#33780) 2022-07-08 18:37:30 +08:00
onboarding-product-import-notice Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client 2022-04-01 11:41:32 +08:00
onboarding-product-notice Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client 2022-04-01 11:41:32 +08:00
onboarding-tax-notice Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client 2022-04-01 11:41:32 +08:00
order-tracking Add components to @woocommerce/customer-effort-score (#37112) 2023-03-14 12:16:19 -04:00
payment-method-promotions Update the @woocommerce/eslint-plugin and fix bugs (#36988) 2023-03-02 11:36:38 +13:00
print-shipping-label-banner Style fix for the print shipping banner close modal (#33587) 2022-06-30 14:05:00 -07:00
product-category-metabox Update/34885 category field in product editor (#36869) 2023-04-19 04:28:18 -03:00
product-import-tracking Add components to @woocommerce/customer-effort-score (#37112) 2023-03-14 12:16:19 -04:00
product-tour dev: move guided tours into consolidated folder (#34279) 2022-08-12 09:49:18 +08:00
product-tracking Add tracks events to attributes tab (#37622) 2023-04-17 12:50:30 -03:00
settings-tracking Add components to @woocommerce/customer-effort-score (#37112) 2023-03-14 12:16:19 -04:00
tags-tracking Add initial tracking for categories, tags, and attribute product pages (#33118) 2022-05-30 13:14:25 -03:00
variable-product-tour Show spotlight when switching to variable product type (#37413) 2023-03-28 13:49:40 -04:00
wc-addons-tour Feature: Add the In-App Marketplace Tour (#35278) 2022-11-15 11:12:17 +01:00
README.md Onboarding: Add return to task list after saving taxes (https://github.com/woocommerce/woocommerce-admin/pull/3170) 2019-11-07 08:17:46 +08:00

README.md

Scripts located in this directory are meant to be loaded on wp-admin pages outside the context of WooCommerce Admin, such as the post editor. Adding the script name to wpAdminScripts in the Webpack config will automatically build these scripts.

Scripts must be manually enqueued with any neccessary dependencies. For example, onboarding-homepage-notice uses the WooCommerce navigation package:

wp_enqueue_script( 'onboarding-homepage-notice', Loader::get_url( 'wp-scripts/onboarding-homepage-notice.js' ), array( 'wc-navigation' ) );