woocommerce/plugins/woocommerce-admin
Jeff Stieler eea63f602f Refactor task list status to onboarding data store. (https://github.com/woocommerce/woocommerce-admin/pull/4998)
* Add onboarding task status API endpoint.

* Add task status to onboarding data store.

* Update appearance task to use onboarding store for status info.

* Update main task list component to use onboarding data store for status info.

* Clear onboarding status info "cache" when setting shipping rates in the task list.

* Clear onboarding status info "cache" when enabling payment methods from the task list.

* Fix onboarding data store reducer tests.

* Clean up redundant code, nest task status settings under new key for hydration.

* Include tasks status in onboarding data hydration.

* Update tax task to use onboarding data store for status info.

* Avoid continually rehydrating onboarding data.

* Refactor payment task method retrieval to use onboarding data store.

* Fix bug with disappearing appearance tax steps.

* Update appearance completion faster by using hydrated onboarding value.

* Avoid PHP warnings when onboarding isn't enabled.

* Remove unused imports.
2020-08-24 09:20:57 -04:00
..
.github Changelog: Use author's note, if supplied 2019-06-18 22:11:58 +12:00
bin Adds `@woocommerce/tracks` package (https://github.com/woocommerce/woocommerce-admin/pull/5017) 2020-08-20 14:29:52 +09:30
client Refactor task list status to onboarding data store. (https://github.com/woocommerce/woocommerce-admin/pull/4998) 2020-08-24 09:20:57 -04:00
config Enable the coupons feature in core (https://github.com/woocommerce/woocommerce-admin/pull/4786) 2020-07-16 18:15:11 +09:30
docs Use filtered headers array in onColumnsChange callback. (https://github.com/woocommerce/woocommerce-admin/pull/4964) 2020-08-14 12:14:04 -04:00
images Add missing prompts to installed extensions (https://github.com/woocommerce/woocommerce-admin/pull/4060) 2020-04-09 08:43:34 +09:30
includes Fix usage of "package" tag in file headers (https://github.com/woocommerce/woocommerce-admin/pull/4940) 2020-08-11 16:18:47 -03:00
languages Master -> main. (https://github.com/woocommerce/woocommerce-admin/pull/4618) 2020-06-17 13:39:41 -04:00
packages Refactor task list status to onboarding data store. (https://github.com/woocommerce/woocommerce-admin/pull/4998) 2020-08-24 09:20:57 -04:00
src Refactor task list status to onboarding data store. (https://github.com/woocommerce/woocommerce-admin/pull/4998) 2020-08-24 09:20:57 -04:00
storybook Adds `@woocommerce/tracks` package (https://github.com/woocommerce/woocommerce-admin/pull/5017) 2020-08-20 14:29:52 +09:30
tests Migrate export data store to wp.data (https://github.com/woocommerce/woocommerce-admin/pull/4958) 2020-08-18 09:04:58 -04:00
.browserslistrc Add CSS autoprefixer (https://github.com/woocommerce/woocommerce-admin/pull/244) 2018-07-30 10:05:22 -04:00
.distignore Add Feature Flags (https://github.com/woocommerce/woocommerce-admin/pull/1500) 2019-02-12 15:02:02 -05:00
.editorconfig Align WooCommerce javascript code standards/linting/styles with WordPress core. (https://github.com/woocommerce/woocommerce-admin/pull/3674) 2020-02-14 15:23:21 +13:00
.eslintignore Align WooCommerce javascript code standards/linting/styles with WordPress core. (https://github.com/woocommerce/woocommerce-admin/pull/3674) 2020-02-14 15:23:21 +13:00
.eslintrc.js Replace useFilters with wp's withFilters (https://github.com/woocommerce/woocommerce-admin/pull/4962) 2020-08-21 11:14:55 +12:00
.gitattributes Create GH tag release process (https://github.com/woocommerce/woocommerce-admin/pull/3190) 2019-11-18 11:39:27 +13:00
.gitignore Ignore *.swp files (https://github.com/woocommerce/woocommerce-admin/pull/4004) 2020-03-26 11:19:55 -04:00
.nvmrc Add nvmrc for newest lts release (https://github.com/woocommerce/woocommerce-admin/pull/1108) 2018-12-18 16:06:27 -06:00
.prettierrc.json Add @woocommerce/eslint-plugin (https://github.com/woocommerce/woocommerce-admin/pull/4714) 2020-07-28 14:32:58 +12:00
.stylelintrc.json Align WooCommerce javascript code standards/linting/styles with WordPress core. (https://github.com/woocommerce/woocommerce-admin/pull/3674) 2020-02-14 15:23:21 +13:00
.travis.yml Master -> main. (https://github.com/woocommerce/woocommerce-admin/pull/4618) 2020-06-17 13:39:41 -04:00
CONTRIBUTING.md Fix failing order stats tests (https://github.com/woocommerce/woocommerce-admin/pull/4719) 2020-06-30 11:02:28 -04:00
Gruntfile.js Align WooCommerce javascript code standards/linting/styles with WordPress core. (https://github.com/woocommerce/woocommerce-admin/pull/3674) 2020-02-14 15:23:21 +13:00
LICENSE.md update to consistent license 2019-05-16 13:14:03 -03:00
README.md Prod ready. (https://github.com/woocommerce/woocommerce-admin/pull/3556) 2020-01-14 15:57:21 -08:00
babel.config.js Update dependency core-js to v3 (https://github.com/woocommerce/woocommerce-admin/pull/4174) 2020-08-24 09:35:46 +12:00
composer.json Update Jetpack Autoloader to match Woo Core. (https://github.com/woocommerce/woocommerce-admin/pull/4993) 2020-08-17 15:06:00 -07:00
composer.lock Update Jetpack Autoloader to match Woo Core. (https://github.com/woocommerce/woocommerce-admin/pull/4993) 2020-08-17 15:06:00 -07:00
lerna.json Align WooCommerce javascript code standards/linting/styles with WordPress core. (https://github.com/woocommerce/woocommerce-admin/pull/3674) 2020-02-14 15:23:21 +13:00
license.txt include license.txt and update component package.json files 2019-05-18 01:19:20 -03:00
package-lock.json Update dependency d3-selection to v1.4.2 (https://github.com/woocommerce/woocommerce-admin/pull/4928) 2020-08-24 12:31:09 +12:00
package.json Update dependency core-js to v3 (https://github.com/woocommerce/woocommerce-admin/pull/4174) 2020-08-24 09:35:46 +12:00
phpcs.xml.dist Fix usage of "package" tag in file headers (https://github.com/woocommerce/woocommerce-admin/pull/4940) 2020-08-11 16:18:47 -03:00
phpunit.xml.dist Update PHPUnit to version 7 (https://github.com/woocommerce/woocommerce-admin/pull/3571) 2020-01-16 10:03:44 -04:00
readme.txt Remove composite product from 1.4 release notes (https://github.com/woocommerce/woocommerce-admin/pull/4995) 2020-08-17 17:31:12 -07:00
renovate.json Adjust renovate to automerge devDependencies. (https://github.com/woocommerce/woocommerce-admin/pull/4979) 2020-08-14 13:11:09 +12:00
tsconfig.json Remove usage of __experimentalResolveSelect (https://github.com/woocommerce/woocommerce-admin/pull/4949) 2020-08-20 16:02:01 +12:00
uninstall.php Fix usage of "package" tag in file headers (https://github.com/woocommerce/woocommerce-admin/pull/4940) 2020-08-11 16:18:47 -03:00
unminify.js Use Route based code splitting to optimize bundle size (https://github.com/woocommerce/woocommerce-admin/pull/4094) 2020-04-29 12:01:27 -06:00
webpack.config.js Adds `@woocommerce/tracks` package (https://github.com/woocommerce/woocommerce-admin/pull/5017) 2020-08-20 14:29:52 +09:30
woocommerce-admin.php Match the requires version to the exact Wordpress version number. (https://github.com/woocommerce/woocommerce-admin/pull/4956) 2020-08-13 11:20:14 -07:00

README.md

WooCommerce Admin

This is a feature plugin for a modern, javascript-driven WooCommerce Admin experience.

Prerequisites

WordPress 5.3 or greater and WooCommerce 3.6.0 or greater should be installed prior to activating the WooCommerce Admin feature plugin.

For better debugging, it's also recommended you add define( 'SCRIPT_DEBUG', true ); to your wp-config. This will load the unminified version of all libraries, and specifically the development build of React.

Development

After cloning the repo, install dependencies:

  • npm install to install JavaScript dependencies.
  • composer install to gather PHP dependencies.

Now you can build the files using one of these commands:

  • npm run build : Build a production version
  • npm run dev : Build a development version
  • npm start : Build a development version, watch files for changes
  • npm run build:release : Build a WordPress plugin ZIP file (woocommerce-admin.zip will be created in the repository root)

For more helper scripts see here

For some debugging tools/help see here

Privacy

If you have enabled WooCommerce usage tracking ( option woocommerce_allow_tracking ) then, in addition to the tracking described in https://woocommerce.com/usage-tracking/, this plugin also sends information about the actions that site administrators perform to Automattic - see https://automattic.com/privacy/#information-we-collect-automatically for more information.

Contributing

There are many ways to contribute reporting bugs, adding translations, feature suggestions and fixing bugs. For full details, please see CONTRIBUTING.md