de337d581c
* 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> |
||
---|---|---|
.. | ||
bin | ||
changelog | ||
client | ||
docs | ||
.browserslistrc | ||
.distignore | ||
.eslintignore | ||
.eslintrc.js | ||
.gitattributes | ||
.gitignore | ||
.npmrc | ||
.prettierrc.js | ||
.stylelintignore | ||
README.md | ||
babel.config.js | ||
composer.json | ||
composer.lock | ||
package.json | ||
stylelint.config.js | ||
tsconfig.json | ||
unminify.js | ||
webpack.config.js |
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.