renovate[bot]
828e413493
chore(deps): update wordpress monorepo ( https://github.com/woocommerce/woocommerce-blocks/pull/501 )
2019-03-20 15:04:08 -04:00
renovate[bot]
52e1999384
chore(deps): update dependency @babel/core to v7.4.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/500 )
2019-03-20 11:00:56 -04:00
renovate[bot]
dbc394ce71
chore(deps): update dependency eslint to v5.15.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/498 )
2019-03-20 11:00:31 -04:00
renovate[bot]
c66b5445d9
chore(deps): update dependency webpack-cli to v3.3.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/496 )
2019-03-18 11:25:27 -04:00
renovate[bot]
e46b2a6f73
chore(deps): update dependency eslint-plugin-jest to v22.4.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/497 )
2019-03-18 11:23:59 -04:00
renovate[bot]
2d9d467728
chore(deps): update dependency eslint to v5.15.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/495 )
2019-03-18 11:23:13 -04:00
Kelly Dwan
0c85ec1bc7
Add pre-publishing script and bump version to 2.0.0-rc1 ( https://github.com/woocommerce/woocommerce-blocks/pull/494 )
...
* Add a `prepack` script to run before publish
This will re-install dependencies, run linting on PHP, CSS, and JS, run the JS tests, and lastly build the production bundle.
* phpcs is now part of `npm run lint` so we don’t need to run it twice
* Version bump to RC1
2019-03-15 12:55:34 -04:00
Kelly Dwan
d2f1aa6c44
Update grid blocks preview to match width of products on the frontend ( https://github.com/woocommerce/woocommerce-blocks/pull/489 )
...
* Update grid blocks preview to match width of products on the front end
* Remove max-width from CSS, set it on the preview itself so we can use the dynamic theme width
* Override block thumbnail width for multiple column layouts
Previously larger thumbnails would cause multiple column layouts to break and wrap early. This enforces the column width for those cases
* Add the thumbnail size to images, to prevent larger images in multiple col layouts
* Update snapshot to new preview markup
2019-03-15 12:48:46 -04:00
renovate[bot]
4aa4ba25b5
chore(deps): update dependency eslint-plugin-jest to v22.4.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/493 )
2019-03-15 12:44:19 -04:00
renovate[bot]
e89cb009cd
chore(deps): update dependency clean-webpack-plugin to v2.0.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/492 )
2019-03-14 16:06:11 -04:00
renovate[bot]
ff1733a391
chore(deps): update dependency autoprefixer to v9.5.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/491 )
2019-03-14 16:04:58 -04:00
Kelly Dwan
8ea719b140
Grid blocks: Use a different theme option name for block column/row values ( https://github.com/woocommerce/woocommerce-blocks/pull/481 )
...
* Use a different theme option name for block column/row values
* Update the default columns value
2019-03-14 10:22:29 -04:00
Kelly Dwan
22f3582c43
Build: Add translation conversion script ( https://github.com/woocommerce/woocommerce-blocks/pull/486 )
...
* Add script to transform language .po files to the expected JSON format for each built JS file
* Merge in updated language packs
* Ignore languages file in bin
2019-03-13 09:59:12 -04:00
renovate[bot]
500b1a8f74
chore(deps): update dependency eslint-plugin-jest to v22.3.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/484 )
2019-03-12 11:14:05 -04:00
renovate[bot]
226369a287
chore(deps): update dependency eslint-plugin-jest to v22.3.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/483 )
2019-03-12 09:57:36 -04:00
renovate[bot]
96c89cd9f8
chore(deps): update dependency woocommerce/woocommerce-sniffs to v0.0.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/482 )
2019-03-12 09:57:19 -04:00
Kelly Dwan
7dc5187b4b
Check for the existence of productId before using it ( https://github.com/woocommerce/woocommerce-blocks/pull/480 )
2019-03-07 17:01:53 -05:00
renovate[bot]
0f473aaa07
chore(deps): update dependency css-loader to v2.1.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/479 )
2019-03-07 11:03:02 -05:00
Kelly Dwan
cba3d402b6
Bump the version, update the changelog ( https://github.com/woocommerce/woocommerce-blocks/pull/478 )
2019-03-06 18:27:37 -05:00
Kelly Dwan
1712f8dbcf
Remove blocks API endpoints ( https://github.com/woocommerce/woocommerce-blocks/pull/477 )
...
* Remove blocks API endpoints
* Remove API tests
2019-03-06 16:06:02 -05:00
renovate[bot]
c4b8b5ea44
chore(deps): update npm to v6.9.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/476 )
2019-03-06 14:18:39 -05:00
Kevin Killingsworth
245f472a4b
Category block: select categories when none selected ( https://github.com/woocommerce/woocommerce-blocks/pull/458 )
...
* Category block: open category panel when no categories
When no categories are selected, open the category panel on initial
render.
* Add check for editMode
Don't open categories if in edit mode because the block itself has a
category selection.
2019-03-06 13:51:21 -05:00
renovate[bot]
2ccdc07b85
chore(deps): update wordpress monorepo (major) ( https://github.com/woocommerce/woocommerce-blocks/pull/475 )
...
* chore(deps): update wordpress monorepo
* Remove unnecessary babel config
2019-03-06 13:50:44 -05:00
Kelly Dwan
9fa9257430
Blocks: Add rating to grid previews ( https://github.com/woocommerce/woocommerce-blocks/pull/472 )
...
* Add rating stars to the product preview
* Add rating to the visibility controls
2019-03-06 13:50:32 -05:00
renovate[bot]
432925a090
chore(deps): update wordpress monorepo ( https://github.com/woocommerce/woocommerce-blocks/pull/474 )
2019-03-06 12:59:42 -05:00
renovate[bot]
c66c9cd633
chore(deps): update dependency react-test-renderer to v16.8.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/473 )
2019-03-06 12:43:22 -05:00
renovate[bot]
056b42fd45
chore(deps): update node.js to v10.15.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/471 )
2019-03-05 13:13:00 -05:00
renovate[bot]
4a5eb512d3
chore(deps): update dependency eslint to v5.15.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/470 )
2019-03-05 12:56:11 -05:00
renovate[bot]
78d385f28c
chore(deps): update dependency autoprefixer to v9.4.10 ( https://github.com/woocommerce/woocommerce-blocks/pull/469 )
2019-03-05 12:54:31 -05:00
renovate[bot]
8f998a4859
chore(deps): update dependency clean-webpack-plugin to v2 ( https://github.com/woocommerce/woocommerce-blocks/pull/466 )
...
* chore(deps): update dependency clean-webpack-plugin to v2
* Update options for v2.0
2019-03-04 09:48:27 -08:00
renovate[bot]
039bb10b89
fix(deps): pin dependency gridicons to 3.1.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/467 )
2019-03-04 09:42:47 -08:00
Kelly Dwan
7f78a79698
Set up plugin to be published on npm ( https://github.com/woocommerce/woocommerce-blocks/pull/456 )
...
* Move block rendering class into assets
* Update package.json for npm
* Move script registration into publish-able file
* Fix phpcs issue
* Add note about source of file
* Add wcSettings back in
* Rename files to match class name
* Add languages & includes back, so we can use this for publishing zip files
* Update documentation, versions, and add hook for wc components settings
* Update wcSettings output to use fitler
* Update version to `alpha`
* Make block library class into a singleton
2019-03-04 09:30:06 -08:00
renovate[bot]
e84670b4c4
chore(deps): update dependency eslint to v5.15.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/464 )
2019-03-03 13:13:09 -08:00
renovate[bot]
16562fff20
chore(deps): update dependency lint-staged to v8.1.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/463 )
2019-03-03 13:11:49 -08:00
Timmy Crawford
db79f75376
Update/wc blocks/v1/products ( https://github.com/woocommerce/woocommerce-blocks/pull/459 )
...
* Update products endpoint to match core.
* Update usage of cat_operator and attr_operator
* Fix phpcs issue
* Update parameter in tests
2019-02-28 10:07:38 -08:00
renovate[bot]
1990554765
chore(deps): update node.js to v10.15.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/462 )
2019-02-28 09:25:25 -08:00
renovate[bot]
20090582b6
chore(deps): update dependency webpack to v4.29.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/461 )
2019-02-28 09:25:08 -08:00
renovate[bot]
184acdec75
chore(deps): pin dependency composer/installers to 1.6.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/460 )
2019-02-28 09:24:51 -08:00
Kevin Killingsworth
1288fe1c75
Remove legacy block ( https://github.com/woocommerce/woocommerce-blocks/pull/457 )
...
* Remove legacy block
This removes the legacy products block and sets the version to
v2.0.0-dev
* Remove legacy product block test
* Update plugin header version
2019-02-26 14:16:21 -06:00
Timmy Crawford
8e3d19ee6d
REST API: Update usage of attributes/<id>/terms to match core. ( https://github.com/woocommerce/woocommerce-blocks/pull/453 )
...
* REST API: Update usage of attributes/<id>/terms to match core.
* phpcs fixes, i think
2019-02-26 08:11:31 -08:00
renovate[bot]
fb482b0cf6
chore(deps): update dependency @babel/core to v7.3.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/452 )
2019-02-26 10:18:43 -05:00
Kevin Killingsworth
7ffc11d987
Fix html in preview of product titles ( https://github.com/woocommerce/woocommerce-blocks/pull/444 )
...
* Fix html in preview of product titles
Previously the html wasn't rendered in the preview for product titles.
This renders the html.
* Update test snapshot
* Also decode html for featured preview name.
* Un-escape HTML for featured post title render
2019-02-25 23:32:04 -06:00
Kevin Killingsworth
ffc19e26ec
Add transforms for shared attributes. ( https://github.com/woocommerce/woocommerce-blocks/pull/448 )
...
* Add transforms for shared attributes.
This adds transforms for the 5 blocks which share attributes:
- woocommerce/product-best-sellers
- woocommerce/product-category
- woocommerce/product-new
- woocommerce/product-on-sale
- woocommerce/product-top-rated
* Use createBlock directly and rowColumnBlockTypes
This adds rowColumnBlockTypes as an array of woocommerce/* block types
that use row and column layouts
* Move block types into utils, and use without
This uses lodash instead of without instead of difference
It also moves the block types from an index into the shared-attributes
in utils.
2019-02-25 23:31:25 -06:00
Timmy Crawford
57155e685f
REST API: Change namespeace to reflect what will exist in Woo core. ( https://github.com/woocommerce/woocommerce-blocks/pull/451 )
2019-02-25 12:23:29 -08:00
renovate[bot]
612df2efb8
chore(deps): update dependency autoprefixer to v9.4.9 ( https://github.com/woocommerce/woocommerce-blocks/pull/450 )
2019-02-25 10:16:00 -05:00
Kelly Dwan
930602bc8d
Remove shortcode tweaks ( https://github.com/woocommerce/woocommerce-blocks/pull/449 )
...
* Remove shortcode filter
WC core handles category & attribute IDs as of 3.5
* Bump min requirements to 3.5+
2019-02-22 13:16:46 -05:00
renovate[bot]
ae42ecbae3
chore(deps): update dependency react-test-renderer to v16.8.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/447 )
2019-02-21 14:02:16 -05:00
Kelly Dwan
5af66f5de5
Remove the edit-blocks dependency from front end styles ( https://github.com/woocommerce/woocommerce-blocks/pull/446 )
2019-02-21 14:01:04 -05:00
Kelly Dwan
17ff1aa886
Blocks: Add new content controls to grid blocks ( https://github.com/woocommerce/woocommerce-blocks/pull/440 )
...
* Component: GridContentControl for controlling visibility of product content
* Add the content control to all grid blocks
* Use CSS to hide the content on the front end
* Fix missing translation functions
2019-02-21 14:00:47 -05:00
Kelly Dwan
2a00a897d5
Components: Move SearchListControl to woocommerce/components ( https://github.com/woocommerce/woocommerce-blocks/pull/442 )
...
* Switch to using the SearchListControl from woocommerce/components
* Remove unused mixin
2019-02-21 13:07:08 -05:00
renovate[bot]
71d8235449
fix(deps): update dependency @woocommerce/components to v1.6.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/445 )
2019-02-21 12:53:07 -05:00
renovate[bot]
792ed91a5a
chore(deps): update dependency autoprefixer to v9.4.8 ( https://github.com/woocommerce/woocommerce-blocks/pull/443 )
2019-02-20 12:19:26 -05:00
renovate[bot]
af8a180ce8
chore(deps): pin dependency rimraf to 2.6.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/441 )
2019-02-19 16:18:25 -05:00
Kelly Dwan
b14a37f7b5
Update CSS build process ( https://github.com/woocommerce/woocommerce-blocks/pull/439 )
...
* Split apart editor and frontend styles
* Remove the empty JS files after each build
* Pull out editor and style CSS files into two single, separate files
Rename products-grid CSS, add a “global” front end stylesheet
* Update style registration to use these two new global CSS files
* Merge style JS files into vendors before deleting them
* Remove empty file to fix lint error
* Check for file before reading from it
When watching, not all the file stubs are created, so this errors out.
2019-02-19 16:09:36 -05:00
Kevin Killingsworth
ecb0f7741b
Add catalog_visibility param to products api ( https://github.com/woocommerce/woocommerce-blocks/pull/406 )
...
* Add catalog_visibility param to products api
This adds a catalog_visibility=visible option to the product api which
will filter out any products that are excluded from the catalog.
* Add product_visibility phpunit test
* Add catalog_visibility for catalog, search, hidden
* Fix util js test
The util js test checks for query parameters, so this adds the
category_visibility = 'visible' param.
* Updated for comments
1. Added collection params
2. moved catalog_visibility default with others
2019-02-19 10:09:16 -06:00
renovate[bot]
6790518efc
chore(deps): update dependency eslint to v5.14.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/438 )
2019-02-18 16:02:40 -05:00
Kelly Dwan
a503af9e51
Add space between the icon and placeholder title ( https://github.com/woocommerce/woocommerce-blocks/pull/421 )
2019-02-18 09:48:34 -05:00
renovate[bot]
e5e7737058
chore(deps): update dependency @babel/core to v7.3.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/435 )
2019-02-18 09:48:19 -05:00
renovate[bot]
6378556414
chore(deps): update dependency eslint to v5.14.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/434 )
2019-02-18 09:47:51 -05:00
renovate[bot]
181f126e58
chore(deps): update dependency webpack to v4.29.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/436 )
2019-02-18 09:21:10 -05:00
renovate[bot]
62397dcd87
chore(deps): update dependency webpack to v4.29.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/431 )
2019-02-15 11:18:03 -05:00
renovate[bot]
7eb27e61bc
chore(deps): update dependency core-js to v2.6.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/430 )
2019-02-15 11:17:33 -05:00
renovate[bot]
04e3747acb
chore(deps): update dependency react-test-renderer to v16.8.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/429 )
2019-02-15 11:16:40 -05:00
Kelly Dwan
81845a1bf9
Fix changelog headings ( https://github.com/woocommerce/woocommerce-blocks/pull/428 )
2019-02-14 13:14:27 -05:00
renovate[bot]
9089346cc3
chore(deps): update dependency cssnano to v4.1.10 ( https://github.com/woocommerce/woocommerce-blocks/pull/425 )
2019-02-14 13:00:43 -05:00
renovate[bot]
9de561702b
chore(deps): update dependency eslint-plugin-jest to v22.3.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/427 )
2019-02-14 13:00:26 -05:00
renovate[bot]
0f7c87fca2
chore(deps): update npm to v6.8.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/422 )
2019-02-14 10:49:13 -05:00
renovate[bot]
fb2516e472
chore(deps): update dependency lint-staged to v8.1.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/423 )
2019-02-14 10:47:27 -05:00
renovate[bot]
dfb4acf882
chore(deps): update wordpress monorepo (major) ( https://github.com/woocommerce/woocommerce-blocks/pull/343 )
...
* chore(deps): update wordpress monorepo
* Fix tests: `transformIgnorePatterns` requires the babel config to be a JS export, rather than a JSON file
2019-02-13 15:18:43 -05:00
Kelly Dwan
37fca65ad6
Bump stable tag & plugin dev version ( https://github.com/woocommerce/woocommerce-blocks/pull/420 )
2019-02-13 15:18:21 -05:00
Kelly Dwan
33cb699ef1
Update changelog, bump version to 1.4.0-rc ( https://github.com/woocommerce/woocommerce-blocks/pull/413 )
...
* Update changelog, bump version to 1.4.0-rc
* Update languages to language packs at 100% for v1.3.1
* Update readme with button PR
* Add note about featured product edit mode
* Update version number
* Add a missing bug fix to the changelog
2019-02-13 10:50:40 -05:00
renovate[bot]
2bdfc262e6
chore(deps): update dependency cssnano to v4.1.9 ( https://github.com/woocommerce/woocommerce-blocks/pull/418 )
2019-02-12 14:10:20 -05:00
Kelly Dwan
ee8e185e4d
Featured Product: Remove ability to change source product ( https://github.com/woocommerce/woocommerce-blocks/pull/415 )
2019-02-12 10:04:36 -05:00
Kelly Dwan
299412bb0f
Featured Product: Try using Button block for button ( https://github.com/woocommerce/woocommerce-blocks/pull/398 )
...
* Try using Button block for the product button
* Use the permalink for the selected product
* Fix use of templateLock prop
* Fix button component alignment
2019-02-08 18:57:58 -05:00
Kelly Dwan
1f880b309a
ProductAttributeControl: Polish style, screen reader interaction ( https://github.com/woocommerce/woocommerce-blocks/pull/412 )
...
* Save attribute terms per attribute, so we don’t need to do duplicate API requests for previously fetched terms. Add spinner to loading items.
* Add count to API response
* Use terms count in displaying attribute type
* Update attribute selection code to collapse already-selected attributes
* Add a chevron icon indicating open-able attributes
* Center the loading indicator
* Remove count from attribute type & re-add it to the terms themselves
2019-02-08 14:57:56 -05:00
Kelly Dwan
daa106ebbe
Remove Gutenberg requirement from phpunit tests ( https://github.com/woocommerce/woocommerce-blocks/pull/414 )
...
* Remove Gutenberg requirement from phpunit tests
* Remove gutenberg from the install script
2019-02-08 14:23:31 -05:00
renovate[bot]
55669d294a
chore(deps): update dependency react-test-renderer to v16.8.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/402 )
2019-02-08 10:07:32 -05:00
Kelly Dwan
d55309adf8
Fix undefined variable notice ( https://github.com/woocommerce/woocommerce-blocks/pull/411 )
2019-02-08 09:43:32 -05:00
Kelly Dwan
388d083c2b
Products by Attribute: Update block to use API, shortcode rendering ( https://github.com/woocommerce/woocommerce-blocks/pull/405 )
...
* Add “attribute selection” step before allowing terms to be selected
* Update query builder
* Use shortcode to render block
* Styling for child list items
2019-02-07 15:26:47 -05:00
Kevin Killingsworth
a8754e73dd
Bump `@woocommerce/components` to v1.5.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/408 )
...
This advances the version of woocommerce components for the primary
reason of fixing the navigation problem of adding #/ to any URLs we use.
2019-02-07 11:25:28 -06:00
renovate[bot]
4a5b9b2688
chore(deps): update dependency core-js to v2.6.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/410 )
2019-02-07 10:06:34 -05:00
renovate[bot]
cd9d573112
chore(deps): update dependency webpack to v4.29.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/409 )
2019-02-07 09:58:12 -05:00
Kelly Dwan
8da93d36f1
API: Remove custom `attributes` handling from API ( https://github.com/woocommerce/woocommerce-blocks/pull/401 )
2019-02-06 17:59:34 -05:00
renovate[bot]
60b4cd5fcc
chore(deps): update dependency webpack to v4.29.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/404 )
2019-02-06 11:20:18 -05:00
Kelly Dwan
6bf837ff7a
Featured Product: Allow to resize the block height ( https://github.com/woocommerce/woocommerce-blocks/pull/397 )
...
* Add ResizeableBox wrapper to component to adjust height
* Use the fixed height on the front end display of the block
* Fix display of resize handle
* Allow the default & min featured product heights to be customized by setting a new theme support keyword, `featured_block`.
* Use `min-height` on the front end display, so content is not clipped on smaller screens
* Add a wrapper div to the content, to prevent it from breaking out of the block display
2019-02-05 15:49:24 -05:00
renovate[bot]
843f9529bf
chore(deps): update dependency webpack-cli to v3.2.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/399 )
2019-02-05 13:35:23 +08:00
renovate[bot]
0902e1b707
chore(deps): update dependency webpack to v4.29.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/395 )
2019-02-04 14:24:49 -05:00
renovate[bot]
a49f061950
chore(deps): update dependency eslint-plugin-jsx-a11y to v6.2.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/394 )
...
LGTM 👍
2019-02-04 17:24:19 +08:00
renovate[bot]
63c7728ad8
chore(deps): update dependency lint-staged to v8.1.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/393 )
...
Minor bug fix. 👍
2019-02-04 17:20:20 +08:00
renovate[bot]
9c02e09537
chore(deps): update dependency lint-staged to v8.1.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/392 )
2019-02-02 11:52:44 -05:00
renovate[bot]
e3b7c4af60
chore(deps): update dependency eslint to v5.13.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/391 )
2019-02-01 14:28:06 -05:00
Kevin Killingsworth
dc2b4485f4
Add placeholder image for product preview ( https://github.com/woocommerce/woocommerce-blocks/pull/382 )
...
* Add placeholder image for product preview
This adds the designated placeholder image url from settings into the
wcSettings global for the blocks to use. Then uses the placeholder url
when a product doesn't have any images.
* Updated based on review notes
Using `$block_settings` instead of `$settings`
Using '' alt tag
Updated snapshot
* Add the placeholder global to test that it passes through to the preview
2019-02-01 10:45:53 -05:00
renovate[bot]
454c9262ab
chore(deps): update dependency eslint-plugin-jest to v22.2.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/390 )
2019-02-01 10:26:31 -05:00
Kelly Dwan
017f0df5b7
Blocks: Restrict row/column values to only valid values ( https://github.com/woocommerce/woocommerce-blocks/pull/386 )
...
* Add a new LayoutControl component
* Use new LayoutControl to handle rows & columns settings
* Fix errors when rows or columns is empty (silently fall back to default to prevent breaking the block)
* Rename `LayoutControl` to `GridLayoutControl`
2019-01-31 17:55:54 -05:00
renovate[bot]
11bfb1b153
fix(deps): update dependency @woocommerce/components to v1.4.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/388 )
2019-01-31 17:12:03 -05:00
Kelly Dwan
c41ceff9fc
i18n: Remove the babel makepot & pot-to-php scripts ( https://github.com/woocommerce/woocommerce-blocks/pull/385 )
...
* Remove the babel makepot & pot-to-php scripts
These aren’t needed because WP.org will now pull from JS files for glotpress translations.
* Remove pot file from gitignore
2019-01-31 15:59:13 -05:00
Kelly Dwan
5f4b6c74db
Use defaultProps to set up the taxonomy control operators ( https://github.com/woocommerce/woocommerce-blocks/pull/381 )
2019-01-31 15:43:55 -05:00
Kelly Dwan
ac96484f7a
New block: Products by Attribute ( https://github.com/woocommerce/woocommerce-blocks/pull/378 )
...
* Add Products by Attribute block
* Remove attributes property from sharedAttributes
* Add operator control to Products Attribute selector
* Fix default operator queries
* Add the initial “edit mode” placeholder screen
* Style attribute selector better
* Add ‘edit mode’ toggle to toolbar
* Add orderby control
2019-01-30 16:27:56 -05:00
Kelly Dwan
284d98643d
REST API: Add new parameter for relationship between multiple taxonomies ( https://github.com/woocommerce/woocommerce-blocks/pull/377 )
...
* Add new API parameter `tax_relation`, to handle relationship between multiple taxonomies
* Minor change to trigger a travis build
2019-01-30 16:08:21 -05:00
renovate[bot]
9a404e5c6e
Update dependency eslint-plugin-jest to v22.2.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/376 )
2019-01-30 16:07:32 -05:00
renovate[bot]
d71c5a4ef6
Update Node.js to v10.15.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/375 )
2019-01-30 16:07:09 -05:00
Kelly Dwan
2382dbf5f4
Run `composer install` after packages install ( https://github.com/woocommerce/woocommerce-blocks/pull/374 )
2019-01-30 10:31:05 -05:00
renovate[bot]
d664df9a85
Update wordpress monorepo ( https://github.com/woocommerce/woocommerce-blocks/pull/366 )
2019-01-29 14:18:34 -05:00
renovate[bot]
9860565210
Update dependency autoprefixer to v9.4.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/367 )
2019-01-29 12:46:25 -05:00
renovate[bot]
2cf52f0e4d
Update dependency lint-staged to v8.1.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/365 )
2019-01-29 12:46:03 -05:00
renovate[bot]
e46aebf921
Update dependency eslint-plugin-jsx-a11y to v6.2.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/363 )
2019-01-29 12:42:52 -05:00
renovate[bot]
b0a581b732
Update npm to v6.7.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/360 )
2019-01-24 10:56:00 +00:00
renovate[bot]
32d42cbec7
Update dependency core-js to v2.6.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/358 )
2019-01-22 07:49:15 -05:00
renovate[bot]
71536c0e00
Update dependency clean-webpack-plugin to v1.0.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/356 )
2019-01-22 07:33:55 -05:00
renovate[bot]
16319d2a07
Update dependency autoprefixer to v9.4.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/355 )
2019-01-21 10:54:41 -05:00
renovate[bot]
98540efb81
Update dependency webpack to v4.29.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/354 )
2019-01-21 10:53:26 -05:00
renovate[bot]
b2d3ad5e0d
Update dependency stylelint to v9.10.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/353 )
2019-01-21 10:53:03 -05:00
renovate[bot]
903236db84
Update dependency eslint to v5.12.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/352 )
2019-01-18 17:05:13 -05:00
Kelly Dwan
d5802c0467
Update bug report template to include WordPress details
2019-01-18 14:44:11 -05:00
Renovate Bot
0f7eb3df30
Update npm to v6.6.0
2019-01-17 23:00:15 +00:00
Kelly Dwan
d0d2bb4f3b
Release 1.3.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/346 )
...
* Bump the version number
* Add the changelog to the readme
* Add new strings to the PHP file
* Update stable tag
2019-01-17 15:04:22 -05:00
Kelly Dwan
9603e6fbd1
Add Spanish translation files ( https://github.com/woocommerce/woocommerce-blocks/pull/344 )
2019-01-17 14:49:03 -05:00
Kelly Dwan
eee1359cc0
Fix translations, bundle complete JS translation files ( https://github.com/woocommerce/woocommerce-blocks/pull/339 )
...
* Update the translation file with strings in new JS files
* Automatically build the translation files when building the JS files
* Reorganize script+style registration so that all files for each block are grouped together
* Bundle the finished translations into the plugin
* Fix untranslated strings
* Remove the edit-blocks dependency from featured product CSS file (https://github.com/woocommerce/woocommerce-blocks/pull/342 )
2019-01-17 11:58:53 -05:00
Kelly Dwan
7a67ad3c26
SearchListControl: Use the “radio” role for selecting just one item ( https://github.com/woocommerce/woocommerce-blocks/pull/337 )
2019-01-17 10:58:41 -05:00
renovate[bot]
e45fbb60dd
Update dependency eslint-plugin-react to v7.12.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/340 )
2019-01-17 10:35:57 -05:00
Kelly Dwan
1b4904a19e
Update `@wordpress/*` packages ( https://github.com/woocommerce/woocommerce-blocks/pull/338 )
2019-01-17 10:31:01 -05:00
renovate[bot]
0dfece4fd6
Update dependency @woocommerce/components to v1.4.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/333 )
...
* Update dependency @woocommerce/components to v1.4.0
* Fix test snapshots
2019-01-16 18:58:37 -05:00
renovate[bot]
5f31174bdc
Update dependency stylelint to v9.10.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/332 )
2019-01-16 10:39:24 -05:00
Kelly Dwan
abd6522fc3
Readme: Add link to dev blog post ( https://github.com/woocommerce/woocommerce-blocks/pull/330 )
2019-01-15 17:10:59 -05:00
Kelly Dwan
afae8db424
Add changelog & version bump to 1.3.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/323 )
...
* Add changelog & version bump to 1.3.0-RC
* Update changelog phrasing
* Update name/version in package-lock
* Update readme
* Bump version to 1.3.0
2019-01-15 16:43:18 -05:00
Kelly Dwan
ea4996267c
Add catOperator to remaining blocks ( https://github.com/woocommerce/woocommerce-blocks/pull/328 )
2019-01-15 13:52:34 -05:00
Jeff Stieler
71a4c81dd1
Use the wcSettings object from wc-admin if present and update it to more closely match the latest from wc-admin.
2019-01-15 11:21:16 -07:00
Kelly Dwan
6267b32772
Featured Product block: Allow custom background image selecton ( https://github.com/woocommerce/woocommerce-blocks/pull/322 )
...
* Add media icon to toolbar, save selected media ID and src as attributes
* Use the selected image instead of the product image, if set
* Unset the selected image when a new product is selected
2019-01-14 17:22:00 -05:00
Kelly Dwan
71b448f8b6
Build: Split out vendor files into separate, shared JS & CSS files ( https://github.com/woocommerce/woocommerce-blocks/pull/314 )
...
* Add splitchunks to webpack config to combine node_modules imports into a vendors script
* Move legacy CSS into legacy folder
* Get components css without needing to use relative path
* Add vendors css file
2019-01-14 15:33:17 -05:00
Kelly Dwan
162c55d0cc
Hide the legacy products block from the block inserter ( https://github.com/woocommerce/woocommerce-blocks/pull/143 )
2019-01-14 15:03:12 -05:00
Kelly Dwan
2201fe7db7
Remove the “Filter by Attribute” panel from products by category block ( https://github.com/woocommerce/woocommerce-blocks/pull/321 )
2019-01-14 14:53:55 -05:00
Kelly Dwan
6f2719d36b
Featured Product Block: Use real product short description ( https://github.com/woocommerce/woocommerce-blocks/pull/315 )
2019-01-14 14:53:30 -05:00
James Koster
9c414cac0a
Featured Products style tweaks ( https://github.com/woocommerce/woocommerce-blocks/pull/316 )
...
* Update search list item padding
* Fix search list item radio alignment
* Star icon: Material -> Dashicons
* Featured product min height
* placeholder icon + explanation of explicit height value
* Fix linter errors
* Remove unnecessary Icon from block registration
* Remove the star icon
2019-01-14 14:37:35 -05:00
renovate[bot]
7d1c67fd2d
Pin dependency classnames to 2.2.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/313 )
2019-01-13 12:28:41 -05:00
Kelly Dwan
0d720183aa
Add "Featured Product" block preview ( https://github.com/woocommerce/woocommerce-blocks/pull/308 )
...
* Add classnames package
* Add background image & initial styles
* Only show inspector controls when not in edit-mode
* Add overlay color + opacity controls
* Add content alignment
* Fix display of content
* Add content toggles
* Update styles from feedback
* Display the "Featured Product" block on the frontend (https://github.com/woocommerce/woocommerce-blocks/pull/310 )
* Add render_callback to dynamically render product
* Set a size for the product description
* Remove fallback placeholder image
* Reset the background color for the placeholder component
Previously this was overriding storefront's custom background color CSS
* Update nested conditional
* Remove unnecessary style
* "Featured Product" Block: Add link to the product to the block (https://github.com/woocommerce/woocommerce-blocks/pull/311 )
* Featured Product Block: Add link to the product to the block
* Add a better link label for screen reader users
* Match core button styles, fix alignment of button-link
2019-01-13 12:22:15 -05:00
renovate[bot]
dbb04d5f1a
Update dependency autoprefixer to v9.4.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/312 )
2019-01-12 12:55:12 -05:00
Kelly Dwan
62a226b6ee
REST API: Add the product description to our products endpoint ( https://github.com/woocommerce/woocommerce-blocks/pull/309 )
...
* REST API: Add the product description to our products endpoint
* Add short_description to the API
2019-01-11 18:58:58 -05:00
Kelly Dwan
64e46b8f8e
Add ProductControl, update SearchListControl to pick a "single item" ( https://github.com/woocommerce/woocommerce-blocks/pull/304 )
...
* Add a prop to turn on “single choice” mode
* Create new ProductControl to select a single product
* Remove align from shared attributes
This is given to us by default for using supports.align
* Add Featured Product block
* Fix spelling mistake & copy-paste issue
* Fix lint warning
* Add featured product script to build process, register block in PHP
2019-01-10 14:01:49 -05:00
Kelly Dwan
6a1c1490cb
Split blocks into separate JS files ( https://github.com/woocommerce/woocommerce-blocks/pull/305 )
...
This lets us use the functionality of `register_block_type` to automatically enqueue the scripts and styles used by blocks in the editor, and eventually, styles on the frontend as well. Also adds cssnano to minify our CSS.
2019-01-10 13:16:37 -05:00
renovate[bot]
b7bd2e7162
Update dependency webpack to v4.28.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/307 )
2019-01-10 13:07:41 -05:00
renovate[bot]
c3c9be354f
Update dependency core-js to v2.6.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/306 )
2019-01-10 11:27:31 -05:00
renovate[bot]
257789a342
Update wordpress monorepo ( https://github.com/woocommerce/woocommerce-blocks/pull/302 )
2019-01-09 20:39:51 -05:00
Kelly Dwan
86874a64e6
Icons: add star and radio button icons, organize folder ( https://github.com/woocommerce/woocommerce-blocks/pull/303 )
...
* Split out icons into individual files, add radio icons
* Add star icon
* Fix SVG output in tests
2019-01-09 15:33:10 -05:00
Kelly Dwan
1977e1586b
REST API: Update products endpoint to get products across different attributes ( https://github.com/woocommerce/woocommerce-blocks/pull/299 )
...
* Add products by attributes tests
* Add new properties to Products endpoint args
Allows for requesting a combination of attribute terms across different attributes.
* Unskip working tests
2019-01-09 10:21:23 -05:00
renovate[bot]
9e89e32213
Update dependency eslint-plugin-jest to v22.1.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/301 )
2019-01-09 10:18:30 -05:00
renovate[bot]
c815e4ad9f
Update dependency eslint-plugin-react to v7.12.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/297 )
2019-01-07 10:20:26 -05:00
renovate[bot]
674c52b36b
Update dependency webpack-cli to v3.2.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/298 )
2019-01-07 10:04:55 -05:00
renovate[bot]
8e49c8184a
Update dependency eslint to v5.12.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/296 )
2019-01-04 17:21:07 -05:00
Kelly Dwan
79574a6450
Products by Category: don't show products if no category is selected, better message ( https://github.com/woocommerce/woocommerce-blocks/pull/281 )
...
* Prevent Products by Category from showing all products when no category is selected
* Update string when no categories are selected
* Update button text
* Revert button change, Done is more appropriate
2019-01-04 16:34:37 -05:00
renovate[bot]
b2fcd96111
Update dependency babel-loader to v8.0.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/292 )
2019-01-04 11:37:42 -05:00
renovate[bot]
f15a38d076
Update dependency eslint-plugin-react to v7.12.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/288 )
2019-01-03 17:48:24 -05:00
renovate[bot]
2978534c03
Update dependency eslint to v5.11.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/284 )
2019-01-03 17:47:37 -05:00
renovate[bot]
2c110db5a7
Update Node.js to v10.15.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/286 )
2019-01-03 13:28:32 -05:00
renovate[bot]
70131bc025
Update dependency husky to v1.3.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/287 )
2019-01-03 13:28:02 -05:00
renovate[bot]
9a06938eb5
Update dependency autoprefixer to v9.4.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/291 )
2019-01-03 13:27:39 -05:00
renovate[bot]
4ae80bc5d2
Update dependency css-loader to v2.1.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/285 )
2019-01-03 13:27:23 -05:00
renovate[bot]
088753ce3c
Update dependency webpack-cli to v3.2.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/290 )
2019-01-03 13:27:09 -05:00
renovate[bot]
2147e5713b
Update dependency webpack to v4.28.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/283 )
2019-01-03 13:16:09 -05:00
Kelly Dwan
bc53626f1d
Hide the selected items section until the content is loaded ( https://github.com/woocommerce/woocommerce-blocks/pull/282 )
...
This will prevent the inaccurate “0 items selected” message
2019-01-03 11:16:00 -05:00
Kelly Dwan
03eaddd197
New block: add "Hand-picked Products" block ( https://github.com/woocommerce/woocommerce-blocks/pull/276 )
...
* Add ProductsControl component to search and select products
* Add “Hand-picked Products” block
* Update hand-picked & new product icons
* Prevent API request when no products are selected
* Remove rows setting
* Update shortcode/query helpers for the handpicked products
* Remove shortcode from post if no product IDs are passed
Rendering a shortcode with `ids=‘’` will show all products, as if the ids param wasn’t there. The expected outcome would be no products are shown, we we achieve by removing the shortcode.
* Remove unused rows attribute
* Update accessible spoken notice
* Add a variable to hold whether there are selected products
* Fix copy-paste comments
2018-12-21 19:10:17 -05:00
Kelly Dwan
6d06990123
Visually hide the “any”/“all” categories selector when less than 2 categories are selected ( https://github.com/woocommerce/woocommerce-blocks/pull/279 )
2018-12-21 12:45:07 -05:00
renovate[bot]
e212d762f6
Update dependency css-loader to v2.0.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/280 )
2018-12-21 10:22:31 -05:00
Kelly Dwan
32b5b07c23
Add ProductAttributeControl for selecting product attributes ( https://github.com/woocommerce/woocommerce-blocks/pull/266 )
...
* Add initial attribute selector control
* Make the attribute group name unselectable
* Update selected map to reflect attribute syntax
* Add the attributes selector to the product category block
* Update copy-paste comment
* Update variable name to be more clear
* Move & rename the attribute selector in Products by Category
* Reorganize the API calls to fetch attributes + attribute terms
2018-12-20 17:26:51 -05:00
renovate[bot]
0b91be551e
Update dependency webpack to v4.28.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/278 )
2018-12-20 13:09:05 -05:00
renovate[bot]
6f5e0b3fad
Update dependency react-test-renderer to v16.7.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/275 )
2018-12-20 10:25:52 -05:00
Kelly Dwan
134976e5d5
Fix "products by all categories" not finding products in parent-categories ( https://github.com/woocommerce/woocommerce-blocks/pull/272 )
...
* Fix issue with product categories when one category is a parent
* Add tests for product by categories intersections
2018-12-20 10:24:11 -05:00
Kelly Dwan
c8775aa4e1
Fix the spacing around the “edit mode” of Products by Category ( https://github.com/woocommerce/woocommerce-blocks/pull/273 )
2018-12-19 17:35:41 -05:00
Kelly Dwan
ba8ce223cf
Use em-dashes to indent child categories/attributes instead of padding ( https://github.com/woocommerce/woocommerce-blocks/pull/265 )
2018-12-19 17:34:28 -05:00
Kelly Dwan
18f99101e2
Fix multiple API calls returning out of order, causing set rows to be incorrect ( https://github.com/woocommerce/woocommerce-blocks/pull/264 )
2018-12-19 17:18:13 -05:00
Kelly Dwan
aa9f543834
Add new SearchListItem component ( https://github.com/woocommerce/woocommerce-blocks/pull/258 )
...
* Add new SearchListItem component
Extract the custom functionality from product categories, for re-use in product attributes
* Fix error when no breadcrumbs are set
* Update snapshot
* Remove unnecessary key
2018-12-19 11:56:44 -05:00
renovate[bot]
d3c8998430
Update dependency @woocommerce/components to v1.3.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/267 )
...
* Update dependency @woocommerce/components to v1.3.0
* Set up new globals used by @woocommerce/components
2018-12-19 10:55:16 -05:00
renovate[bot]
205f20f879
Update dependency webpack to v4.28.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/271 )
2018-12-19 10:30:28 -05:00
Kelly Dwan
a7fcb82636
Inject attribute group name & slug into API response ( https://github.com/woocommerce/woocommerce-blocks/pull/263 )
2018-12-18 18:05:52 -05:00
renovate[bot]
877b6e92e8
Update dependency husky to v1.3.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/262 )
2018-12-18 15:01:38 -05:00
David Levin
5af019bcd7
New Block: Add "Newest Products" Block ( https://github.com/woocommerce/woocommerce-blocks/pull/255 )
...
* add newest products block
* update class name in index.js and product-new.js
* Add a new WooCommerce block category and include all blocks within.
* Fix shortcode product order
* Show block category on all post types
2018-12-18 14:45:49 -05:00
renovate[bot]
24ab9c5f7e
Update dependency core-js to v2.6.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/260 )
2018-12-18 10:50:35 -05:00
Kelly Dwan
48cd95d64d
Move icon components to a shared component, add New Releases SVG ( https://github.com/woocommerce/woocommerce-blocks/pull/257 )
2018-12-17 15:51:10 -05:00
Kelly Dwan
3bccfda459
Category Selection: Add support for category operator ( https://github.com/woocommerce/woocommerce-blocks/pull/251 )
...
* Add core breakpoint 480px, remove non-core breakpoints
* Add the optional operator & save callback
* Add the catOperator as a valid attribute
* Enable cat operator for Products by Category
* Add cat_operator support the products API endpoint
* Enable cat_operator in the shortcode and query utils
* Pluralize the “nothing found” string if we have multiple categories
* Fix style in the inspector panel
* Add category operator support to the Best Sellers product block
* Add cat_operator support to On Sale Products block
* Update label & margin
2018-12-17 15:16:01 -05:00
Michael Rogowski
fef17476c8
Fix undefined error when selecting a product without an image ( https://github.com/woocommerce/woocommerce-blocks/pull/254 )
...
prior to this commit, an 'individual product' block would produce
an error if associated with a product with no image.
2018-12-17 15:15:32 -05:00
renovate[bot]
8b4503f53b
Update dependency autoprefixer to v9.4.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/256 )
2018-12-17 10:04:50 -05:00
David Levin
7069feec94
Merge pull request woocommerce/woocommerce-blocks#249 from woocommerce/add/top-rated-products-block
...
New Block: Add "Top Rated Products" block
2018-12-15 11:06:09 -08:00
renovate[bot]
9bb76f741d
Update dependency @babel/core to v7.2.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/253 )
2018-12-15 11:47:54 -05:00
Kelly Dwan
395888a521
Fix mix of tabs/spaces
2018-12-15 11:41:39 -05:00
David Levin
0c9e3eb6ba
resolving conflicts
2018-12-14 18:12:13 -08:00
David Levin
1bf9ab1fb5
resolve conflicts
2018-12-14 18:08:58 -08:00
David Levin
3b770feb90
remove unnecessary function from get-shortcode.js
2018-12-14 17:48:46 -08:00
Kelly Dwan
381752734b
New Block: Add "On Sale Products" block ( https://github.com/woocommerce/woocommerce-blocks/pull/239 )
...
* Add “On Sale Products” block
* Remove categories requirement from fetching products on mount
2018-12-14 18:47:16 -05:00
David Levin
cae9799ffc
update ordering by rating
2018-12-14 12:21:56 -08:00
David Levin
d30761ba2f
Add top rated products block
2018-12-14 11:45:19 -08:00
Kelly Dwan
58f3764c36
Move product order list into a shared component ( https://github.com/woocommerce/woocommerce-blocks/pull/238 )
2018-12-14 09:57:32 -05:00
Kelly Dwan
cdd520bbeb
Fix incorrectly escaped HTML in build notice ( https://github.com/woocommerce/woocommerce-blocks/pull/235 )
2018-12-14 09:57:11 -05:00
Kelly Dwan
9d6628e709
Add PHPCS to travis CI tests ( https://github.com/woocommerce/woocommerce-blocks/pull/236 )
...
* Limit phpcs to only linting php files
* Add composer & phpcs to travis process
2018-12-14 09:56:54 -05:00
renovate[bot]
6c7e2d0976
Update dependency css-loader to v2.0.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/248 )
2018-12-14 09:56:26 -05:00
renovate[bot]
e06fcb0a3d
Update dependency husky to v1.2.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/246 )
2018-12-14 08:59:23 +08:00
Kelly Dwan
43675515af
Block: Add new "Best Selling Products" block ( https://github.com/woocommerce/woocommerce-blocks/pull/221 )
...
* Move from a JS file per block registration to one file registering all blocks
This will let webpack combine shared libraries, like gridicons
* Move global block settings to the “before all scripts” section
These shouldn’t be tied to a specific block file, since they’re used across all blocks
* Register both block types
We can also remove the scripts, since we enqueue these below
* Update getShortcode & getQuery to handle different block types
* Pass block type name to getQuery
* Update shared attributes - edit_mode is not a universal option, but categories will be
Categories is shared, but orderby is not
* Add “Best Selling Products” block
* Add a shared class name for product grid blocks
* Fix failing tests
2018-12-13 12:19:55 -05:00
Kelly Dwan
e3dab1cbcc
Product preview: Update "Add to cart" button to inherit theme's button styles ( https://github.com/woocommerce/woocommerce-blocks/pull/223 )
...
* Remove button styling & add classes to inherit style from core button
* Update to CSS grid
* Prevent warnings when running autoprefixer
* Update spacing in preview
* Update snapshots to reflect button markup change
* Switch to flexbox for IE 11 support
* Remove CSS grid autoprefixer support
* Fix spacing on preview items
* Fix stylelint issue
* Remove unnecessary rule
2018-12-13 12:19:06 -05:00
GlennMartin1
15802e9c71
correct link in readme.md ( https://github.com/woocommerce/woocommerce-blocks/pull/234 )
2018-12-12 11:16:55 -05:00
Joshua T Flowers
fed2de790c
Add key prop to dropdown elements ( https://github.com/woocommerce/woocommerce-blocks/pull/229 )
2018-12-11 17:29:15 -05:00
renovate[bot]
578e36701e
Update Node.js to v10.14.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/232 )
2018-12-11 17:28:29 -05:00
Kelly Dwan
c6d071cebf
Fix PHP CodeSniffer issues ( https://github.com/woocommerce/woocommerce-blocks/pull/215 )
2018-12-11 11:14:02 -06:00
Kelly Dwan
1ea12ca2ff
Merge pull request woocommerce/woocommerce-blocks#230 from woocommerce/renovate/npm-6.x
...
Update npm to v6.5.0
2018-12-11 10:50:15 -06:00
Renovate Bot
5376e31c03
Update npm to v6.5.0
2018-12-10 22:39:50 +00:00
Renovate Bot
9ec5fde082
Update dependency node-sass to v4.11.0
2018-12-09 02:48:04 +00:00
Renovate Bot
0b7168e2a3
Update dependency css-loader to v2
2018-12-08 16:26:58 +00:00
renovate[bot]
9bf2b5aa10
Update dependency eslint to v5.10.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/224 )
2018-12-08 10:25:34 -06:00
renovate[bot]
7d114483fb
Update dependency mini-css-extract-plugin to v0.5.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/217 )
2018-12-08 10:24:47 -06:00
renovate[bot]
4118fd3bf3
Update dependency core-js to v2.6.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/213 )
2018-12-08 10:24:22 -06:00
renovate[bot]
2dfb1bc5cd
Update dependency webpack to v4.27.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/216 )
2018-12-08 10:24:02 -06:00
Kelly Dwan
a92ae1477b
Remove “center” alignment option ( https://github.com/woocommerce/woocommerce-blocks/pull/214 )
2018-12-05 12:00:40 -05:00
Kelly Dwan
ba83d67b32
Bump version ( https://github.com/woocommerce/woocommerce-blocks/pull/211 )
2018-12-04 19:41:40 -05:00
Kelly Dwan
cd01cfe3bd
Release 1.2.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/206 )
...
* Update display name in wp-admin
* Update minimum WP in readme.txt
* Bump version in wp-admin
* Disable “dev mode” for release
* Updating plugin name
* Update version constant
* Don’t commit disabling dev mode
2018-12-04 15:54:14 -05:00
Kelly Dwan
02f8aa1091
Add styles for better reusable block preview ( https://github.com/woocommerce/woocommerce-blocks/pull/210 )
...
* Add styles for better reusable block preview
* Fix class names for legacy block preview style
* Check that `products` exists before checking length
* Fix stylelint issues
2018-12-04 15:40:00 -05:00
renovate[bot]
48bcc11ae2
Update dependency autoprefixer to v9.4.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/204 )
2018-12-04 10:09:45 -05:00
renovate[bot]
3cd501745d
Update dependency eslint-plugin-jest to v22.1.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/203 )
2018-12-04 09:52:42 -05:00
renovate[bot]
0eaebf04c0
Update dependency webpack to v4.27.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/201 )
2018-12-04 09:52:20 -05:00
renovate[bot]
4cc4c7a7e9
Update dependency autoprefixer to v9.4.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/202 )
2018-12-04 09:51:48 -05:00
Kelly Dwan
723c8eedab
Update textdomain to plugin slug ( https://github.com/woocommerce/woocommerce-blocks/pull/199 )
...
* Update textdomain in JS files
* Update textdomain in PHP files
* Add babel plugin to create pot & php files from JS
* Update textdomain in plugin header
* Update translations after rebase
2018-12-04 09:51:21 -05:00
David Levin
57c5e08340
Merge pull request woocommerce/woocommerce-blocks#196 from woocommerce/update/readme-for-release
...
Update readme file
2018-12-03 16:24:14 -08:00
Kelly Dwan
6572b79708
Category Selection: Add loading & no results states ( https://github.com/woocommerce/woocommerce-blocks/pull/197 )
...
* Add gridicons dependency
* Add loading & no results states
* Update test snapshots
* Remove redundant setState call
2018-12-03 19:17:22 -05:00
Kelly Dwan
5966050367
Add `woocommerce` as a supported keyword for the block ( https://github.com/woocommerce/woocommerce-blocks/pull/198 )
2018-12-03 19:17:10 -05:00
renovate[bot]
be07093ae0
Update dependency @babel/core to v7.2.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/194 )
2018-12-03 19:16:31 -05:00
renovate[bot]
503aba0275
Update dependency eslint-plugin-jest to v22.1.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/200 )
2018-12-03 19:16:16 -05:00
Kelly Dwan
663e324534
Update the minimum requirements
...
Tested with WC 3.3.1/WP 4.9/Gutenberg 4.6
2018-12-03 17:37:40 -05:00
Kelly Dwan
c0b98aac61
Fix spelling, add periods to changelog bullets to match previous items
2018-12-03 17:36:28 -05:00
David Levin
1de118608c
Update readme file
2018-12-03 13:36:57 -08:00
Kelly Dwan
f0f62b5caa
Category Selection: Always show "selected" section ( https://github.com/woocommerce/woocommerce-blocks/pull/192 )
...
* Always show the selected tags section, with a min-height to prevent jumping when selecting tags
* Only show the “clear all” button if there are selected items
* Update snapshot tests
* Update height for sidebar category selection
2018-12-03 16:05:12 -05:00
Kelly Dwan
50aa551268
Prevent scrollbar on bottom of category selection screen ( https://github.com/woocommerce/woocommerce-blocks/pull/191 )
...
Only show vertical scrollbar if the container is scrollable
2018-12-03 13:06:47 -05:00
Kelly Dwan
46cc38e3be
Add the first category to deeply nested items ( https://github.com/woocommerce/woocommerce-blocks/pull/189 )
2018-12-03 13:06:28 -05:00
Kelly Dwan
e1f8e7d552
Update tests after markup changes in 182 ( https://github.com/woocommerce/woocommerce-blocks/pull/190 )
2018-12-03 12:29:44 -05:00
Kelly Dwan
e8538ca0cd
Update role/selected code to make it clear to screen reader users that items are selected
2018-12-03 11:25:54 -05:00
Kelly Dwan
f1f1a324a0
Add a specific class wrapper to the SVG
2018-12-03 11:25:32 -05:00
Kelly Dwan
94db1a65cf
Update snapshots with added icons
2018-12-03 11:10:24 -05:00
Kelly Dwan
c4ca6b484d
Add icon to product category list
2018-12-03 11:10:23 -05:00
Kelly Dwan
5b9e615d45
Add checked/unchecked icons next to each menu item
2018-12-03 11:10:23 -05:00
Kelly Dwan
3d5571093a
Don’t hide selected elements, instead add selection toggle
2018-12-03 11:10:22 -05:00
renovate[bot]
15dbfc3236
Update dependency autoprefixer to v9.4.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/185 )
2018-12-03 10:18:30 -05:00
Kelly Dwan
b8bdc2bf27
Category Selection: Add hierarchy support for nested categories ( https://github.com/woocommerce/woocommerce-blocks/pull/179 )
...
* Add buildTermsTree to handle hierarchical list input
* Append items if their parent is not in the given list
* Add `breadcrumbs` property to hierarchical list
* Display the “breadcrumbs” parent categories when searching
* Use display properties
we’re providing alternative text for screen reader users, so we can just toggle display values for the prefix
* Add all parent categories to name provided for screen readers
* Display parent category when parent is a currently selected item
* Add the depth class to items in defaultRenderItem
* Add a test for a hierarchical item list
* Clean up hierarchy docblock & commented-out code
* Update proptype
* Update depth CSS so we still indent very nested categories
2018-11-30 16:37:58 -05:00
Kelly Dwan
dc1c1f7370
Add tests for SearchListControl ( https://github.com/woocommerce/woocommerce-blocks/pull/174 )
2018-11-30 15:39:16 -05:00
Claudio Sanches
81605bae30
New custom endpoints ( https://github.com/woocommerce/woocommerce-blocks/pull/162 )
...
* Included PHPCS and git hooks
* Fixed coding standards
* New Products endpoint
* Fixed product controller schema
* Improved products controller schema and response
* New product categories controller
* Updated REST API base to match WooCommerce authentication
* Fixed products/categories endpoint
* Better docblock
* Product attributes controller
* Product attribute terms controller
* Update REST API urls
* Reverted PHPCS changes
* Check permission only once while fetching posts
* Included raw price
* Included sku to products endpoint response
* Fixed endpoints in unit test
* Fixed routes in unit tests
* Check and use subscriber, contributor and author rules in unit tests
2018-11-30 14:12:56 -05:00
renovate[bot]
7a209367a7
Update dependency @woocommerce/components to v1.2.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/180 )
2018-11-30 13:38:00 -05:00
Kelly Dwan
95b4092567
Update eslint config to ignore legacy block ( https://github.com/woocommerce/woocommerce-blocks/pull/176 )
...
* Add react version to prevent warning when running eslint
* Ignore eslint issues in the legacy block
2018-11-30 13:18:52 -05:00
James Koster
e9b3b341e5
Adjust category list max-height ( https://github.com/woocommerce/woocommerce-blocks/pull/177 )
2018-11-30 10:50:23 -05:00
Kelly Dwan
649f79903c
Show the Layout settings as open by default ( https://github.com/woocommerce/woocommerce-blocks/pull/175 )
2018-11-29 21:00:46 -05:00
Kelly Dwan
6873f803d6
Fix React warning for array items needed unique key props ( https://github.com/woocommerce/woocommerce-blocks/pull/173 )
2018-11-29 20:57:15 -05:00
Kelly Dwan
4ac52b3cf3
Create a reusable search + list control for category selection ( https://github.com/woocommerce/woocommerce-blocks/pull/166 )
...
* Add new components for ProductCategoryControl, using a reusable SearchListControl
* Add sass variables from wc-admin
* Finish styling
* Save selected categories as selected for the block
* Style sidebar version of control
* Filter the categories list, highlight search term in result
* Filter out selected items in the filter list function
* Add spacing in the placeholder, remove unnecessary stylesheet
* Add a more descriptive label for screen readers
* Remove category references from list item options
* Switch to a configurable object of messages, so SearchListControl can be more customizable
* Add screen-reader message for toggling “done” and moving into preview
* Remove call to getProductCategoryControl
The component is simple enough to just drop in now :)
* Add documentation for all props
* Add padding to placeholder
* Rename fallbackrenderItem to defaultRenderItem
* Add a variable to save the selected count
* Add `isDestructive` to make link red
* Update item style
* Add a hover/focus background color
2018-11-29 13:10:08 -05:00
renovate[bot]
fbdc17d532
Pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/167 )
2018-11-29 13:09:21 -05:00
renovate[bot]
280a983790
Update Node.js to v10.14.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/169 )
2018-11-29 12:50:42 -05:00
Claudio Sanches
bd8d5beb21
Introduced pre-commit hook for PHP ( https://github.com/woocommerce/woocommerce-blocks/pull/164 )
2018-11-29 10:23:27 -05:00
Claudio Sanches
451a14e0d6
PHPCS ( https://github.com/woocommerce/woocommerce-blocks/pull/163 )
2018-11-29 10:23:04 -05:00
Kelly Dwan
575ac418c9
Update pull request template to add a11y instructions
2018-11-29 10:02:06 -05:00
renovate[bot]
a17986f286
Update dependency @woocommerce/components to v1.1.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/160 )
2018-11-28 10:58:03 -05:00
renovate[bot]
16f7c64258
Update dependency stylelint to v9.9.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/161 )
2018-11-28 10:57:34 -05:00
renovate[bot]
97a61e803b
Update Node.js to v10.14.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/165 )
2018-11-28 10:55:05 -05:00
renovate[bot]
da6180f172
Pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/142 )
2018-11-27 14:41:06 -05:00
renovate[bot]
16e861859a
Update dependency webpack to v4.26.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/155 )
2018-11-27 14:31:31 -05:00
renovate[bot]
402d428642
Update dependency eslint-plugin-jest to v22.1.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/154 )
2018-11-27 14:29:49 -05:00
renovate[bot]
35ac545abb
Update dependency mini-css-extract-plugin to v0.4.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/152 )
2018-11-27 14:28:39 -05:00
Kelly Dwan
eb21a5ec9f
Update dependencies, add all packages in use ( https://github.com/woocommerce/woocommerce-blocks/pull/159 )
2018-11-27 12:13:16 -05:00
Kelly Dwan
133e5374af
Update jsx-a11y label rule to only require ID, not ID+nesting ( https://github.com/woocommerce/woocommerce-blocks/pull/158 )
2018-11-27 12:13:05 -05:00
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
a4fb42fe3d
Load only published products in the preview ( https://github.com/woocommerce/woocommerce-blocks/pull/146 )
...
* Load only published products in the preview
* Fix post status in legacy block too
* Filter searching for individual products to only search published products
* Update query tests with change
2018-11-26 11:03:26 -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
renovate[bot]
f09a4efae2
Update wordpress monorepo ( https://github.com/woocommerce/woocommerce-blocks/pull/147 )
2018-11-21 11:45:09 -05:00
Kelly Dwan
c98e607a6f
Add the "edit mode" toggle to the product category block ( https://github.com/woocommerce/woocommerce-blocks/pull/144 )
...
* Add sass mixins and variables
* Add an edit mode toggle, with the ability to choose categories
* Only add align classes when align is defined
2018-11-21 11:33:21 -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
renovate[bot]
3851a6bad1
Update dependency webpack to v4.26.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/139 )
2018-11-19 11:38:33 -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
b52bb64d88
Move legacy block to “legacy” folder ( https://github.com/woocommerce/woocommerce-blocks/pull/135 )
2018-11-19 11:31:43 -05:00
renovate[bot]
10b740d148
Update wordpress monorepo ( https://github.com/woocommerce/woocommerce-blocks/pull/133 )
2018-11-16 14:32:52 -05:00
renovate[bot]
4e1fb93a51
Update dependency clean-webpack-plugin to v1 ( https://github.com/woocommerce/woocommerce-blocks/pull/132 )
2018-11-16 14:30:39 -05:00
renovate[bot]
a1c79b0114
Update dependency @babel/core to v7.1.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/131 )
2018-11-16 14:29:42 -05:00
Kelly Dwan
882cd4c7bb
Set up Jest for JS testing ( https://github.com/woocommerce/woocommerce-blocks/pull/130 )
...
* Set up Jest testing
* Add a snapshot test for the product preview component
2018-11-16 10:43:51 -05:00
Kelly Dwan
9090fb41a1
Add .editorconfig file for editor integration ( https://github.com/woocommerce/woocommerce-blocks/pull/128 )
2018-11-16 10:42:56 -05:00
renovate[bot]
9bc66d90ee
Pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/129 )
2018-11-15 16:59:05 -05:00
renovate[bot]
151614c8b2
Add renovate.json ( https://github.com/woocommerce/woocommerce-blocks/pull/127 )
2018-11-15 16:55:12 -05:00
Kelly Dwan
702da46571
Add stylelint to find and fix css code style issues ( https://github.com/woocommerce/woocommerce-blocks/pull/126 )
...
* Add stylelint & WP gutenberg configuration
* Fix stylelint issues
2018-11-15 10:45:49 -05:00
Kelly Dwan
45f519590e
Add eslint to find and fix code style issues ( https://github.com/woocommerce/woocommerce-blocks/pull/123 )
...
* Add eslint configuration
* Run eslint auto-fixer to cover fixable issues
* Use wp.element’s component to prevent undefined React error
* Add products data global to eslint config
* Fix remaining eslint errors by hand
* Fix eslint errors in webpack
* Remove duplicate rule
2018-11-13 14:21:04 -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
Kelly Dwan
940c21d0fb
Merge pull request woocommerce/woocommerce-blocks#113 from ajitbohra/patch-1
...
Readme replace withAPIData with apiFetch
2018-11-12 18:01:36 -05:00
Kelly Dwan
238f68e999
Create pull request template
2018-11-12 17:58:55 -05:00
Kelly Dwan
85a209834a
Update issue templates
2018-11-12 17:56:39 -05:00
Ajit Bohra
8995333e6b
Readme replace withAPIData with apiFetch
2018-10-05 19:23:21 +05:30
claudiulodro
905ced2193
Update version for release
2018-09-07 08:51:45 -07:00
claudiulodro
cb2e63f130
Merge remote-tracking branch 'origin/fix/106-wip' into HEAD
2018-09-06 11:48:37 -07:00
claudiulodro
30aa4814e6
Fix no products found bug in product search
2018-09-06 11:47:51 -07:00
Tiago Noronha
37a7a0ca6c
Fade padding fix
2018-09-06 18:53:36 +01:00
claudiulodro
78d21584fa
Fix bugs in specific select
2018-09-06 09:58:55 -07:00
claudiulodro
dd0b7284e4
Fix bugs with sidebar info
2018-09-06 09:44:30 -07:00
claudiulodro
6d0167b356
Refactor single select
2018-09-06 09:31:05 -07:00
claudiulodro
5bebb96cfa
Refactor specific select screen
2018-09-06 09:29:17 -07:00
Tiago Noronha
451a4722f5
Refactor category select
2018-09-06 17:03:36 +01:00
Tiago Noronha
cc05f947cd
Merge pull request woocommerce/woocommerce-blocks#109 from woocommerce/fix/106-attribute-select
...
Refactor attribute select
2018-09-06 16:42:23 +01:00
Tiago Noronha
7cca16abdd
Refactor attribute select
2018-09-06 16:40:50 +01:00
claudiulodro
914fa794af
Fix method name mismatch
2018-09-06 08:37:54 -07:00
claudiulodro
6d4c811949
Refactor sidebar info class
2018-09-06 08:21:56 -07:00
claudiulodro
61d7a229ad
Refactor product preview api usage
2018-09-05 13:20:09 -07:00
claudiulodro
6cde5409a1
Begin migration off withapidata
2018-09-05 11:30:46 -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
Claudiu Lodromanean
89794358e6
Merge pull request woocommerce/woocommerce-blocks#105 from woocommerce/fix/101
...
Add order DESC attribute when ordering by newest first
2018-08-22 10:37:16 -07:00
claudiulodro
ce6938548e
Don't initialize scripts if wc is not active
2018-08-22 10:28:39 -07:00
Tiago Noronha
f6a992a17c
Add order DESC attribute when ordering by newest first
2018-08-22 15:05:34 +01:00
Ajit Bohra
38e8f6f518
Add link to wordpress.org
2018-08-10 09:11:28 +05:30
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
9a8236ce68
Make attribute select scalable
2018-06-05 10:06:39 -07:00
claudiulodro
07e249faae
Add some keys to elements
2018-06-04 10:48:48 -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
f2ee9915f9
Fix things that broke in latest gberg version
2018-06-01 09:19:25 -07:00
claudiulodro
34f6d14bb1
Add best seller and top rated scopes
2018-04-25 12:03:08 -07:00
Claudiu Lodromanean
5df1d15a3b
Lowercase readme.txt
2018-04-23 10:35:30 -07:00
claudiulodro
b48feb62cd
Add gitatributes file
2018-04-23 10:34:21 -07:00
Tiago Noronha
75a4b1b294
Increase search input CSS specificity
2018-04-23 16:55:01 +01: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
5b24ae57e4
Fix broken padding from latest gberg update
2018-04-19 09:16:38 -07:00
claudiulodro
3b55ae7c66
Bring up-to-date with master
2018-04-11 08:44:56 -07:00
Tiago Noronha
d509148d5b
Set results images to specific size
2018-04-10 16:54:06 +01:00
Tiago Noronha
a0110a982c
Hide outline and remove button when results are visible
2018-04-10 16:42:37 +01:00
Tiago Noronha
23b4d10036
Track if the results dropdown is visible or not
2018-04-10 16:34:53 +01:00
Tiago Noronha
d424d9f678
Set number of per page items to the number of individual products set
2018-04-10 15:14:39 +01:00
Tiago Noronha
a3b9df0e55
Change outline color
2018-04-10 15:01:31 +01:00
Tiago Noronha
f387eb4312
Selected products overflow fix
2018-04-10 14:44:12 +01:00
James Koster
e4bbd11cbc
Don't show "selected products" label when no products are selected
...
The instructions in the search input are adequate
2018-04-09 14:46:42 +01:00
James Koster
09bf724059
dropdown / hover styles
2018-04-09 14:32:54 +01:00
James Koster
d1566fb0d2
Update block scope details design
2018-04-09 13:53:38 +01:00
Tiago Noronha
f83c958eec
Remove button tag around selected product checkmark
2018-04-07 00:34:47 +01:00
Tiago Noronha
f4bfda9832
Updated individual products design
2018-04-06 23:57:20 +01:00
claudiulodro
6cb26a20c8
Style and fix bug
2018-04-06 14:03:06 -07:00
claudiulodro
bb576d2a9c
Attribute sidebar description
2018-04-06 13:12:26 -07:00
claudiulodro
9efc26a3b3
Sidebar info working great except for attributes
2018-04-05 12:25:59 -07:00
Tiago Noronha
5d42920036
Closes woocommerce/woocommerce-blocks#84 : Adds order setting to individual product scope
2018-04-05 18:22:44 +01:00
Tiago Noronha
08ec9fa803
Closes woocommerce/woocommerce-blocks#59 : Individual products - remove rows slider
2018-04-05 17:19:36 +01:00
Tiago Noronha
710e8d03eb
Closes woocommerce/woocommerce-blocks#73 : Search result row should be clickable
2018-04-05 16:55:36 +01:00
claudiulodro
24898d007d
Refactor main products block for better maintainability
2018-04-04 12:26:23 -07:00
claudiulodro
c8dfecdf9a
Wording update for All scope woocommerce/woocommerce-blocks#72
2018-04-03 10:33:20 -07:00
claudiulodro
d5dbda0d9f
Use theme default number of rows
2018-04-03 10:26:56 -07:00
claudiulodro
55054fcd02
Jump direct to preview if no further settings are required woocommerce/woocommerce-blocks#68
2018-04-03 09:56:00 -07:00
claudiulodro
06e76d402a
Change block icon woocommerce/woocommerce-blocks#85
2018-04-03 09:22:01 -07:00
claudiulodro
bc8e85006c
Remove list view woocommerce/woocommerce-blocks#70
2018-04-02 11:46:57 -07:00
James Koster
1393ab769a
Update order option labels
...
Also arranges the options alphabetically
2018-03-19 10:09:23 +00:00
claudiulodro
c3354c6363
Price orderby shortcode functionality
2018-03-16 09:43:25 -07:00
claudiulodro
6eba00b97a
Remove rand and add price ordering
2018-03-16 09:26:42 -07:00
claudiulodro
24059f109d
Orderby selector
2018-03-15 10:20:43 -07:00
Tiago Noronha
f238cbbca0
Change cursor for current display and prevent option from being selected
2018-03-15 15:07:09 +00:00
Tiago Noronha
c5424350ab
Fix inline if statement
2018-03-14 15:15:34 +00:00
Tiago Noronha
a92bc86761
Add active state to scope switcher
2018-03-14 15:11:36 +00:00
Claudiu Lodromanean
cdf1c7ec6e
Merge pull request woocommerce/woocommerce-blocks#65 from woocommerce/fix/bugs
...
Fix product preview bugs
2018-03-12 10:21:43 -07:00
claudiulodro
25e6666145
Hide grid/list toggle in edit mode and better edit button disabling
2018-03-12 10:20:00 -07:00
Claudiu Lodromanean
4c3470ce18
Merge pull request woocommerce/woocommerce-blocks#57 from woocommerce/improve/specific
...
Specific Select improvements
2018-03-12 10:04:44 -07:00
claudiulodro
8a7b00b7cc
Update tooltip wording
2018-03-12 10:03:51 -07:00
claudiulodro
52c6b37abf
Format prices in preview
2018-03-09 11:45:53 -08:00
claudiulodro
8dbc87ee37
Fix layout issues with column/row settings
2018-03-09 11:33:57 -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
faa3309a8e
Disable Done button if no display selected
2018-03-09 09:57:08 -08:00
claudiulodro
4c10e3312c
Caching for specific select
2018-03-02 11:18:42 -08:00
claudiulodro
72eedda5df
Prevent Done button when no selection
2018-03-02 10:05:13 -08:00
claudiulodro
866a634e9d
Reset display setting when display changes to prevent e.g. product ids in the category select
2018-03-02 09:39:12 -08:00
claudiulodro
21b0f59efc
Each attribute doesnt need a loading indicator
2018-03-02 09:16:28 -08:00
Claudiu Lodromanean
bd48a9e397
Update README.md
2018-03-02 08:33:27 -08:00
Tiago Noronha
c00f32506c
Tweak popover margin
2018-03-02 00:24:45 +00:00
Tiago Noronha
0104cf3c3e
Removed fixed attribute item size
2018-03-01 19:43:21 +00:00
Tiago Noronha
eae0dbcd1c
Remove hidden sidebar hack, fixed width counts, and simple blocks styling
2018-03-01 19:24:12 +00:00
Patrick Rauland
12d3aa6da4
Update README.md
...
Adding the vision to the readme so people know what this repo is for. :)
2018-02-27 13:54:30 -07:00
Claudiu Lodromanean
ee935b6385
Merge pull request woocommerce/woocommerce-blocks#47 from woocommerce/styling-fixes
...
Styling fixes
2018-02-27 12:50:33 -08:00
Patrick Garman
1c6e583c32
Update README.md
2018-02-27 11:07:49 -06:00
Patrick Garman
193aab84d0
Requires Gutenberg 2.2+
...
![](http://c.pmgr.mn/R56GOX+ )
:D
2018-02-27 11:06:58 -06:00
Tiago Noronha
365d05ee6a
Add max-height to individual product search results
2018-02-27 15:41:03 +00:00
Tiago Noronha
a011a91057
Align bottom gradient when there are no results
2018-02-27 15:36:20 +00:00
Claudiu Lodromanean
1d041a1c2b
Merge pull request woocommerce/woocommerce-blocks#44 from woocommerce/specific-products-styling
...
Specific products styling
2018-02-27 07:19:39 -08:00
Tiago Noronha
3ce176a8d8
Add background to search results parent div
2018-02-27 15:12:14 +00:00
Tiago Noronha
5a1532d64c
Fix max width percentage
2018-02-27 14:47:15 +00:00
Tiago Noronha
5dc8e0fc2a
Fix attributes max width
2018-02-27 14:41:35 +00:00
Tiago Noronha
7e4fed3b68
Small screen tweaks
2018-02-27 14:28:48 +00:00
Tiago Noronha
05acb959a9
Restore fade out transition when adding an item from search
2018-02-27 14:08:32 +00:00
Tiago Noronha
c0a25d5e78
Styling fixes
2018-02-27 11:56:18 +00:00
Tiago Noronha
c486bd4208
Specific products styling
2018-02-26 22:52:12 +00:00
claudiulodro
cb5d2be41e
Only show column controls when not list layout
2018-02-26 12:21:47 -08:00
claudiulodro
add00960dc
Fix deprecation notices caused by new gutenberg version
2018-02-26 12:13:08 -08:00
claudiulodro
2d6701b107
Hook settings up to API preview and fix rangecontrol warning
2018-02-26 11:58:19 -08:00
claudiulodro
2d2702e035
Generate shortcodes for all settings
2018-02-26 11:12:21 -08:00
Claudiu Lodromanean
4c8eb59b9a
Merge pull request woocommerce/woocommerce-blocks#40 from woocommerce/fix/previewapi
...
"Fix" preview API call
2018-02-26 10:37:58 -08:00
claudiulodro
6a8c7e02f9
Resolve merge conflicts
2018-02-26 10:26:08 -08:00
Claudiu Lodromanean
3c06393135
Merge pull request woocommerce/woocommerce-blocks#41 from woocommerce/beautify
...
Updated styling for Categories and Attributes
2018-02-26 09:53:47 -08:00
Tiago Noronha
a5c9ba5cad
Categories, attributes and general styling
2018-02-26 17:10:45 +00:00
claudiulodro
271276e27b
"Fix" preview API call
2018-02-23 12:05:44 -08:00
claudiulodro
6f6246c779
Copy products into new array when updating display setting
2018-02-23 11:38:59 -08:00
claudiulodro
fdadfa5753
Resolve merge conflicts
2018-02-23 10:46:25 -08:00
claudiulodro
86419ad130
Close display setting menu when clicked off
2018-02-23 10:22:05 -08:00
Tiago Noronha
ba040ffe5e
General and menu styling
2018-02-23 14:57:27 +00:00
claudiulodro
23c6acaba2
Remove toggles and order setting
2018-02-22 12:11:53 -08:00
claudiulodro
6f28b2e0b5
Close product search results when clicked off
2018-02-22 11:06:13 -08:00
claudiulodro
caf0a09a79
Fade out products when selected
2018-02-22 10:48:34 -08:00
claudiulodro
01f8dd6915
Fix default layout after gberg update
2018-02-22 07:33:18 -08:00
claudiulodro
a0f1a63504
Clean up
2018-02-21 11:59:40 -08:00
claudiulodro
8fa05f6dab
Previews for attribute selections
2018-02-21 11:53:36 -08:00
claudiulodro
9f03594ae0
Basic attribute filtering
2018-02-21 11:30:47 -08:00
claudiulodro
a879ddc36a
Attributes data is moving around correctly now
2018-02-21 10:43:21 -08:00
claudiulodro
3dde60703b
Bring up to date with master
2018-02-21 10:08:34 -08:00
Tiago Noronha
a6b5d546f4
Checkbox indeterminate state and reveal accordions on first laod
2018-02-21 13:58:20 +00:00
claudiulodro
9148e9801b
Working attributes select UI
2018-02-20 11:47:50 -08:00
Tiago Noronha
4ca9df7a79
Toggle children when toggling a parent category
2018-02-20 17:00:43 +00:00
claudiulodro
d5b02e2996
Resolve merge conflicts
2018-02-19 12:58:13 -08:00
Tiago Noronha
ec403f8fc8
Remove top level item margin when accordion is open
2018-02-19 20:19:06 +00:00
Tiago Noronha
8645fe83fc
Add method docblock
2018-02-19 20:07:32 +00:00
Tiago Noronha
e60c2d2970
Remove redundant parameter
2018-02-19 20:05:59 +00:00
Tiago Noronha
99f3de3098
New design
2018-02-19 19:57:37 +00:00
claudiulodro
9949564a42
Products search and select
2018-02-16 11:40:19 -08:00
claudiulodro
f8f01a8e8f
Toggle open/close when clicking on settings groups
2018-02-15 11:54:03 -08:00
claudiulodro
d94773bd6f
Modularize the settings screens
2018-02-15 10:16:14 -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
claudiulodro
22e23e7252
Initialize with readme
2018-02-13 09:32:11 -08:00