1fddbb1001
* add a woo.com connect notice in the plugin list for unconnected store * add an extra notice string for store that runs outdated woo plugins * add connect page hyoerlink to the plugin notice * add changelog * add comment for maybe_show_connect_notice_in_plugin_list() * fix linter error * use installed local woo plugin as the counter of extra notices * only show woo connect notice in the woocommerce settings page * add woocom connect notice component * add woocom connect notice component to the content component * add extra notice in the woocom connect notice component based on the local woo plugins count * persist dismissal of woo connect notice in the wc admin settings page * update changelog * use update-check-public for unconnected stores * use information from update-check-public API to determine notice show logic * re-show dismissed connect woocom notice after 1 month * add re-show notice logic for react admin page of woo connect notice * fix identation * differentiate local storage key for notice dismissal * move woo connect notice script to different file * rename to connectnotice * fix linter issue * fix linter issue * update woo.com to woocommerce.com * update woo.com to woocommerce.com in comment * capitalize the WooCommerce.com Co-authored-by: Leif Singer <leif@automattic.com> * capitalize WooCommerce.com --------- Co-authored-by: Leif Singer <leif@automattic.com> |
||
---|---|---|
.. | ||
add-term-tracking | ||
attributes-tracking | ||
beta-features-tracking-modal | ||
category-tracking | ||
command-palette | ||
command-palette-analytics | ||
marketing-coupons | ||
navigation-opt-out | ||
onboarding-homepage-notice | ||
onboarding-load-sample-products-notice | ||
onboarding-product-import-notice | ||
onboarding-product-notice | ||
onboarding-tax-notice | ||
order-tracking | ||
payment-method-promotions | ||
print-shipping-label-banner | ||
product-category-metabox | ||
product-import-tracking | ||
product-tour | ||
product-tracking | ||
settings-tracking | ||
shipping-settings-region-picker | ||
tags-tracking | ||
variable-product-tour | ||
wc-addons-tour | ||
woo-connect-notice | ||
README.md |
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 necessary 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' ) );