Luigi Teschio
eb24313fb0
Products Block: fix grid view with Gutenberg 16 ( https://github.com/woocommerce/woocommerce-blocks/pull/9916 )
...
* Revert "fix products block layout on gutenberg 16 (https://github.com/woocommerce/woocommerce-blocks/pull/9886 )"
This reverts commit 53665a5bde
.
* add post_template_has_support_for_grid_view setting
2023-06-20 16:12:43 +02:00
Luigi
50998bc9fa
update testing instructions
2023-06-20 14:46:37 +02:00
Albert Juhé Lluveras
25f8137e9c
Mini-Cart: don't include shipping price ( https://github.com/woocommerce/woocommerce-blocks/pull/9914 )
2023-06-20 14:45:30 +02:00
Luigi
20be12a52c
update zip link
2023-06-20 11:58:01 +02:00
Niels Lange
e39cc21444
Reference Mini Cart drawer preview dynamically ( https://github.com/woocommerce/woocommerce-blocks/pull/9912 )
...
* Reference Mini Cart drawer preview dynamically
* Update assets/js/blocks/mini-cart/edit.tsx
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
---------
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2023-06-20 11:56:36 +02:00
Luigi
08842ef392
update screenshot
2023-06-20 10:30:27 +02:00
Luigi
8b1cfe6c87
update testing instructions
2023-06-20 10:26:41 +02:00
Luigi
8f0d480f73
update testing instruction for woocommerce/woocommerce-blocks#9809
2023-06-20 09:12:05 +02:00
Luigi
6443868725
update zip link
2023-06-20 09:01:26 +02:00
Luigi
6b9c38dfc7
add woocommerce/woocommerce-blocks#9886 PR
2023-06-20 09:00:08 +02:00
Luigi Teschio
b8d072b291
fix products block layout on gutenberg 16 ( https://github.com/woocommerce/woocommerce-blocks/pull/9886 )
2023-06-20 08:57:31 +02:00
Luigi
51bc46594d
add woocommerce/woocommerce-blocks#9878 PR
2023-06-19 17:15:55 +02:00
Luigi Teschio
b585355fda
Mini Cart Block: show the total price, including tax, according to the option ( https://github.com/woocommerce/woocommerce-blocks/pull/9878 )
...
* Mini Cart Block: show the total price, including tax, according to the option
* Fix tests in PR 9878 (https://github.com/woocommerce/woocommerce-blocks/pull/9880 )
* add unit test
---------
Co-authored-by: Karol Manijak <karol.manijak@automattic.com>
2023-06-19 17:14:51 +02:00
Luigi
e190f46064
update zip file testing
2023-06-19 15:51:46 +02:00
Luigi
edd3dd38da
add woocommerce/woocommerce-blocks#9869 PR
2023-06-19 15:23:12 +02:00
Alexandre Lara
677d66f137
Fix PropType warning and error when adding All Reviews block to Editor ( https://github.com/woocommerce/woocommerce-blocks/pull/9869 )
2023-06-19 15:17:07 +02:00
Luigi
244cdf86e2
add testing instructions
2023-06-19 11:39:43 +02:00
Luigi
028d0a90ab
bump version
2023-06-19 11:38:19 +02:00
Luigi
8758f586e4
add readme
2023-06-19 10:05:54 +02:00
Alexandre Lara
8a6e1cdb76
Adjust PropTypes definition and fix block error when store has no reviews ( https://github.com/woocommerce/woocommerce-blocks/pull/9868 )
2023-06-19 12:37:57 +05:30
Karol Manijak
115ccca4f9
Don't treat Dependabot as community contributor ( https://github.com/woocommerce/woocommerce-blocks/pull/9254 )
...
* Test commit
* Don't treat dependabot as a community
* Remove unwanted change
* Make the check for ignored usernames clearer
2023-06-19 08:49:59 +02:00
Manish Menaria
eec844f447
Add Display Settings Toolbar to the Product Collection Block ( https://github.com/woocommerce/woocommerce-blocks/pull/9747 )
...
This commit introduces the 'Display Settings' toolbar for the 'Product Collection' block in the Gutenberg editor.
- A new component 'DisplaySettingsToolbar' is added in 'display-settings-toolbar.tsx'. It includes controls for changing the number of items per page, the offset, and the maximum number of pages to show in the block. The toolbar only shows up when the 'inherit' query attribute is set to false.
- The 'DisplaySettingsToolbar' component is then integrated into the main 'edit.tsx' file through 'ToolbarControls'.
- Styles have also been added to 'editor.scss' to ensure the popover content of the display settings toolbar has an appropriate minimum width.
2023-06-19 10:37:05 +05:30
Niels Lange
d70481ed8c
Update available-slot-fills.md
2023-06-18 20:08:05 +02:00
Brian
8dacf20cef
Update Keywords for Customer Account Block in block.json ( https://github.com/woocommerce/woocommerce-blocks/pull/9815 )
...
Co-authored-by: Karol Manijak <karol.manijak@automattic.com>
Co-authored-by: Niels Lange <info@nielslange.de>
2023-06-18 19:42:08 +02:00
Alexandre Lara
c5e8cc2256
Refactor: Convert with-transform-single-select-to-multiple-select.js to with-transform-single-select-to-multiple-select.tsx and replace propTypes with TypeScript definitions ( https://github.com/woocommerce/woocommerce-blocks/pull/9798 )
...
* Transform file from Javascript to Typescript
* Add SelectOption type and default value to selected prop
2023-06-16 16:24:12 -03:00
Alexandre Lara
e5dd772c94
Convert Product On Sale block file from JS to TS ( https://github.com/woocommerce/woocommerce-blocks/pull/9834 )
2023-06-16 13:43:54 -03:00
Alexandre Lara
ba47d5dc40
Refactor: Convert All Products block file from Javascript to Typescript and replace propTypes with TypeScript definitions ( https://github.com/woocommerce/woocommerce-blocks/pull/9802 )
...
* Convert All Products block from Javascript to Typescript
* Replace BlockAttributes type with local interface
2023-06-16 12:48:47 -03:00
Karol Manijak
f12c35ffc2
Temporarily skip PHP Unit Tests for PHP 8.1 and 8.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/9859 )
...
* Allow failure of the PHP Unit Tests
* Limit the PHP versions to 7.4 and 8.0 to run unit tests
* Don't allow failing fast
* Add a comment explaining the skipped part
* Cancel jobs later
* Cancel all the steps in workflow based on the same condition
2023-06-16 14:16:19 +02:00
Niels Lange
0d94479bbe
Update README.md
2023-06-16 13:59:30 +02:00
Mike Jolley
496fac8386
Performance: Cache script data in a transient for production builds ( https://github.com/woocommerce/woocommerce-blocks/pull/9120 )
...
* Cache script data in a transient for production builds
* Store as json
* Disable cache when script debug is on
* Disable in test environment
* Simplify caching structure
* Put back cache buster
* Fix update_script_data_cache
* Merge dependencies param always—do not cache it
2023-06-16 12:21:51 +01:00
Mike Jolley
ee4e0fac18
Keep change button visible even if prefersCollection is true ( https://github.com/woocommerce/woocommerce-blocks/pull/9809 )
2023-06-16 12:21:19 +01:00
Mike Jolley
4d14426ecb
Request 2.88.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/9827 )
2023-06-16 11:46:03 +01:00
Alba Rincón
8a67ae2f80
Convert `edit.js` to `edit.tsx` and replace `propTypes` with TypeScript definitions ( https://github.com/woocommerce/woocommerce-blocks/pull/9823 )
...
* Remove proptypes
* Refactor after review
2023-06-16 09:30:54 +02:00
Alba Rincón
2460a04abd
Remove propTypes ( https://github.com/woocommerce/woocommerce-blocks/pull/9824 )
2023-06-15 16:21:02 +02:00
Alba Rincón
e423c4fde9
Add a default attribute to the pattern if exists ( https://github.com/woocommerce/woocommerce-blocks/pull/9812 )
...
* Add a default attribute to the pattern if exists
* Use esc_attr instead of esc_html
2023-06-15 16:07:47 +02:00
Karol Manijak
1eebcd6750
Replace Automated tests badge with E2E and Unit tests badges ( https://github.com/woocommerce/woocommerce-blocks/pull/9836 )
2023-06-15 14:23:23 +02:00
Daniel Dudzic
cc6a9eab48
Mini Cart: Fix icon render ( https://github.com/woocommerce/woocommerce-blocks/pull/9828 )
2023-06-14 18:42:56 +02:00
Mike Jolley
c30c6afc53
Wait for cart to be removed when emptied ( https://github.com/woocommerce/woocommerce-blocks/pull/9829 )
2023-06-14 16:59:21 +01:00
Roy Ho
31138031f6
Convert grid-layout-control to use Typescript ( https://github.com/woocommerce/woocommerce-blocks/pull/9811 )
2023-06-14 07:07:28 -07:00
dependabot[bot]
4c012300c1
Bump mockery/mockery from 1.6.1 to 1.6.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/9796 )
...
Bumps [mockery/mockery](https://github.com/mockery/mockery ) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/mockery/mockery/releases )
- [Changelog](https://github.com/mockery/mockery/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mockery/mockery/compare/1.6.1...1.6.2 )
---
updated-dependencies:
- dependency-name: mockery/mockery
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-14 15:05:10 +01:00
Roy Ho
6270c39de8
Convert inner-block-layout-context to typescript ( https://github.com/woocommerce/woocommerce-blocks/pull/9799 )
...
* Convert inner-block-layout-context to typescript
* Add isLoading context
2023-06-14 06:36:39 -07:00
Mike Jolley
524b95acbd
Bump fast-xml-parser from 4.0.7 to 4.2.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/9818 )
...
* Bump fast-xml-parser from 4.0.7 to 4.2.4
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser ) from 4.0.7 to 4.2.4.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases )
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.0.7...v4.2.4 )
---
updated-dependencies:
- dependency-name: fast-xml-parser
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update package lock
* Update package
* Revert other package lock changes
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-14 14:32:19 +01:00
Tarun Vijwani
fe1294729e
Merge remote-tracking branch 'origin/trunk' into trunk
2023-06-13 16:13:47 +04:00
Tarun Vijwani
eed8d5088e
Add testing notes and changelog of 10.4.2
2023-06-13 16:13:03 +04:00
Hritik Chaudhary
563b439f25
Migrate Block Title component to TypeScript ( https://github.com/woocommerce/woocommerce-blocks/pull/9712 )
...
Co-authored-by: Niels Lange <info@nielslange.de>
Co-authored-by: Alba Rincón <albarin@users.noreply.github.com>
Co-authored-by: Manish Menaria <the.manish.menaria@gmail.com>
2023-06-13 16:30:57 +05:30
Daniel W. Robert
9f87afde32
Apply further optimizations to pattern images. ( https://github.com/woocommerce/woocommerce-blocks/pull/9803 )
...
Ran images through imagemin with the pngquant plugin to reduce the file
sizes for our pattern images.
2023-06-12 22:22:44 -04:00
Daniel Dudzic
0a23aca517
Mini Cart: Add an alternative icon setting ( https://github.com/woocommerce/woocommerce-blocks/pull/9570 )
...
* Mini Cart: Add an icon setting with 3 alternative icon options. Closes woocommerce/woocommerce-blocks#8556 .
* Mini Cart: Fix Mini-cart icons in the toggle setting.
* Minor type fixes.
* Clean up type definitions.
* Move alt icon logic to a separate function.
* Fix cart icons sizes
* Add a negative margin to the mini cart icon
2023-06-12 22:23:52 +02:00
Karol Manijak
b7f1ac2b4e
Add alt text to images used in patterns describing their purpose ( https://github.com/woocommerce/woocommerce-blocks/pull/9788 )
...
* Add alt text to images used in patterns describing their purpose
* Replace 1/3 notation with 1 out of 3, so it's better handled byt screen readers
2023-06-12 19:34:03 +02:00
Karol Manijak
42e95d1c54
Change the way of debug check of tests-mysql container ( https://github.com/woocommerce/woocommerce-blocks/pull/9794 )
2023-06-12 19:00:27 +02:00
Alexandre Lara
06a9b274c1
WooCommerce Classic Template block: Fix error on clearing customizations on Woo Templates ( https://github.com/woocommerce/woocommerce-blocks/pull/9759 )
...
* Fix Classic Template block error on clearing customizations on template
* Add link to issue in JS Doc
2023-06-12 13:55:20 -03:00