renovate[bot]
05b1777b83
Update Node.js to v10.16.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/874 )
2019-08-16 16:29:08 +01:00
Albert Juhé Lluveras
fb842d2596
Update Reviews styles so it looks the same in the editor and the frontend ( https://github.com/woocommerce/woocommerce-blocks/pull/871 )
2019-08-16 16:12:06 +01:00
renovate[bot]
5027fa2c6f
Update dependency @woocommerce/components to v3.2.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/875 )
2019-08-16 08:50:48 +02:00
renovate[bot]
5dded757ba
Update dependency webpack to v4.39.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/855 )
2019-08-15 16:07:22 +01:00
renovate[bot]
de9f8b14ea
Pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/872 )
2019-08-15 17:05:26 +02:00
Albert Juhé Lluveras
ad38f9d327
Create Reviews by Product block ( https://github.com/woocommerce/woocommerce-blocks/pull/658 )
...
* Create Reviews by Product block
* Honor Content settings
* Fix wrong className
* Load new wc-packages file
* Add reviews-by-product JS files to webpack config
* Cleanup
* Remove error messages
* Add Reviews by Product icon
* Update sort options
* Allow additional CSS classes attribute
* Refactor block styles
* Fix wrong default for reviews_orderby
* Don't enforce CSS chunks
* Add reviews count to Reviews by Product controls (https://github.com/woocommerce/woocommerce-blocks/pull/671 )
* Add label to Reviews by Product controls count (https://github.com/woocommerce/woocommerce-blocks/pull/677 )
* Add reviews count to Reviews by Product controls
* Add label to Reviews by Product controls count
* Add label to Reviews by Product controls count
* Update components package
* Review ordering and placeholders (https://github.com/woocommerce/woocommerce-blocks/pull/688 )
* Add support for comment_count ordering and add to productcontrol
* Add a placeholder if rating count is 0
* Update assets/js/components/utils/index.js
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* Update assets/js/blocks/reviews-by-product/block.js
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* grammar
* Fix some linting errors and warnings (https://github.com/woocommerce/woocommerce-blocks/pull/693 )
* Create Reviews by Product block placeholder (https://github.com/woocommerce/woocommerce-blocks/pull/691 )
* Create Reviews by Product block placeholder
* Reviews by Product: load and render reviews with JS (https://github.com/woocommerce/woocommerce-blocks/pull/696 )
* Reviews by Product: load and render reviews with JS
* Add dangerouslySetInnerHTML explanatory comment
* Fix wrong dependency source
* Debounce getReviews call when creating the Reviews by Product block
* Rename 'Reviewer Picture' with 'Avatar' (https://github.com/woocommerce/woocommerce-blocks/pull/702 )
* Lint errors
* Replace stringify query with addQueryArgs (https://github.com/woocommerce/woocommerce-blocks/pull/707 )
* Add reviews endpoint (https://github.com/woocommerce/woocommerce-blocks/pull/705 )
* Prevent state updates on unmounted components (https://github.com/woocommerce/woocommerce-blocks/pull/715 )
* Add Order by and Load more controls in Reviews by Product frontend (https://github.com/woocommerce/woocommerce-blocks/pull/716 )
* Export IconReviewsByProduct (https://github.com/woocommerce/woocommerce-blocks/pull/721 )
* Fix Reviews by Product layout in IE11 (https://github.com/woocommerce/woocommerce-blocks/pull/723 )
* Set minimum to per page input field (https://github.com/woocommerce/woocommerce-blocks/pull/731 )
* Hide avatars in Reviews by Products if 'show_avatars' settings is false (https://github.com/woocommerce/woocommerce-blocks/pull/730 )
* Blocks API - Reviews endpoint with rating sort and category filtering (https://github.com/woocommerce/woocommerce-blocks/pull/726 )
* Move file to correct location
* We are only using the reviews endpoint not revioews/id
* Remove sensistive data and make endpoint public
* Allow guest access to approved reviews
* Add support for rating sorting
* category filtering
* update arg name
* fix category query
* Reviews by Product: add placeholders when loading reviews (https://github.com/woocommerce/woocommerce-blocks/pull/732 )
* Add placeholder animation (https://github.com/woocommerce/woocommerce-blocks/pull/733 )
* Hook up Reviews by Product 'Order by' with endpoint (https://github.com/woocommerce/woocommerce-blocks/pull/736 )
* Hook up Reviews by Product 'Order by' with endpoint
* Use onChange instead of onBlur in select control
* Reviews by Product: Hide ratings if they are disabled in settings (https://github.com/woocommerce/woocommerce-blocks/pull/740 )
* Hide ratings in Reviews by Product if disabled in settings
* Hide order by select if ratings are disabled
* Reviews by Product cleanup (https://github.com/woocommerce/woocommerce-blocks/pull/773 )
* Fix wrong method name
* Reduce the number of dependencies used in Reviews by Product (https://github.com/woocommerce/woocommerce-blocks/pull/774 )
* Reduce the number of dependencies used in Reviews by Product
* Use 'withComponentId' HOC
* Remove debounce
* Fix wrong proptype
* Get rid of JS warning
* Load render from react-dom
* Add formatted_date_created item schema (https://github.com/woocommerce/woocommerce-blocks/pull/788 )
* Fix import of WithComponentID
* Add new settings to Reviews by Product block (https://github.com/woocommerce/woocommerce-blocks/pull/787 )
* Add new settings to Reviews by Product block
* Remove helpText and add notices
* Use RangeControl for numeric settings
* Prevent fetching new reviews if all were already fetched
* Enable product image in reviews
* Remove unnecessary catch
* Refactor getReviews
* Move getReviews back to block's code
* Cleanup
* Fix wrong order in editor
* Hide 'Load More Reviews' if showLoadMore is false
* Move getReviews to utils.js
* Add @woocommerce/navigation to package.json
* Make notices non-dismissable
* Reviews by Product: prevent importing all HOCs and import only withComponentId (https://github.com/woocommerce/woocommerce-blocks/pull/811 )
* Reviews by product: Update review styling and content (https://github.com/woocommerce/woocommerce-blocks/pull/806 )
* Add new settings to Reviews by Product block
* Remove helpText and add notices
* Use RangeControl for numeric settings
* Prevent fetching new reviews if all were already fetched
* Enable product image in reviews
* Remove unnecessary catch
* Refactor getReviews
* Move getReviews back to block's code
* Cleanup
* Fix wrong order in editor
* Hide 'Load More Reviews' if showLoadMore is false
* Move getReviews to utils.js
* Add @woocommerce/navigation to package.json
* Make notices non-dismissable
* Review design/layout
* verified icons
* Read more component
* remove comment
* expanded -> isExpanded
* Localise and change default elipses
* Simplify ReadMore
* Support children rather than passing content
* remove outside
* remove list style
* Update assets/js/components/read-more/index.js
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* Update assets/js/components/read-more/index.js
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* merge set state
* Add missing parameter doc in renderReview (https://github.com/woocommerce/woocommerce-blocks/pull/820 )
* Fix Reviews by Product order by select not honoring default setting (https://github.com/woocommerce/woocommerce-blocks/pull/818 )
* Read more component - change how clamped content is shown (https://github.com/woocommerce/woocommerce-blocks/pull/821 )
* Pass review as components
* Build summary from content and track both
* Toggle display after inital load
* remove unused variable
* remove componentDidUpdate
* Simplify clampLines
* Put back componentDidUpdate, but store final summary in state
* clampEnabled
* Call clampLines from componentDidMount (https://github.com/woocommerce/woocommerce-blocks/pull/826 )
* truncate html tests
* implement trimHTML and pass test
* Feedback
* test short content
* Use withProduct HOC in ReviewsByProductEditor (https://github.com/woocommerce/woocommerce-blocks/pull/828 )
* Use withProduct HOC
* Convert ReviewsByProductEditor to a functional component
* Add loading and error states
* Prevent loading screen appearing when changing products
* Reviews: only save wrapper element to post (https://github.com/woocommerce/woocommerce-blocks/pull/830 )
* Fix bundlesize config not picking frontend files (https://github.com/woocommerce/woocommerce-blocks/pull/840 )
* Reviews by Product: split 'block.js' into smaller chunks (https://github.com/woocommerce/woocommerce-blocks/pull/841 )
* Split 'block.js' into smaller chunks
* Move frontend blocks to their specific folder
* Order imports
* Typo
* Add frontend components proptypes
* Fix indentation
* Call 'this.getDefaultArgs' directly inside 'getReviews'
* Move access to wc_product_block_data to the top of the file
* Rename 'frontend' folder to 'base'
* Rename base components and move styles to their folder
* Fix Reviews by Product using rating count instead of review count (https://github.com/woocommerce/woocommerce-blocks/pull/860 )
* Improve Reviews by Product accessibility (https://github.com/woocommerce/woocommerce-blocks/pull/861 )
* Improve Reviews by Product accessibility
* Make 'onClick' prop not required in <LoadMoreButton>
* Wrap Reviews by Product editor block with <Disabled>
* Reviews: fix reviews without rating not appearing when sorting by rating (https://github.com/woocommerce/woocommerce-blocks/pull/863 )
2019-08-15 16:55:57 +02:00
Mike Jolley
d9c2b4d4c6
Align stars left ( https://github.com/woocommerce/woocommerce-blocks/pull/866 )
2019-08-15 13:20:06 +01:00
Mike Jolley
aa65f19a46
Remove screen-reader-text css rules ( https://github.com/woocommerce/woocommerce-blocks/pull/849 )
2019-08-15 13:19:09 +01:00
Albert Juhé Lluveras
a7221fd5ce
Add README note for PHP deprecation notices
2019-08-15 13:03:41 +02:00
Mike Jolley
1ed14cdc01
Introduce withCategory HOC for featured category block ( https://github.com/woocommerce/woocommerce-blocks/pull/846 )
...
* Introduce withCategory hoc
* Refactor featured category to use new hoc
* Update docblocks
2019-08-15 10:36:24 +01:00
Albert Juhé Lluveras
6ad05724c8
Add description to blocks added in last releases ( https://github.com/woocommerce/woocommerce-blocks/pull/869 )
2019-08-15 11:16:32 +02:00
David Stone
a4de62ba83
Use correct parameter order for implode. Solves deprecation notice in PHP 7.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/857 )
2019-08-15 11:16:04 +02:00
renovate[bot]
2078e81bc8
Update dependency rimraf to v2.7.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/867 )
2019-08-15 11:11:18 +02:00
Darren Ethier
64b476303a
remove unnecessary config ( https://github.com/woocommerce/woocommerce-blocks/pull/862 )
2019-08-14 07:23:09 -04:00
renovate[bot]
7b07bb015a
Update dependency rimraf to v2.7.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/858 )
2019-08-14 11:39:38 +02:00
renovate[bot]
a618bb7dd0
Pin dependency babel-plugin-transform-react-remove-prop-types to 0.4.24 ( https://github.com/woocommerce/woocommerce-blocks/pull/851 )
2019-08-13 15:44:07 +01:00
Mike Jolley
5f5797dc3d
Add global data helpers ( https://github.com/woocommerce/woocommerce-blocks/pull/848 )
...
* Extract global settings to assets/js/data
* add alias
* Fix alias
* Rename to settings
2019-08-13 15:43:48 +01:00
Darren Ethier
69890535c9
Add babel-plugin-transform-remove-prop-types Babel plugin ( https://github.com/woocommerce/woocommerce-blocks/pull/839 )
...
* install transform-react-remove-prop-types babel plugin
* use `@wordpress/babel-preset-default` not `@wordpress/default` (name change)
* add configuration for new plugin (removing prop-types on production builds)
2019-08-13 09:51:44 -04:00
renovate[bot]
e36d014584
Update dependency core-js to v3.2.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/838 )
2019-08-13 11:40:31 +01:00
renovate[bot]
0229b166a0
Update dependency composer/installers to v1.7.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/842 )
2019-08-13 11:40:01 +01:00
renovate[bot]
45f2d48f56
Update dependency eslint-plugin-jest to v22.15.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/844 )
2019-08-13 11:39:49 +01:00
Claudio Sanches
dddadb895f
Fix duplicated translatable string ( https://github.com/woocommerce/woocommerce-blocks/pull/843 )
...
* Fix duplicated translatable string
* Fixed more duplicated strings in descriptions
* Merge similar strings
2019-08-13 11:29:00 +01:00
Mike Jolley
84a464fc62
Allow hidden products in handpicked products block ( https://github.com/woocommerce/woocommerce-blocks/pull/803 )
...
* Allow hidden products in handpicked block
* Simplify set_visibility_query_args
2019-08-12 12:54:51 +01:00
HackMD
a4f82d6a90
Updated deploy instructions
2019-08-12 11:48:58 +00:00
Albert Juhé Lluveras
a36608d9dc
Make react-test-renderer name consistent ( https://github.com/woocommerce/woocommerce-blocks/pull/836 )
2019-08-12 13:41:18 +02:00
Mike Jolley
de97e18df7
Update readme and deploy script from release/2.3
2019-08-12 12:08:30 +01:00
Albert Juhé Lluveras
e7180dfc7b
Product Categories: prevent importing all HOCs and import only withComponentId ( https://github.com/woocommerce/woocommerce-blocks/pull/834 )
2019-08-12 10:44:51 +01:00
renovate[bot]
c3008d268f
Update dependency core-js to v3.2.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/824 )
2019-08-12 11:05:29 +02:00
renovate[bot]
2cfd59fa38
Pin dependency bundlesize to 0.18.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/831 )
2019-08-12 11:05:20 +02:00
renovate[bot]
da52d84518
Update dependency sass-loader to v7.2.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/827 )
2019-08-12 11:05:06 +02:00
Darren Ethier
222bde2bba
add configuration for css bundlesize ( https://github.com/woocommerce/woocommerce-blocks/pull/832 )
2019-08-09 14:43:15 -04:00
Darren Ethier
e5bf616dca
Add bundlesize package and tweak travis config ( https://github.com/woocommerce/woocommerce-blocks/pull/822 )
...
- adds bundlesize package and travis config to run it on pulls (reports size as a check on pulls)
- reconfigure travis configuration so that jobs are split by task for easier review/reporting
- Fix failing phpunit tests exposed as a result of the travis reconfiguration
- Fix legit fail exposed by failing phpunit test in products REST endpoint (permissions related)
- Don't abort plugin initialization when detecting no build asset file but still throw notice (necessary to ensure php tests run in travis because we don't build js/css assets unnecessarily for those tests)
2019-08-09 14:08:31 -04:00
Albert Juhé Lluveras
e5f73b05e8
Add eslint JSDoc checks ( https://github.com/woocommerce/woocommerce-blocks/pull/819 )
...
* Add eslint JSDoc checks
* Use @wordpress/eslint-plugin for ESLint config
* Rename 'augments' with 'extends'
* Remove '@wordpress/eslint-plugin' from package.json
2019-08-09 18:18:46 +02:00
Mike Jolley
9a23b81204
Reduce CSS specificity ( https://github.com/woocommerce/woocommerce-blocks/pull/796 )
...
* Reduce CSS specificity
* 2019 fixes
2019-08-09 15:07:05 +01:00
Albert Juhé Lluveras
708fb72288
Disable HTML editing on Featured Category ( https://github.com/woocommerce/woocommerce-blocks/pull/816 )
2019-08-08 17:09:41 +02:00
Albert Juhé Lluveras
6e91656677
Featured Product: hide background opacity control if there is no image ( https://github.com/woocommerce/woocommerce-blocks/pull/813 )
...
* Featured Product: hide background opacity control if there is no image
* Add explanation for FocalPointPicker check
2019-08-08 17:09:32 +02:00
Albert Juhé Lluveras
6f88bb85a2
Add tests to utils/products.js ( https://github.com/woocommerce/woocommerce-blocks/pull/817 )
...
* Add tests to utils/products.js
* Make getImageSrcFromProduct return an empty string instead of 0 when there are no images
2019-08-08 14:48:34 +01:00
renovate[bot]
981b5aea63
Update wordpress monorepo ( https://github.com/woocommerce/woocommerce-blocks/pull/802 )
2019-08-08 13:07:34 +01:00
renovate[bot]
c99043e897
Update dependency style-loader to v1 ( https://github.com/woocommerce/woocommerce-blocks/pull/805 )
2019-08-08 13:04:33 +01:00
renovate[bot]
65e28ed35d
Update dependency eslint-plugin-jest to v22.15.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/815 )
2019-08-08 13:00:33 +01:00
renovate[bot]
f82c3ecc29
Update dependency css-loader to v3.2.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/807 )
2019-08-08 13:00:03 +01:00
renovate[bot]
9ff3332b24
Update npm to v6.10.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/809 )
2019-08-08 12:59:29 +01:00
renovate[bot]
0d739215d5
Update Node.js to v10.16.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/810 )
2019-08-08 12:47:34 +01:00
Albert Juhé Lluveras
3097bb0901
Create a constants.js file with the NAMESPACE value ( https://github.com/woocommerce/woocommerce-blocks/pull/799 )
...
* Create a constants.js file with the NAMESPACE value
* Created 'ENDPOINTS' constant instead of 'NAMESPACE'
* Use NAMESPACE in constants.js
2019-08-07 16:47:01 +02:00
Darren Ethier
2d5b06f07a
Introduce withSearchedProducts higher order component and refactor ProductsControl Component ( https://github.com/woocommerce/woocommerce-blocks/pull/791 )
...
* add new withSearchedProducts hoc
includes tests
* convert to functional component and wrap with new hoc
* remove dependency between tests
* Fix typo with PropTypes bool
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* remove unnecessary specific import
* fix bug introduced on refactor for selected prop recalc
* fix tests that were testing the wrong expectation
- also improved mocks a bit so they are a bit more realistic for the purpose of the test coverage.
* remove unnecessary Fragment
* tweak propType definitions and remove defaults
- this keeps argument expectations in sync with wrapped component and reduces chance of unexpected behaviour if `SearchListControl` logic changes.
* remove lodash.find dependency.
2019-08-06 11:34:13 -04:00
Mike Jolley
918f822128
Disable HTML editing on dynamic blocks ( https://github.com/woocommerce/woocommerce-blocks/pull/801 )
...
* Disable HTML editing on dynamic blocks
* Tabindex case
2019-08-06 15:10:01 +01:00
Mike Jolley
6a6d280eb0
Add product search block ( https://github.com/woocommerce/woocommerce-blocks/pull/697 )
...
* basic scaffold
* Progress
* Fix saving
* Move data to form
* Update assets/js/blocks/product-search/editor.scss
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* Update assets/js/blocks/product-search/block.js
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* hex case
* Use a span element
* Move render method
* CSS
* Update buttons
* Fix navigation buttons
* remove webkit appearance styles for buttons
* Swap rich to plain text component
* Improved attribute handling
* Update assets/js/blocks/product-search/block.js
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
2019-08-05 11:25:57 +01:00
renovate[bot]
5efef42495
Update dependency webpack to v4.39.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/798 )
2019-08-05 10:40:45 +01:00
Albert Juhé Lluveras
8a187db5d9
Move withComponentId to hocs directory ( https://github.com/woocommerce/woocommerce-blocks/pull/797 )
2019-08-05 10:37:16 +01:00
Albert Juhé Lluveras
2504bffdfa
Create `withProduct` HOC ( https://github.com/woocommerce/woocommerce-blocks/pull/779 )
...
* Reset 'loaded' state in Featured Product and Category blocks
* Minor code improvements
* Remove state from ApiErrorPlaceholder
* Move getProduct to a HOC
* Undo changes in Featured Category
* Update proptypes
* Move error messages to <ApiErrorPlaceholder>
* Reorder props
* Move lifecycle methods to HOC
* Make <FeaturedProduct> component presentational
* Move withProduct to js/hocs
* Create NAMESPACE constant in utils
* Create getProduct util function
* Set 'error' and 'product' state to null instead of 'false' when they have no value
* Prevent getImageSrcFromProduct and getImageIdFromProduct returning an error when 'product' is not an object
* Add HOC tests
* Use 'toBe' and 'toBeNull' jest expect methods instead of 'toEqual' when possible
* Export HOCs from index
* Move mock implementation to beforeEach
2019-08-02 13:56:53 +02:00
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
Albert Juhé Lluveras
e54a33b501
Add pre-commit CSS and JS linting ( https://github.com/woocommerce/woocommerce-blocks/pull/699 )
2019-07-09 11:50:09 +01:00
Albert Juhé Lluveras
8af3fa0ed2
Fix Featured Product block using a Handpicked Products block CSS class ( https://github.com/woocommerce/woocommerce-blocks/pull/700 )
2019-07-09 11:02:18 +01:00
Mike Jolley
5362b468dc
Featured Product Block: Make it possible to feature a specific product variation ( https://github.com/woocommerce/woocommerce-blocks/pull/608 )
...
* Duplicate SearchListControl into ProductSearchListControl component
* Undo control copy; it's not needed
* Variation search + counts showing
* Dropdown styling (also fixed SVG icon markup in SCSS file)
* Style the variation count
* Handle variation display on frontend and backend
* Fixed selection callbacks hooray
* Extend v3 api to return name. Use v3 API for featured product block.
* Switch description based on type
* Fix isSelected check
* Define a11yProps
* Variations rest endpoint
* Remove isTertiary
* REST endpoints with variation handling
* Handle variation data frontend
* Handle variation data in editor
* renamed description schema
* tweak variation display
* Update assets/js/components/product-control/style.scss
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* Flip icon direction
* Use classnames
* fix isSingle warning
* standards
* Only try to load variations if product has them
2019-07-09 10:48:31 +01:00
Mike Jolley
3625225892
Create issue_label_bot.yaml
2019-07-09 10:36:17 +01:00
renovate[bot]
fb83bbfa89
Update dependency webpack to v4.35.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/698 )
2019-07-08 15:36:53 +01:00
renovate[bot]
2a8a009f21
Update dependency lint-staged to v9.1.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/695 )
2019-07-08 14:21:28 +01:00
renovate[bot]
0a1ea4f383
Update dependency autoprefixer to v9.6.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/694 )
2019-07-08 14:21:16 +01:00
renovate[bot]
53163608a2
Update dependency @woocommerce/components to v3.1.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/692 )
2019-07-05 12:48:12 +02:00
renovate[bot]
4a94c6d859
Update dependency @babel/core to v7.5.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/687 )
2019-07-04 16:31:13 +01:00
renovate[bot]
12e527238f
Update npm to v6.10.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/680 )
2019-07-04 16:28:38 +01:00
renovate[bot]
1a20d8cac9
Update dependency eslint-plugin-jest to v22.7.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/682 )
2019-07-04 16:06:52 +01:00
Mike Jolley
dc8d1f4c0a
Add placeholder when no categories exist to list ( https://github.com/woocommerce/woocommerce-blocks/pull/678 )
...
* Add placeholder when no cats exist
* remove pointless backgrounc color rule
* remove lodash isempty call
2019-07-04 16:05:59 +01:00
Mike Jolley
fb96c0abba
WordPress org release script ( https://github.com/woocommerce/woocommerce-blocks/pull/685 )
...
* Release scripts update
* pre-release check
* fix github releaser
* Create script to run releaser
* update strings
* Release script
* fixes for releaser
* Update dev docs
* indents
2019-07-04 16:01:06 +01:00
Albert Juhé Lluveras
2e32632e73
Fix lint-staged config ( https://github.com/woocommerce/woocommerce-blocks/pull/684 )
2019-07-04 15:12:04 +01:00
Mike Jolley
4ec6a1052e
Update changelog
2019-07-04 11:41:21 +01:00
renovate[bot]
57e66dccc0
Update dependency @woocommerce/components to v3 ( https://github.com/woocommerce/woocommerce-blocks/pull/681 )
2019-07-04 09:14:48 +01:00
Mike Jolley
882e8ad322
Introduce `ToggleButtonControl` for Product Category List display type ( https://github.com/woocommerce/woocommerce-blocks/pull/675 )
...
* Toggle control component
* README
* Use toggle component for list settings
2019-07-03 15:39:10 +01:00
renovate[bot]
bfd83c959e
Update dependency lint-staged to v9.0.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/674 )
2019-07-03 10:35:25 +01:00
Mike Jolley
ba614a258f
deploy script ( https://github.com/woocommerce/woocommerce-blocks/pull/667 )
2019-07-03 10:35:09 +01:00
renovate[bot]
601291f644
Update dependency lint-staged to v9 ( https://github.com/woocommerce/woocommerce-blocks/pull/670 )
2019-07-02 15:30:45 +01:00
Mike Jolley
2c39168a94
small script to check local environment for commands
2019-07-02 15:25:59 +01:00
Mike Jolley
c0aef01b25
Re-introduce set_ordering_query_args ( https://github.com/woocommerce/woocommerce-blocks/pull/668 )
2019-07-02 10:37:50 +01:00
Mike Jolley
55f9951d2e
Abstract block refactor ( https://github.com/woocommerce/woocommerce-blocks/pull/656 )
...
* 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 package name
* Classname changes from master
* get_schema_string/classname from master
* Update tests/bootstrap.php
Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>
* Update src/BlockTypes/AbstractProductGrid.php
Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>
2019-07-01 15:26:06 +01:00
Mike Jolley
3678beab97
Move main controllers from assets/php to src ( https://github.com/woocommerce/woocommerce-blocks/pull/655 )
...
* 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
* Update testing framework
* Update package name
* Classname changes from master
* Indent
2019-07-01 13:52:44 +01:00
Albert Juhé Lluveras
a398ab6b09
Allow additional CSS classes to Featured Product block
2019-07-01 12:37:50 +01:00
Albert Juhé Lluveras
0ad3d661d0
Changes from woocommerce/woocommerce-blocks#661
2019-07-01 12:37:43 +01:00
Albert Juhé Lluveras
33e806ea9e
Display Product Categories List block additional CSS class in the editor
2019-07-01 12:33:28 +01:00
Mike Jolley
f4de23ac92
Update pull_request_template.md
2019-07-01 12:01:45 +01:00
renovate[bot]
44685c9e3f
Update dependency webpack to v4.35.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/666 )
2019-07-01 11:04:05 +01:00
renovate[bot]
96bce2be9e
Update dependency eslint-plugin-jsx-a11y to v6.2.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/665 )
2019-07-01 10:07:30 +01:00
renovate[bot]
759dcf3440
Update npm to v6.9.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/657 )
2019-06-28 14:03:46 +01:00
Mike Jolley
5b9b91d4bc
Merge branch 'experiment/cancel-button'
2019-06-27 12:22:07 +01:00
Mike Jolley
3f5d9b335f
Merge branch 'master' of github.com:woocommerce/woocommerce-gutenberg-products-block
2019-06-27 12:16:15 +01:00
Mike Jolley
0c1ad3e995
Add button alignment option to product grid blocks ( https://github.com/woocommerce/woocommerce-blocks/pull/606 )
...
* Add alignButtons handling and styling to grid-base
* Add ToggleControl and alignButtons attribute to handpicked products
* Pass alignButtons to the blocks with sharedattributes
* Add alignButtons to shared-attributes.js
* Add alignButtons to products-by-attributes block
* Add alignButtons to attributes on the PHP side
* Add alignButtons control to grid-layout-control
* Remove alignButtons from deprecated definitions
* has-aligned-buttons
* Update comment
* package lock
2019-06-27 12:13:02 +01:00
Mike Jolley
95f9472387
Remove licence.text - this was the woo core licence which does not apply as this repo uses the standard GPLv3 licence
2019-06-27 12:06:24 +01:00
Mike Jolley
6a2867ae19
Update ignored files in gitattributes
2019-06-27 12:04:48 +01:00
Mike Jolley
51ece61df6
Update namespaces to include Automattic prefix ( https://github.com/woocommerce/woocommerce-blocks/pull/653 )
...
* Update namespaces with Automattic prefix.
* Use static methods for stateless class
2019-06-27 11:28:52 +01:00
Mike Jolley
8bc02c3b0c
Include blocks api in feature plugin ( https://github.com/woocommerce/woocommerce-blocks/pull/628 )
...
* Progress moving endpoints
* Handle rest api registration
* Add tag_operator to blocks API
From https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/555
* Unit tests
* update travis
* Composer before install
* Travis config
* switch dir running composer
* nodev mode
2019-06-27 11:03:21 +01:00
Kelly Dwan
6471602702
Bump version to 2.3.0-dev ( https://github.com/woocommerce/woocommerce-blocks/pull/652 )
2019-06-26 15:17:17 -04:00
Kelly Dwan
4c941191ba
Release version 2.2.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/651 )
...
* Version bump to RC
* Add json files to built package
* Center images in product columns
* Update changelog, bump version to final
2019-06-26 12:37:50 -04:00
Kelly Dwan
559bbc6858
Product Categories List: add a placeholder on save ( https://github.com/woocommerce/woocommerce-blocks/pull/650 )
...
* Product Categories List: add a placeholder on save
This is saved to the database so that we have a placeholder view while waiting for the categories component to render.
* Use `classList.remove` for better readability
Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>
2019-06-26 09:27:57 -04:00
Kelly Dwan
58cd36a35c
Product Categories List: Update dropdown view ( https://github.com/woocommerce/woocommerce-blocks/pull/647 )
...
* Add the hierarchy display to the dropdown
* Add navigation for when a category is selected in the dropdown
* Use forEach from lodash for ie11 compat
* Switch to a button-click navigation pattern for better keyboard support
* Try the hidden attribute on option
2019-06-25 10:16:04 -04:00
renovate[bot]
36b58ff1be
Update dependency eslint to v6.0.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/649 )
2019-06-25 10:48:22 +01:00
renovate[bot]
3775b59b5a
Update dependency eslint-plugin-react to v7.14.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/648 )
2019-06-25 10:47:37 +01:00
Kelly Dwan
ce981aeb8c
Roll back husky update to 2.4.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/646 )
...
2.5 requires node 12.1+, but we're on 10.x
2019-06-25 10:20:28 +01:00
renovate[bot]
c93168d1ac
Update dependency husky to v2.5.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/645 )
2019-06-24 09:06:46 -04:00
renovate[bot]
aa53d6256c
Update dependency eslint-plugin-react to v7.14.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/644 )
2019-06-24 09:04:32 -04:00
renovate[bot]
6226c2accc
Update dependency eslint to v6 ( https://github.com/woocommerce/woocommerce-blocks/pull/642 )
2019-06-24 09:04:12 -04:00
renovate[bot]
bed9f26307
Update dependency webpack-cli to v3.3.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/643 )
2019-06-24 09:00:18 -04:00
renovate[bot]
d8caa49aaf
Update dependency eslint-plugin-jest to v22.7.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/639 )
2019-06-24 08:55:25 -04:00