woocommerce/plugins/woocommerce-admin
Joshua T Flowers 489712a752 Fix margin around onboarding inputs (https://github.com/woocommerce/woocommerce-admin/pull/2611)
* Fix margin on inputs inside onboarding cards

* Update default margin around muriel componets to match wc-admin grid
2019-07-09 10:56:15 +08:00
..
.github Changelog: Use author's note, if supplied 2019-06-18 22:11:58 +12:00
bin Changelog: Use author's note, if supplied 2019-06-18 22:11:58 +12:00
client Fix margin around onboarding inputs (https://github.com/woocommerce/woocommerce-admin/pull/2611) 2019-07-09 10:56:15 +08:00
config Feature flags: Enable customizable dash on plugin 2019-05-15 12:05:10 +12:00
docs Merge pull request woocommerce/woocommerce-admin#2526 from woocommerce/add/311-report-csv-exporter-endpoint 2019-07-03 08:43:18 -06:00
images Onboarding - Add business extension recommendations (https://github.com/woocommerce/woocommerce-admin/pull/2551) 2019-07-04 11:56:28 -04:00
includes Merge pull request woocommerce/woocommerce-admin#2484 from woocommerce/fix/2400 2019-07-08 13:49:17 -03:00
languages Update text domain. (https://github.com/woocommerce/woocommerce-admin/pull/1795) 2019-03-13 11:14:02 -06:00
packages Tracks: Fix Link onclick 2019-07-09 07:51:20 +12:00
tests Merge pull request woocommerce/woocommerce-admin#2484 from woocommerce/fix/2400 2019-07-08 13:49:17 -03:00
.browserslistrc
.distignore Add Feature Flags (https://github.com/woocommerce/woocommerce-admin/pull/1500) 2019-02-12 15:02:02 -05:00
.editorconfig
.eslintignore
.eslintrc Set eslint react version to 'detect' (https://github.com/woocommerce/woocommerce-admin/pull/1300) 2019-01-17 10:25:08 +01:00
.gitignore WC_Admin_Loader/PHP Refactor + Method to publish core ready features (https://github.com/woocommerce/woocommerce-admin/pull/1863) 2019-04-11 14:31:31 -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
.stylelintrc.json
.travis.yml Specify trusty dist for Travis builds. 2019-06-12 11:52:51 -06:00
CONTRIBUTING.md update to consistent license 2019-05-16 13:14:03 -03:00
Gruntfile.js Update text domain. (https://github.com/woocommerce/woocommerce-admin/pull/1795) 2019-03-13 11:14:02 -06:00
LICENSE.md update to consistent license 2019-05-16 13:14:03 -03:00
README.md Update the minimum WooCommerce requirement on README (https://github.com/woocommerce/woocommerce-admin/pull/2256) 2019-05-20 09:45:13 -04:00
babel.config.js Update text domain. (https://github.com/woocommerce/woocommerce-admin/pull/1795) 2019-03-13 11:14:02 -06:00
composer.json Update dependency woocommerce/woocommerce-sniffs to v0.0.6 (https://github.com/woocommerce/woocommerce-admin/pull/2108) 2019-04-24 15:41:54 -04:00
composer.lock Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/2490) 2019-07-02 12:10:42 -07:00
lerna.json
license.txt include license.txt and update component package.json files 2019-05-18 01:19:20 -03:00
package-lock.json Lock file maintenance 2019-07-09 00:58:04 +00:00
package.json Merge pull request woocommerce/woocommerce-admin#2567 from woocommerce/renovate/webpack-4.x 2019-07-09 12:51:42 +12:00
phpcs.xml.dist Refactor main file into singleton class 2019-05-14 15:34:16 +01:00
phpunit.xml.dist
postcss.config.js Add Muriel/Newspack components for use in onboarding (https://github.com/woocommerce/woocommerce-admin/pull/2313) 2019-05-28 10:05:55 -04:00
readme.txt Release: remove Onboarding updates from changelog 2019-06-26 11:36:05 +12:00
renovate.json
uninstall.php Cancel all wc-admin actions on deactivate 2019-06-12 13:11:13 -06:00
webpack.config.js Update to new Snackbar component and notice store (https://github.com/woocommerce/woocommerce-admin/pull/2596) 2019-07-08 12:10:34 +08:00
woocommerce-admin.php Add class to process report exports using action scheduler. 2019-06-28 11:09:38 -06: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

WordPress 5.0 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 with npm install. 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)

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).
  • npm test : Run the JS test suite

To debug synced lookup information in the database, you can bypass the action scheduler and immediately sync order and customer information by using the woocommerce_disable_order_scheduling hook.

add_filter( 'woocommerce_disable_order_scheduling', '__return_true' );

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, feature suggestions and fixing bugs. For full details, please see CONTRIBUTING.md