woocommerce/plugins/woocommerce-admin
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
..
bin Clean up 'Profile Wizard' code (#51190) 2024-09-10 11:29:14 +08:00
changelog Fix typos. (#50047) 2024-08-23 18:26:09 +01:00
client Cherry pick 51541 into release/9.4 (#51615) 2024-09-23 22:02:37 +07:00
docs Deprecate unsupported Inbox note banner layout (#51275) 2024-09-13 01:11:11 +00:00
.browserslistrc
.distignore Create E2E package (https://github.com/woocommerce/woocommerce-admin/pull/7084) 2021-07-13 16:38:05 -03:00
.eslintignore Ignore core js packages from woo admin's eslint 2022-03-29 16:07:09 +08:00
.eslintrc.js CI: update linting jobs to skip build step (#49193) 2024-07-08 08:39:39 +02:00
.gitattributes Switch to pnpm (https://github.com/woocommerce/woocommerce-admin/pull/8349) 2022-03-04 12:01:16 +08:00
.gitignore Enable Typescript checking on ./client folder (https://github.com/woocommerce/woocommerce-admin/pull/8372) 2022-03-01 12:19:07 +08:00
.npmrc Switch to pnpm (https://github.com/woocommerce/woocommerce-admin/pull/8349) 2022-03-04 12:01:16 +08:00
.prettierrc.js Update @wordpress/eslint-plugin dependency to latest version. (https://github.com/woocommerce/woocommerce-admin/pull/5856) 2021-01-26 13:24:28 +13:00
.stylelintignore CSS Linting: Exclude Storybook CSS (https://github.com/woocommerce/woocommerce-admin/pull/6785) 2021-04-13 10:03:44 +12:00
README.md Fix link to e2e tests documentation from WooCommerce Admin directory (#41631) 2023-11-27 09:53:22 +01:00
babel.config.js Remove redundant deps on e2e in wc-admin (#39746) 2023-08-16 12:15:03 +12:00
composer.json Fix Component Project Changelog Checking (#42794) 2023-12-13 15:41:11 -08:00
composer.lock Fix Component Project Changelog Checking (#42794) 2023-12-13 15:41:11 -08:00
package.json Use syncpack to lock pnpm version till we can fix issues (#50828) 2024-08-22 12:34:42 +12:00
stylelint.config.js Stylelint: Update config to double quotes (#45607) 2024-03-26 10:41:34 -03:00
tsconfig.json Move product-editor CES-related components and utilities (#37131) 2023-03-28 13:38:08 -04:00
unminify.js Improve webpack cache-busting version parameter by using file contents hash (#44838) 2024-02-27 08:07:53 +00:00
webpack.config.js Upgrade storybook to version 7 and add pages workflow for GH publishing (#51168) 2024-09-09 12:06:01 -03:00

README.md

WooCommerce Admin

This is a javascript-driven, React-based admin interface for WooCommerce.

Development

Please refer to the WooCommerce Admin Development.

End-to-end tests

Please refer to the WooCommerce End to End Tests.

Common Issues

If you're encountering any issue setting things up, chances are we have been there too. Please have a look at our wiki for a list of common problems.