d4ade607d8
* Add agenda widget with accordion * Add AgendaItem, README, and do some cleanup * Handle PR Feedback: Rename AgendaAccordion to AgendaGroup, accept an href prop for a non-accordion state. Accept onClick or href for AgendaItem, a11y fixes, fix some typos, update examples & README. * Address PR Feedback: Rename AgendaGroup to AgenaHeader, use a direct link for href mode, use IconButton instead of Button & Dashicon, pull out link rendering to its own method. Use <Link /> for app links. * Combine box-shadow focus/hover rule and add transparent background * Make `count` optional |
||
---|---|---|
.. | ||
bin | ||
client | ||
languages | ||
lib | ||
tests | ||
.babelrc | ||
.distignore | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.travis.yml | ||
Gruntfile.js | ||
README.md | ||
package-lock.json | ||
package.json | ||
phpcs.xml.dist | ||
phpunit.xml.dist | ||
webpack.config.js | ||
woo-dash.php |
README.md
WooCommerce Dashboard
This is a feature plugin for a modern, javascript-driven dashboard for WooCommerce.
Prerequisites
Gutenberg and WooCommerce should be installed prior to activating the WooCommerce Dashboard feature plugin.
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 versionnpm start
: Build a development version, watch files for changes
There are also some helper scripts:
npm run lint
: Run eslint over the javascript filesnpm run i18n
: Create a PHP file with the strings from the javascript files, used to get around lack of JS support in WordPress.org.