Commit Graph

272 Commits

Author SHA1 Message Date
Kelly Dwan 6a50ebde8b Adds continuous integration testing with travis (https://github.com/woocommerce/woocommerce-blocks/pull/156)
* Add travis to run JS & CSS linting, JS tests, and PHPUnit tests

* Move API initiation out of the gutenberg/files check

So that php tests run without having to build the JS files

* Add very basic product endpoint tests

* Fix stylelint issues in CSS

* Remove e2e setup, replace with dependency setup

* Add missing install step

* Remove cache for now

* Add specific `har-validator` dependency because v 5.1.2 has disappeared

* Only run npm install for the JS test job

* Check for installed plugins

* Update install location

* Fix typo in plugin name

* Check the BRANCH variable, rather than TRAVIS_PULL_REQUEST_BRANCH, which is only set on PR runs

* Remove debug command

* A change to trigger CI

* Set the expected node & npm versions

* Remove copy-pasted command, does not apply
2018-11-27 12:12:48 -05:00
Kelly Dwan aec2d567e2 Check that the translation function exists before using it (https://github.com/woocommerce/woocommerce-blocks/pull/150) 2018-11-21 16:10:16 -05:00
Kelly Dwan a4205a956e Update “tested up to” versions for WC and WP (https://github.com/woocommerce/woocommerce-blocks/pull/141) 2018-11-21 10:56:05 -05:00
Kelly Dwan 2231c829d1 Add a basic product category block (https://github.com/woocommerce/woocommerce-blocks/pull/136)
* Add a second block, for “products by category”

* Fetch products in the given category, when attributes change

* Display the resulting products

* Style the product preview

* Create utils folder, move shared attributes

* Move getQuery to shared utils folder

* Create a helper function to get the shortcode string

* Support the menu_order setting

* Support center/wide/full alignment

* Update PropTypes

* Add tests

* Add text domain to translation functions
2018-11-19 11:33:17 -05:00
Kelly Dwan 140f4e5ed6 Update build process (https://github.com/woocommerce/woocommerce-blocks/pull/122)
* Add api-fetch dependency

* Remove compiled files from the repo

* Update build process, remove grunt

* Import CSS into block, as we now extract CSS via webpack to build

* Update enqueue scripts to reflect new build locations

* Detect if build files don’t exist, and instruct users to build project

* Update readme with build instructions

* Clarify where to run npm commands in info notice

* Only enqueue our JS files if we know they exist

* Clarify version compatibility between WC and WP 5.0
2018-11-13 14:12:32 -05:00
Kelly Dwan 27ad957eb3 Add all dependencies used in the product block to the script registration (https://github.com/woocommerce/woocommerce-blocks/pull/121)
Fixed woocommerce/woocommerce-blocks#120
2018-11-13 10:48:13 -05:00
claudiulodro 905ced2193 Update version for release 2018-09-07 08:51:45 -07:00
claudiulodro 66aa3b52a9 Merge remote-tracking branch 'origin/master' into HEAD 2018-08-22 11:00:00 -07:00
claudiulodro f411c4453f Update info for release 2018-08-22 10:59:02 -07:00
claudiulodro ce6938548e Don't initialize scripts if wc is not active 2018-08-22 10:28:39 -07:00
claudiulodro 03ade781d3 Update WC requires version 2018-06-06 09:08:17 -07:00
claudiulodro 6e09ffb392 Update info for 1.1 release 2018-06-06 08:59:45 -07:00
claudiulodro 59cba2a952 Include custom API endpoint for required orderby features 2018-06-01 10:22:58 -07:00
claudiulodro 0572330b3e Only enqueue gberg scripts/styles on backend editor 2018-06-01 09:35:46 -07:00
claudiulodro 31d489a4ba Readme 2018-04-20 10:17:55 -07:00
claudiulodro 188eaba8bb Compartmentalize plugin 2018-04-19 09:53:21 -07:00
claudiulodro d5dbda0d9f Use theme default number of rows 2018-04-03 10:26:56 -07:00
claudiulodro 52c6b37abf Format prices in preview 2018-03-09 11:45:53 -08:00
claudiulodro 397937edd0 Use theme column settings and dont enable top edit buttons if no display selected 2018-03-09 11:04:01 -08:00
claudiulodro caf0a09a79 Fade out products when selected 2018-02-22 10:48:34 -08:00
claudiulodro 149a546290 Update menu functionality to match latest designs 2018-02-15 09:42:24 -08:00
claudiulodro 6533d2f166 Set up and move things over for a feature plugin 2018-02-13 11:03:53 -08:00