woocommerce/plugins/woocommerce-admin/client
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
..
activity-panel fix: added pre-API call permissions check on APIs being called on non-admin accessible screens (#51406) 2024-09-18 12:53:52 +08:00
analytics Remove the usage of `<ReportSummary isRequesting>` as it has no effect (#50751) 2024-08-25 19:56:59 +02:00
blueprint Add visual changes to the blueprint slotfill (#50724) 2024-08-16 18:23:05 +00:00
core-profiler Dynamically set plugin_name when redirecting to Jetpack Auth from core profiler (#51278) 2024-09-13 08:34:17 +08:00
customize-store CYS: Fix Looker dashboard data (Track & display average loading times) (#51461) 2024-09-18 09:59:14 +02:00
dashboard fix: replaced apostrophes for WooCommerce Admin JS strings in Homescreen & Core Profiler (#50776) 2024-08-20 17:13:17 +08:00
embedded-body-layout Fix Layout Controller forwarding arrays from the URL query string. (#38593) 2023-06-05 04:55:20 -03:00
error-boundary fix: replaced apostrophes for WooCommerce Admin JS strings in Homescreen & Core Profiler (#50776) 2024-08-20 17:13:17 +08:00
guided-tours fix: replaced apostrophes for WooCommerce Admin JS strings in Homescreen & Core Profiler (#50776) 2024-08-20 17:13:17 +08:00
header Add site visibility badge to admin menu (#50775) 2024-08-20 08:36:20 +00:00
homescreen fix: replaced apostrophes for WooCommerce Admin JS strings in Homescreen & Core Profiler (#50776) 2024-08-20 17:13:17 +08:00
hooks Add variation switcher in footer for variation page (#40713) 2023-10-12 11:56:48 -03:00
inbox-panel Fix typos. (#50047) 2024-08-23 18:26:09 +01:00
launch-your-store dev: refactor xstate update query params made generic (#51167) 2024-09-09 10:49:40 +08:00
layout Clean up 'Profile Wizard' code (#51190) 2024-09-10 11:29:14 +08:00
lib Integrate JS remote logging package in WooCommerce Admin (#50134) 2024-08-02 10:25:39 +08:00
marketing Fix typos. (#50047) 2024-08-23 18:26:09 +01:00
marketplace Marketplace: hide the scrollbar from the category selector (#51527) 2024-09-19 12:26:06 +00:00
mobile-banner Stylelint: Update config to double quotes (#45607) 2024-03-26 10:41:34 -03:00
payments Show payments recommendation on settings payment main page (#50947) 2024-08-26 20:18:48 +08:00
payments-welcome Add new shared payment methods logos component (#49300) 2024-07-16 17:42:52 +03:00
products Address React 18 race condition issue and `setCategories` console error (#49642) 2024-07-22 09:22:35 -03:00
settings blueprint - add php package and cli commands (#49763) 2024-08-12 16:33:05 -07:00
settings-payments Add react-powered main payments settings screen (#50825) 2024-08-27 14:30:01 +08:00
settings-recommendations [Performance]: Replace `classnames` usage with `clsx` (#47760) 2024-05-31 05:49:36 +02:00
shipping Don't recommend WCS&T on shipping settings page if WCShip or WCTax is active (#48701) 2024-06-27 15:36:00 +02:00
store-management-links fix: fixed all instances of no-use-before-define lint rule violations 2023-11-16 19:21:30 +08:00
stylesheets Fix sticky admin bar CSS positioning bug in WordPress.com mobile (#50709) 2024-08-16 14:12:54 -07:00
task-lists Update Payments menu item display and linking behavior (#51541) 2024-09-20 15:53:10 +03:00
typings Add react-powered main payments settings screen (#50825) 2024-08-27 14:30:01 +08:00
utils dev: refactor xstate update query params made generic (#51167) 2024-09-09 10:49:40 +08:00
wp-admin-scripts Add subscribe notices for products without subscription (#51060) 2024-09-13 10:33:54 +05:30
index.js blueprint - add php package and cli commands (#49763) 2024-08-12 16:33:05 -07:00
jest.config.js Fix Jest Preset (#42707) 2023-12-12 09:58:13 -08:00
tsconfig.test.json Update admin tsconfig to isolated from other projects 2022-04-15 13:50:18 +08:00
xstate.js dev: disable xstate inspector in prod build (#46109) 2024-04-03 13:53:19 +08:00