woocommerce/plugins/woocommerce-admin/client/task-lists
github-actions[bot] de337d581c
Cherry pick 51541 into release/9.4 (#51615)
* Update Payments menu item display and linking behavior (#51541)

* Minor cleanup

* refact: Rename must_be_visible to is_incentive_visible for clarity

* refact: Rename register_payments_welcome_page to register_menu_and_page for clarity

* Don't show the incentive page if the user can't manage WC

* Introduce menu item when no incentive

* Don't recommend additional gateways when WCPay is present

* Render gateway suggestions on the WCPay task page, also

* Add changelog entry

* Remove short array syntax

* Lint fixes

* Simplify Payments task view logic

* Simplify WooPayments task view logic

* Improve WooPayments task complete logic

* WooPayments can't be connected or onboarded if it is not active

* refact: Rename private static method

* Improve logic to determine the Payments task slug by factoring in the extended task list also

* docs: Add details about our use of the Payments task logic

* Add type hint

* Do not recommend offline methods when WooPayments is supported

* On suggestion enablement redirect to the same task page

* Lint fixes

* test: Fix unit tests

* Maintain deprecated navigation logic

* Prep for cherry pick 51541

---------

Co-authored-by: Vlad Olaru <vlad.olaru@automattic.com>
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-09-23 22:02:37 +07:00
..
components Fix navigation badge decreases when installing extension in "Grow your business task" (#50584) 2024-08-13 11:50:12 +08:00
fills Cherry pick 51541 into release/9.4 (#51615) 2024-09-23 22:02:37 +07:00
hooks Cleanup task list and re-organize file structure (#38271) 2023-05-17 09:54:31 +08:00
progress-title fix: replaced apostrophes for WooCommerce Admin JS strings in Homescreen & Core Profiler (#50776) 2024-08-20 17:13:17 +08:00
reminder-bar fix: replaced apostrophes for WooCommerce Admin JS strings in Homescreen & Core Profiler (#50776) 2024-08-20 17:13:17 +08:00
setup-task-list Attach WooPayments incentive ID to wcadmin_tasklist_click Tracks event props (#51105) 2024-09-09 18:06:43 +03:00
test Remove unused `woocommerce_task_list_prompt_shown` option (#48304) 2024-06-10 07:46:42 +00:00
index.ts Cleanup task list and re-organize file structure (#38271) 2023-05-17 09:54:31 +08:00
task-lists.scss Fixed typos in CSS classes (#50243) 2024-08-02 05:15:13 +00:00
task-lists.tsx Remove unused `woocommerce_task_list_prompt_shown` option (#48304) 2024-06-10 07:46:42 +00:00