woocommerce/plugins/woocommerce-admin
Jeff Stieler 1ac8577fc2 Match server-side CSV export format to client-side (https://github.com/woocommerce/woocommerce-admin/pull/2987)
* Add "exportable" report interface for defining CSV export values.

* Define export values for Orders Report.

* Define export values for Products Report.

* Define export values for Categories Report.

* Define export values for Coupons Report.

* Allow commas and double quotes in CSV exported values.

* Fix in-browser export formatting of orders report products.

* Align server-side orders report export formatting with in-browser.

* Cover comma and double quote escaping in CSV export package tests.

* Define export values for Customers Report.

* Embed response links when requesting data for CSV exports.

* Define export values for Downloads Report.

* Move reusable report export functions to a trait.

* Define export values for Stock Report.

* Define export values for Taxes Report.

* Define export values for Variations Report.

* Define export values for Revenue Report.

* Always pass export row data through the filter.

* Fix formatting in test case for CSV coupon export.

* Quote escape CSV headers in client-side export.

Escape values with spaces as well.

* Check if inventory is managed at the product level before using the stock status/quantity.

* Prevent CSV injection in csv-export package.
2019-10-24 09:41:16 -07:00
..
.github Changelog: Use author's note, if supplied 2019-06-18 22:11:58 +12:00
bin Use getenv in place of $_ENV (https://github.com/woocommerce/woocommerce-admin/pull/3077) 2019-10-23 07:56:22 +08:00
client Match server-side CSV export format to client-side (https://github.com/woocommerce/woocommerce-admin/pull/2987) 2019-10-24 09:41:16 -07:00
config Feature flags: Enable customizable dash on plugin 2019-05-15 12:05:10 +12:00
docs Onboarding: Add task list extensibility and example plugin (https://github.com/woocommerce/woocommerce-admin/pull/3060) 2019-10-21 11:11:21 +08:00
images Onboarding - Add business extension recommendations (https://github.com/woocommerce/woocommerce-admin/pull/2551) 2019-07-04 11:56:28 -04:00
includes Update order stats table status index length. (https://github.com/woocommerce/woocommerce-admin/pull/3022) 2019-10-10 13:54:44 -07:00
languages Add instructions for translating to contributing docs. 2019-07-09 10:12:34 -06:00
packages Match server-side CSV export format to client-side (https://github.com/woocommerce/woocommerce-admin/pull/2987) 2019-10-24 09:41:16 -07:00
src Match server-side CSV export format to client-side (https://github.com/woocommerce/woocommerce-admin/pull/2987) 2019-10-24 09:41:16 -07:00
tests Match server-side CSV export format to client-side (https://github.com/woocommerce/woocommerce-admin/pull/2987) 2019-10-24 09:41:16 -07: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 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 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 Makes stylelint config match prettier settings (https://github.com/woocommerce/woocommerce-admin/pull/733) 2018-11-01 17:03:00 -04:00
.travis.yml Copy component READMEs to docs folder before GH page deploy. (https://github.com/woocommerce/woocommerce-admin/pull/2952) 2019-09-25 09:37:05 -07:00
CONTRIBUTING.md update README.md and CONTRIBUTING.md (https://github.com/woocommerce/woocommerce-admin/pull/2963) 2019-09-26 07:35:54 -04: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 README.md and CONTRIBUTING.md (https://github.com/woocommerce/woocommerce-admin/pull/2963) 2019-09-26 07:35:54 -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 order stats table status index length. (https://github.com/woocommerce/woocommerce-admin/pull/3022) 2019-10-10 13:54:44 -07:00
composer.lock Update dependency woocommerce/woocommerce-sniffs to v0.0.7 (https://github.com/woocommerce/woocommerce-admin/pull/2928) 2019-09-27 14:40:45 -04:00
lerna.json Try: Add Lerna to split out utility packages (https://github.com/woocommerce/woocommerce-admin/pull/678) 2018-10-30 14:57:48 -04: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 webpack to v4.41.2 (https://github.com/woocommerce/woocommerce-admin/pull/3091) 2019-10-24 12:15:28 +08:00
package.json Update dependency webpack to v4.41.2 (https://github.com/woocommerce/woocommerce-admin/pull/3091) 2019-10-24 12:15:28 +08:00
phpcs.xml.dist Catch notices earlier than priority 10 (https://github.com/woocommerce/woocommerce-admin/pull/2981) 2019-10-02 09:25:31 -04:00
phpunit.xml.dist Initial setup for unit tests. 2018-09-20 16:20:04 +02:00
postcss.config.js Update to Color Studio v2.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/2837) 2019-08-29 12:07:56 -04:00
readme.txt Release/0.20.1 (https://github.com/woocommerce/woocommerce-admin/pull/3033) 2019-10-15 14:21:19 +13:00
renovate.json Change renovate to a once-weekly schedule (https://github.com/woocommerce/woocommerce-admin/pull/1076) 2018-12-13 12:20:36 -05:00
uninstall.php Remove defunct filename prefix from remaining files. 2019-08-12 15:06:36 -07:00
webpack.config.js Add notices to return to task list on product and homepage tasks. (https://github.com/woocommerce/woocommerce-admin/pull/3061) 2019-10-21 14:13:25 -04:00
woocommerce-admin.php Release/0.20.1 (https://github.com/woocommerce/woocommerce-admin/pull/3033) 2019-10-15 14:21:19 +13: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.2 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