Commit Graph

749 Commits

Author SHA1 Message Date
renovate[bot] c12fffea9b Update Node.js to v10.16.1 (https://github.com/woocommerce/woocommerce-blocks/pull/789) 2019-08-02 12:51:52 +01:00
renovate[bot] dcfb27efd8 Update dependency webpack to v4.39.0 (https://github.com/woocommerce/woocommerce-blocks/pull/794) 2019-08-02 12:51:05 +01:00
Mike Jolley d230a6a876 Update webpack config to fix ie11 2019-07-31 14:59:38 +01:00
renovate[bot] c3cee87dce Update dependency eslint-plugin-jest to v22.14.1 (https://github.com/woocommerce/woocommerce-blocks/pull/782) 2019-07-31 10:39:27 +01:00
Mike Jolley 166f9e3dfb Ensure register_block_type exists (https://github.com/woocommerce/woocommerce-blocks/pull/780) 2019-07-31 10:33:05 +01:00
Albert Juhé Lluveras 3b39d6cc61 Fix Jest missing webpack config (https://github.com/woocommerce/woocommerce-blocks/pull/781) 2019-07-31 10:25:16 +02:00
Albert Juhé Lluveras c1c4d235b1 Fix ComponentId camelCase 2019-07-30 16:26:35 +01:00
renovate[bot] 2875dee9ae Pin dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/776) 2019-07-29 14:12:18 +01:00
Mike Jolley 5789a74409 Reduce number of dependencies for the product categories list block (https://github.com/woocommerce/woocommerce-blocks/pull/771)
* unqiueID helper to replace compose

* move get categories function to own file

* fix svg styling

* remove lodash dependency

* Refactor block/edit to use less dependencies

* Babel config to skip wp.element

* update comments

* Update assets/js/blocks/product-categories/frontend.js

ie11 compatible for each on nodelist

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* move id generation to constructor

* simplify webpack config

* Remove components CSS dependency

* use HOC for component ID

* Correct case on ComponentId
2019-07-29 13:00:26 +01:00
Albert Juhé Lluveras 20f90ab1cb Refactor register_block_script (https://github.com/woocommerce/woocommerce-blocks/pull/775) 2019-07-29 12:47:25 +02:00
renovate[bot] 0d41e0e3e2 Update dependency eslint-plugin-jest to v22.14.0 (https://github.com/woocommerce/woocommerce-blocks/pull/772) 2019-07-29 11:28:48 +02:00
renovate[bot] d447557436 Update dependency eslint-plugin-jest to v22.13.7 (https://github.com/woocommerce/woocommerce-blocks/pull/767) 2019-07-26 10:30:12 +02:00
renovate[bot] 4e5835e4b8 Update dependency webpack to v4.38.0 (https://github.com/woocommerce/woocommerce-blocks/pull/768) 2019-07-26 10:30:05 +02:00
renovate[bot] 827a14db33 Update dependency lint-staged to v9.2.1 (https://github.com/woocommerce/woocommerce-blocks/pull/765) 2019-07-26 10:29:43 +02:00
Mike Jolley 802653f4ee readme 2019-07-25 15:50:25 +01:00
renovate[bot] 98ee76fd10 Update npm to v6.10.2 (https://github.com/woocommerce/woocommerce-blocks/pull/764) 2019-07-24 10:27:32 +01:00
renovate[bot] 46aafd21c2 Update dependency webpack to v4.37.0 (https://github.com/woocommerce/woocommerce-blocks/pull/763) 2019-07-23 11:56:03 +02:00
renovate[bot] 5837573d0c Update dependency eslint-plugin-react to v7.14.3 (https://github.com/woocommerce/woocommerce-blocks/pull/761) 2019-07-23 11:55:40 +02:00
renovate[bot] a07440f82a Update dependency eslint-plugin-jest to v22.13.6 (https://github.com/woocommerce/woocommerce-blocks/pull/760) 2019-07-23 11:55:32 +02:00
Mike Jolley eb4b8f426e Remove constants and unhook old blocks plugin (https://github.com/woocommerce/woocommerce-blocks/pull/757) 2019-07-22 16:20:51 +01:00
renovate[bot] d8b459b312 Update dependency eslint-plugin-jest to v22.13.2 (https://github.com/woocommerce/woocommerce-blocks/pull/759) 2019-07-22 16:20:33 +01:00
renovate[bot] ac6ac1dedb Update dependency eslint-plugin-jest to v22.13.1 (https://github.com/woocommerce/woocommerce-blocks/pull/758) 2019-07-22 15:47:23 +01:00
renovate[bot] 460eeed7ff Update dependency eslint to v6.1.0 (https://github.com/woocommerce/woocommerce-blocks/pull/755) 2019-07-22 15:09:41 +01:00
renovate[bot] c3e50b53ce Update dependency eslint-plugin-jest to v22.13.0 (https://github.com/woocommerce/woocommerce-blocks/pull/751) 2019-07-22 15:03:26 +01:00
Albert Juhé Lluveras 9d4a76c841 Use radio buttons instead of checkboxes in Featured Category control (https://github.com/woocommerce/woocommerce-blocks/pull/756) 2019-07-22 13:41:35 +02:00
Albert Juhé Lluveras 0c0fc8be3b Remove vendors.js as a frontend dependency (https://github.com/woocommerce/woocommerce-blocks/pull/750)
* Load frontend scripts only when required

* Typo

* Use register_script from Assets

* Remove vendors as a frontend dependency

* Simplify webpack config
2019-07-22 13:10:25 +02:00
Albert Juhé Lluveras ecc306b3cf Load frontend scripts only when required (https://github.com/woocommerce/woocommerce-blocks/pull/746)
* Load frontend scripts only when required

* Typo

* Use register_script from Assets
2019-07-22 13:10:15 +02:00
renovate[bot] dff73240bc Update dependency css-loader to v3.1.0 (https://github.com/woocommerce/woocommerce-blocks/pull/749) 2019-07-18 15:21:22 +02:00
renovate[bot] 7540de54e0 Update dependency @babel/core to v7.5.5 (https://github.com/woocommerce/woocommerce-blocks/pull/748) 2019-07-18 11:16:30 +02:00
renovate[bot] ad936a210b Update dependency eslint-plugin-jest to v22.10.0 (https://github.com/woocommerce/woocommerce-blocks/pull/747) 2019-07-18 11:15:46 +02:00
renovate[bot] d85626f9f8 Update dependency webpack to v4.36.1 (https://github.com/woocommerce/woocommerce-blocks/pull/745) 2019-07-18 11:15:35 +02:00
renovate[bot] 2659e9455f Update dependency eslint-plugin-jest to v22.9.0 (https://github.com/woocommerce/woocommerce-blocks/pull/741) 2019-07-17 11:55:58 +02:00
renovate[bot] e84853b6ef Update dependency mini-css-extract-plugin to v0.8.0 (https://github.com/woocommerce/woocommerce-blocks/pull/742) 2019-07-17 11:55:48 +02:00
Paul Sealock 611d0cbce8 add composer install to readme (https://github.com/woocommerce/woocommerce-blocks/pull/738) 2019-07-17 11:06:06 +12:00
renovate[bot] b085c44436 Update dependency yargs to v13.3.0 (https://github.com/woocommerce/woocommerce-blocks/pull/737) 2019-07-16 12:28:57 +02:00
renovate[bot] 29daec2f42 Update dependency eslint-plugin-jest to v22.8.0 (https://github.com/woocommerce/woocommerce-blocks/pull/735) 2019-07-16 12:26:59 +02:00
renovate[bot] 26982ca992 Update dependency webpack-cli to v3.3.6 (https://github.com/woocommerce/woocommerce-blocks/pull/734) 2019-07-15 16:27:46 +02:00
Albert Juhé Lluveras 1cbef7dd39 Cancel debounced functions on unmount (https://github.com/woocommerce/woocommerce-blocks/pull/725) 2019-07-12 12:20:42 +01:00
renovate[bot] 10873b8503 Update npm to v6.10.1 (https://github.com/woocommerce/woocommerce-blocks/pull/729) 2019-07-12 11:09:57 +01:00
Mike Jolley fb87974e6a Add visibility query to grid (https://github.com/woocommerce/woocommerce-blocks/pull/722) 2019-07-11 14:05:04 +01:00
Mike Jolley bbadbf674a Update build scripts to include vendor directory 2019-07-11 12:05:20 +01:00
Mike Jolley ac74504400 Experiment: Handling API fetch errors (https://github.com/woocommerce/woocommerce-blocks/pull/679)
* error handling

* Update assets/js/blocks/featured-product/block.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* Update assets/js/blocks/featured-product/block.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* Move to dedicated component

* escape messages and remove debug code

* merge conflict

* move renderApiError

* Revert "move renderApiError"

This reverts commit 2d5ffdecf2fae66434ac16b71d9b349fa1b61783.

* Revert "merge conflict"

This reverts commit bdc8eb4bd0f8dd5e4525c758fe3e79ffeefff3f5.

* Update assets/js/components/api-error-placeholder/index.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* Update error notice
2019-07-11 11:12:44 +01:00
Mike Jolley 76f93866b3 Master is now `2.4.0-dev` 2019-07-11 11:03:16 +01:00
renovate[bot] a23008f39c Update dependency lint-staged to v9.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/718) 2019-07-11 10:43:44 +01:00
Mike Jolley bac144a68c Typo 2019-07-10 12:57:14 +01:00
Mike Jolley 050a9bdcdd Rolling 2.3 release changelog (https://github.com/woocommerce/woocommerce-blocks/pull/672)
* changelog

* Updated changelog

* featured category block readme

* readme

* version bump
2019-07-10 11:38:03 +01:00
renovate[bot] 6586c5b61e Update dependency @babel/core to v7.5.4 (https://github.com/woocommerce/woocommerce-blocks/pull/711) 2019-07-10 09:49:09 +01:00
Mike Jolley c7b608a3d0 Introduce a new Products by Tag(s) block (https://github.com/woocommerce/woocommerce-blocks/pull/554)
* Introduced WGPB_Extend_Core class to modify shortcodes and API requests of core

* Require the new class

* WC_REST_Blocks_Products_Controller_V2 to override the wc-blocks API to support new tags properties

* Register new products by tag block type

* Modify utils to support tags and tag_operators

* Add ProductTagControl to handle tag searching

* Add the actual products by tag block

* Set limitTags to 100

* Create Package class and use in main plugin file

* Move and refactor library class - split asset methods into new Assets class.

* Add jetpack autoloader dependency

* fix tests

* Update from master

* AbstractBlock class for general block registration

* remove test autoloader so tests do not break

* Create AbstractProductGrid

* FeaturedProduct

* HandpickedProducts

* ProductBestSellers

* ProductCategory

* ProductNew

* ProductOnSale

* ProductTopRated

* ProductsByAttribute

* Remove old base and render functions

* Allow non-dynamic blocks and register category block

* Fix products-by-attribute due to wrong naming

* Remove no dev

* test phpunit dir

* Update testing framework

* Update with new abstract classes and build in API

* Undo edit to attribute block

* Move edit mode

* No need to support shortcodes

* correct linting errors

* Update tests/bootstrap.php

Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>

* Update code comment to make more sense.

* Correct test package

* docblock

* Fix cancel button class

* Fix classname schema

* Set loading state so spinner is shown

* Add placeholder element when no tags are selected

* No tags placeholder

* Update rest endpoints
2019-07-09 14:42:22 +01:00
Mike Jolley b528868ea1 Featured Category Block (https://github.com/woocommerce/woocommerce-blocks/pull/676)
* Block JS

* Add block to library and configure build

* Update API to return image and link

* Limit category selection to 1

* Frontend

* Fix variable

* Add icon

* Rename to isSingle

* Standardize naming

* fix wrapping issue
2019-07-09 12:38:44 +01:00
Albert Juhé Lluveras f97b5ce800 Add `package-plugin` script (https://github.com/woocommerce/woocommerce-blocks/pull/689)
* Add build-plugin-zip script

* Avoid removing files not being tracked by git

* rsync

* Exclude zip file from builds
2019-07-09 12:37:25 +01:00