woocommerce/plugins/woocommerce-admin
Jonathan Belcher 03c8e42364 Fix errors in lib/common.php (https://github.com/woocommerce/woocommerce-admin/pull/641)
* Fix errors in lib/common.php

* Update package.json
2018-10-23 11:55:37 -04:00
..
.github Remove format comment 2018-10-16 11:56:31 -04:00
bin Updated pre-commit hook to execute PHP Lint and PHP_CodeSniffer 2018-09-27 13:57:04 -03:00
client Move Revenue table to its own component (https://github.com/woocommerce/woocommerce-admin/pull/623) 2018-10-23 10:07:23 +02:00
docs Create ViewMoreList component (https://github.com/woocommerce/woocommerce-admin/pull/503) 2018-10-12 23:29:25 +02:00
images Clean up SVG code 2018-09-27 15:41:12 -07:00
includes Add file doc block to fix linting issue (https://github.com/woocommerce/woocommerce-admin/pull/628) 2018-10-23 11:08:49 -04:00
languages Update woo-dash naming to new wc-admin name (https://github.com/woocommerce/woocommerce-admin/pull/183) 2018-07-10 08:48:06 -04:00
lib Fix errors in lib/common.php (https://github.com/woocommerce/woocommerce-admin/pull/641) 2018-10-23 11:55:37 -04:00
tests Uses PHPBCF to autofix warnings and errors (https://github.com/woocommerce/woocommerce-admin/pull/611) 2018-10-22 12:20:14 -04:00
.babelrc init for legends PR 2018-07-25 17:04:03 +02:00
.browserslistrc Add CSS autoprefixer (https://github.com/woocommerce/woocommerce-admin/pull/244) 2018-07-30 10:05:22 -04:00
.distignore Initial commit of plugin scaffold 2018-04-17 17:04:17 -04:00
.editorconfig Initial commit of plugin scaffold 2018-04-17 17:04:17 -04:00
.eslintignore Docs Project: Add documentation parser + inline documentation (https://github.com/woocommerce/woocommerce-admin/pull/336) 2018-08-31 13:27:21 -04:00
.eslintrc Search: Add inline tags 2018-10-12 11:34:08 +13:00
.gitignore Merge branch 'master' into feature/438 2018-09-27 12:39:57 -03:00
.travis.yml Updated the before_script instructions to correctly install node and print out version. 2018-09-24 18:50:00 +02:00
Gruntfile.js Removed addtextdomain for grunt 2018-09-28 12:23:19 -03:00
README.md Add privacy notice regarding wp.com 2018-10-17 13:49:06 -07:00
composer.json Pin dependency composer/installers to ~1.6 (https://github.com/woocommerce/woocommerce-admin/pull/636) 2018-10-23 11:12:17 -04:00
composer.lock Pin dependency composer/installers to ~1.6 (https://github.com/woocommerce/woocommerce-admin/pull/636) 2018-10-23 11:12:17 -04:00
package-lock.json Update dependency webpack to v4.22.0 (https://github.com/woocommerce/woocommerce-admin/pull/617) 2018-10-23 11:10:49 -04:00
package.json Update dependency webpack to v4.22.0 (https://github.com/woocommerce/woocommerce-admin/pull/617) 2018-10-23 11:10:49 -04:00
phpcs.xml.dist Updates PHPCS rule names (https://github.com/woocommerce/woocommerce-admin/pull/610) 2018-10-22 12:20:34 -04:00
phpunit.xml.dist Initial setup for unit tests. 2018-09-20 16:20:04 +02:00
postcss.config.js IE11: fix CSS grid in Summary (https://github.com/woocommerce/woocommerce-admin/pull/353) 2018-09-06 17:11:34 +02:00
renovate.json Add renovate.json (https://github.com/woocommerce/woocommerce-admin/pull/552) 2018-10-18 12:26:57 -04:00
wc-admin.php Rename wc_admin_daily function to do_wc_admin_daily to distinguish it from the hook 2018-10-22 09:09:28 -07:00
webpack.config.js Reafctors code to vanila js and removes jQuery 2018-10-10 10:24:57 -04:00

README.md

WooCommerce Admin

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


⚠️ This project is in active development, and is not ready for general use. You can follow the features in development by looking at the project's issues. We do not recommend running this on production sites.


Prerequisites

Gutenberg and WooCommerce 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 with npm install. Now you can build the files using one of these commands:

  • npm run build : Build a production version
  • npm start : Build a development version, watch files for changes

There are also some helper scripts:

  • npm run lint : Run eslint over the javascript files
  • npm run i18n : A multi-step process, used to create a pot file from both the JS and PHP gettext calls. First it runs i18n:js, which creates a temporary .pot file from the JS files. Next it runs i18n:php, which converts that .pot file to a PHP file. Lastly, it runs i18n:pot, which creates the final .pot file from all the PHP files in the plugin (including the generated one with the JS strings).

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.