Alex Florisca
edbfb862b1
Update payment docs ( https://github.com/woocommerce/woocommerce-blocks/pull/11751 )
...
* Update payment docs
* Update payment docs
* Update docs/internal-developers/block-client-apis/checkout/checkout-flow-and-events.md
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
---------
Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
2023-11-20 11:36:19 +00:00
Thomas Roberts
894f8e9ac4
Remove unused Verticals client PHP tests ( https://github.com/woocommerce/woocommerce-blocks/pull/11813 )
2023-11-17 06:02:58 -08:00
dependabot[bot]
471b9a1b60
Bump @wordpress/icons from 6.1.1 to 9.36.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/11611 )
...
* Bump @wordpress/icons from 6.1.1 to 9.36.0
Bumps [@wordpress/icons](https://github.com/WordPress/gutenberg/tree/HEAD/packages/icons ) from 6.1.1 to 9.36.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases )
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/icons/CHANGELOG.md )
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/icons@9.36.0/packages/icons )
---
updated-dependencies:
- dependency-name: "@wordpress/icons"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Add sparkles icon to codebase
* Fix failing JS-unit tests
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Niels Lange <info@nielslange.de>
2023-11-16 17:40:53 +00:00
Mike Jolley
377a3d9931
Make "Use same address for billing" visible by default ( https://github.com/woocommerce/woocommerce-blocks/pull/11804 )
2023-11-16 16:41:52 +00:00
Albert Juhé Lluveras
34432f150c
Update Smoke Testing docs to reference Product Collection block and Cart/Checkout templates ( https://github.com/woocommerce/woocommerce-blocks/pull/11713 )
...
* Update smoke testing docs to mention the Product Collection block instead of the Products block
* Mention that Cart and Checkout blocks need to be added to the template instead of the pages
* Update docs/internal-developers/testing/smoke-testing.md
Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
---------
Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
2023-11-16 16:25:34 +01:00
Alexandre Lara
c8ef0fb3af
Product Gallery block: Restrict block to be available only on the Single Product template or the Product Gallery template part ( https://github.com/woocommerce/woocommerce-blocks/pull/11664 )
...
* WIP: experimenting with strategy pattern for block registration
* Add TemplateChangeDetector to BlocksRegistrationManager
* Handle blocks registration
* Fix issue causing blocks to be registered multiple times
* Allow register/unregister blocks when on pages or posts
* Add BlockRegistrationStrategy logic
* Fix import error
* Add doc comments for BlockRegistrationManager class
* Add doc comments to TemplateChangeDetector class
* Fix eslint errors
* Import domReady from @wordpress/dom-ready
* Prevent error when using blockName for registerBlockType function
* Add e2e tests to check for block availability in different contexts
* Add e2e tests to cover block availability on different contexts
2023-11-16 15:03:58 +00:00
Hsing-yu Flowers
1a0a785227
Fix the order endpoint tax line items format ( https://github.com/woocommerce/woocommerce-blocks/pull/11796 )
2023-11-16 10:20:08 +00:00
Roy Ho
8f3f630522
Product gallery/dialog/enhancement ( https://github.com/woocommerce/woocommerce-blocks/pull/11755 )
...
* Hide pager in dialog
* Product Gallery: reset main image when dialog closes
* Product Gallery block: Add product title to dialog
* Align double arrow
* Use H2 to be more semantic
* Use product title block in template part
* Default pager to off
* Remove pager only in dialog
* Remove unused param
* Default pager to off instead of removing
2023-11-15 13:05:51 -08:00
Mike Jolley
fd4675aa6a
Refactor default editing state for customer address fields ( https://github.com/woocommerce/woocommerce-blocks/pull/11765 )
...
* Refactor default editing state for customer address fields
* Exclude email from invalid props check
* Merge conflict
2023-11-15 15:22:36 +00:00
Mike Jolley
b0697be9d5
Adds a state example for the payment data store ( https://github.com/woocommerce/woocommerce-blocks/pull/11770 )
...
* Adds a state example for the payment data store
* Update docs/third-party-developers/extensibility/data-store/payment.md
Co-authored-by: Niels Lange <info@nielslange.de>
* Update docs/third-party-developers/extensibility/data-store/payment.md
Co-authored-by: Niels Lange <info@nielslange.de>
* Update docs/third-party-developers/extensibility/data-store/payment.md
Co-authored-by: Niels Lange <info@nielslange.de>
* Full stop
---------
Co-authored-by: Niels Lange <info@nielslange.de>
2023-11-15 11:19:39 +00:00
Sam Seay
d62b950aae
Add a stock filter block powered by the interactivity API ( https://github.com/woocommerce/woocommerce-blocks/pull/11663 )
2023-11-15 16:50:05 +13:00
Seghir Nadir
49579f4aa0
Move phone to default fields section instead of being handled inline. ( https://github.com/woocommerce/woocommerce-blocks/pull/11651 )
...
* Move phone to default fields section
* remove unused files and actions
2023-11-14 18:30:23 +00:00
Alexandre Lara
415e12c163
Product Gallery block: Add E2E tests to cover Variable Products ( https://github.com/woocommerce/woocommerce-blocks/pull/11536 )
...
* WIP: cover variable products in Product Gallery block
* Fix e2e tests for Product Gallery Large Image block
* Fix php cs error
* Fix eslint errors
* Fix php cs error
* Fix php cs error
* Fix import of file that does not exist
* Specify selected variable product for Large Image block E2E tests
2023-11-14 15:00:11 -03:00
Alex Florisca
9ad8323851
Move Button, StoreNotice and StoreNoticesContainer components into the components package ( https://github.com/woocommerce/woocommerce-blocks/pull/11766 )
...
* Move Button, StoreNotice and StoreNoticesContainer components into the components package
* Delete the button folder and leave alias in index.ts
* Update references from @woocommerce/blocks-checkout to @woocommerce/blocks-components
2023-11-14 16:32:53 +00:00
Alba Rincón
6539b018ab
Fix hardcoded shop link in "Hero Product 3 Split" pattern ( https://github.com/woocommerce/woocommerce-blocks/pull/11767 )
2023-11-14 17:12:53 +01:00
Thomas Roberts
cb468c8ade
Move `TextInput`, `ValidatedTextInput` and `ValidationInputError` to the `@woocommerce/blocks-components` package. ( https://github.com/woocommerce/woocommerce-blocks/pull/11654 )
2023-11-14 14:52:14 +00:00
Mike Jolley
22bc80536f
Update release checklist ( https://github.com/woocommerce/woocommerce-blocks/pull/11660 )
...
* Update checklist
* Feedback and update patch checklist to match
2023-11-14 10:36:05 +00:00
Mike Jolley
02f9d97282
Playwright Fixes from the 11.5.x release branch ( https://github.com/woocommerce/woocommerce-blocks/pull/11737 )
...
* Adjust test to use legacy selector if block is not found
* Select block before transform
* Improve frame selector
2023-11-14 10:32:19 +00:00
Alex Florisca
cee80347f3
Add storybook entry for Label component ( https://github.com/woocommerce/woocommerce-blocks/pull/11682 )
2023-11-14 09:58:57 +00:00
Niels Lange
845c84be1e
Update changelog and testing notes for release 11.4.8
2023-11-14 14:22:26 +07:00
Caleb Mazalevskis
55f3cededf
Fix typo. ( https://github.com/woocommerce/woocommerce-blocks/pull/11382 )
2023-11-14 13:11:14 +13:00
Parikshit Adhikari
9b1ca0707a
fixed multiple typos inside docs ( https://github.com/woocommerce/woocommerce-blocks/pull/11426 )
2023-11-14 13:10:47 +13:00
Max Kohler
7cea7de7dd
Update codex link ( https://github.com/woocommerce/woocommerce-blocks/pull/11739 )
2023-11-14 13:09:50 +13:00
Alex Florisca
4d90cb2803
Add storybook entries for RadioControl and RadioControlAccordion ( https://github.com/woocommerce/woocommerce-blocks/pull/11657 )
2023-11-13 17:12:46 +00:00
Mike Jolley
e3d4996dad
v11.5.4 Changelog and testing notes
2023-11-13 14:44:58 +00:00
Mike Jolley
c93ee12770
Fix TT4 mobile styling for cart and notes field on checkout ( https://github.com/woocommerce/woocommerce-blocks/pull/11742 )
...
* Add box-sizing to textarea
* Fix cart mobile border
2023-11-13 12:52:29 +00:00
Mike Jolley
5bf57a90e1
Fix styling of Classic Cart and Checkout Blocks on regular pages ( https://github.com/woocommerce/woocommerce-blocks/pull/11694 )
...
* woocommerce_is_checkout/woocommerce_is_cart for classic shortcode block
* Add return to has_block_variation
2023-11-13 12:48:01 +00:00
Thomas Roberts
174c8e30ac
Add `Textarea` entry to Storybook ( https://github.com/woocommerce/woocommerce-blocks/pull/11635 )
2023-11-13 11:52:46 +00:00
Alba Rincón
94b6c8b048
[CYS] Reduce the number of times the patterns dictionary is accessed ( https://github.com/woocommerce/woocommerce-blocks/pull/11733 )
...
* Load content and images on registration if the patterns is in the dictionary
* Stop getting the content from each pattern
* Add comment with explanation about the change
2023-11-13 09:27:59 +01:00
Niels Lange
1228e9bf83
Ensure that incompatible notices are displayed in Safari. ( https://github.com/woocommerce/woocommerce-blocks/pull/11736 )
2023-11-10 21:52:50 +01:00
Thomas Roberts
abd32b21c9
Move `Panel` to components package ( https://github.com/woocommerce/woocommerce-blocks/pull/11698 )
2023-11-10 18:56:40 +00:00
Thomas Roberts
66fc4c5ea0
Add `FormStep` to Storybook ( https://github.com/woocommerce/woocommerce-blocks/pull/11489 )
2023-11-10 17:20:20 +00:00
Luigi Teschio
0d41c4df7e
Add changelog Release 11.1.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/11697 )
2023-11-10 16:50:15 +01:00
Tom Cafferkey
55f15c4912
PR Template: Add checklist item for browsers & viewports. ( https://github.com/woocommerce/woocommerce-blocks/pull/11735 )
2023-11-10 15:17:52 +00:00
Daniel Dudzic
ff680940e4
Product Gallery Pager: Remove unnecessary margin ( https://github.com/woocommerce/woocommerce-blocks/pull/11287 )
2023-11-10 09:40:45 +01:00
Saad Tarhi
2182457673
Fix the Layout for Shipping and Billing Address Forms in the Checkout Block ( https://github.com/woocommerce/woocommerce-blocks/pull/11486 )
...
* Fix empty spaces in the address form
* Fix checkout layout for Japan and Hungary
* Added some comments in CSS
2023-11-10 08:07:49 +01:00
Tung Du
d881fe208d
Fix: different collection data request between editor and front end ( https://github.com/woocommerce/woocommerce-blocks/pull/11710 )
2023-11-10 11:04:49 +07:00
Saad Tarhi
b8484850ff
Merge changes from 11.4.7
2023-11-10 00:28:33 +01:00
Roy Ho
ec8207e06c
Product Gallery: Fix limited images displayed in the dialog ( https://github.com/woocommerce/woocommerce-blocks/pull/11716 )
...
* Product Gallery: Fix limited images displayed in the dialog
* Fix linting errors
2023-11-09 14:10:31 -08:00
Mike Jolley
daea9f0fdf
Fix address block invalidations in the editor and address card display in Firefox ( https://github.com/woocommerce/woocommerce-blocks/pull/11714 )
...
* Add checks to see if getCartData finished before rendering address
* Prevent block error due to excessive updates of customValidation
* Do not condense address in admin and handle phone field
* Add missing showPhoneField for billing
---------
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2023-11-09 16:25:28 +00:00
Thomas Roberts
f8f535fc1d
Merge changes from 11.4.6
2023-11-09 15:38:14 +00:00
Mike Jolley
6d24efe009
onPaymentProcessing->onPaymentSetup ( https://github.com/woocommerce/woocommerce-blocks/pull/11578 )
...
* onPaymentProcessing->onPaymentSetup
* Missed a billingAddress
2023-11-09 11:47:49 +00:00
Thomas Roberts
df27cbac96
Update Jetpack WooCommerce Analytics module integration to check for changed template names ( https://github.com/woocommerce/woocommerce-blocks/pull/11707 )
2023-11-09 03:34:17 -08:00
Karol Manijak
41d40f47c2
Remove author, sticky, parents attributes from the Product Collection block in patterns ( https://github.com/woocommerce/woocommerce-blocks/pull/11673 )
2023-11-09 09:21:11 +01:00
Karol Manijak
955332941e
Translate Related Products heading in Single Product template ( https://github.com/woocommerce/woocommerce-blocks/pull/11693 )
...
* Create Related Products pattern reused in the Single Product template
That's needed in order to make the Related Products string translatable
* Add margin to Related Products heading
* Add margin to Related Products transformed from classic template
* Simplify the translation
* Change string capitalization so it's the same as the other one and can be transklated
2023-11-09 09:00:23 +01:00
Roy Ho
08b0ceff53
e2e: Add hacky workaround for product image gallery ( https://github.com/woocommerce/woocommerce-blocks/pull/11655 )
2023-11-08 13:55:35 -08:00
Albert Juhé Lluveras
419d4ed4fd
Update readme.txt and testing notes for 11.5.1
2023-11-08 19:39:44 +01:00
Albert Juhé Lluveras
68e6b251b0
Add protection against wrong params in get_block_template_fallback() ( https://github.com/woocommerce/woocommerce-blocks/pull/11690 )
...
* Add protection towards wrong params in get_block_template_fallback()
* Improve protection
2023-11-08 17:33:37 +01:00
Michael Pretty
f4d1372d06
Fix attempts to count possible non-countable variables or usage of undefined variables ( https://github.com/woocommerce/woocommerce-blocks/pull/11473 )
...
* Fix attempts to count possible non-countable variables or usage of undefined variables
This fixes a few miscellaneous small problems where a possibly undefined variable was attempted to be accessed or a variable that wasn't necessarily countable was passed to `count()`
These were found by running Rector with rules specific to finding issues with php8.
* Fixing lint spacing issue
2023-11-08 16:22:22 +00:00
Saad Tarhi
c1d2695fb0
Skip template related E2E tests ( https://github.com/woocommerce/woocommerce-blocks/pull/11700 )
2023-11-08 16:35:45 +01:00