woocommerce/plugins/woocommerce-admin/client/task-lists
Vlad Olaru 1ff28fd174
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
2024-09-20 15:53:10 +03:00
..
components Fix navigation badge decreases when installing extension in "Grow your business task" (#50584) 2024-08-13 11:50:12 +08:00
fills Update Payments menu item display and linking behavior (#51541) 2024-09-20 15:53:10 +03: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 Fix typo (task-list-completed.tsx) (#51484) 2024-09-19 03:14:36 +00: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