woocommerce/plugins/woocommerce-admin/client/payments-welcome
Ismael Martín Alabarce 115cac05de
Add WC Payments welcome page experiment (#34251)
* Show WCPay welcome page to all eligible merchants.

Remove the experiment and also check for marketplace suggestions.

* Update banner design and copy

Replace background `wcpay-banner.png` with `wcpay-offer.svg`, `flag.j` svg component with `gift.js`. Adjust styles and ensure it's responsive.

* Add more requirements.

Don't register it when there is an existing WCPay account or the site is on a WPCOM starter plan.

* Update promotion and FAQ copy

* Add the new experiment.

And remove the supported country check to use Explat instead.

* Add changelog entry

* Remove WPCOM starter plan check

* Remove Yoda comparisons

* Update `wcpay_exit_survey` event.

Record it also when the user chooses `Just remove` and use snake_case to avoid Track errors.

* Country and time conditions.

Only for US based businesses with a live store of at least 90 days.

* Update design and copy to match new requirements

* Update promo ID

* Fix country condition

* Load SVG as image instead of background

To prevent wrong asset generation due to Webpack configuration

* Fix WCPay installed condition

* Update promo ID

* Update promo ID in allowed notes

* Update FAQ copy

* Add `apply_filters` docblock

* Add missing `@since` to docblock comment
2022-08-17 17:11:51 +08:00
..
banner.tsx Add WC Payments welcome page experiment (#34251) 2022-08-17 17:11:51 +08:00
exit-survey-modal.tsx Add WC Payments welcome page experiment (#34251) 2022-08-17 17:11:51 +08:00
faq.tsx Add WC Payments welcome page experiment (#34251) 2022-08-17 17:11:51 +08:00
gift.js Add WC Payments welcome page experiment (#34251) 2022-08-17 17:11:51 +08:00
index.tsx Add WC Payments welcome page experiment (#34251) 2022-08-17 17:11:51 +08:00
strings.tsx Add WC Payments welcome page experiment (#34251) 2022-08-17 17:11:51 +08:00
style.scss Add WC Payments welcome page experiment (#34251) 2022-08-17 17:11:51 +08:00
wcpay-offer.svg Add WC Payments welcome page experiment (#34251) 2022-08-17 17:11:51 +08:00