woocommerce/plugins/woocommerce-blocks/assets/js/blocks/checkout
Mike Jolley 4fd16267be Refactor Push Changes Readability and Performance (https://github.com/woocommerce/woocommerce-blocks/pull/10315)
* Add local state to address-form

* Update test with valid postcode and required fields

* Push changes refactoring

* Avoid loops due to retrying same data

* Callbacks to prevent rerenders

* Move validation functions

* Filter incoming values to only those included as fields to prevent errors

* Keep track of country changes to prevent excessive updates of addressFormFields.

* Use helpers in test

* Fill company

* Revert local state in address form

* Update address form to remove validation handling for postcode (country clears the field).

* Revert "Update test with valid postcode and required fields"

This reverts commit 718a6006df24f6e957297ad4d1ef9d6f690793bd.

* Clear postcode when country changes if invalid

* Revalidate fields when country changes

* Comment for pick

* Revert unneccessary test change

* Revery moving of functions to reduce diff size

* Increase push timeout in tests

* Revert test changes
2023-08-09 18:24:51 +01:00
..
checkout-order-error Update @woocmmerce/eslint-plugin to 2.0.0 (https://github.com/woocommerce/woocommerce-blocks/pull/6203) 2022-04-08 14:47:19 +01:00
empty-cart fix: Markup is visible in checkout error notices (https://github.com/woocommerce/woocommerce-blocks/pull/6800) 2022-09-20 16:54:25 +01:00
form-step Styling fixes for form step headings (https://github.com/woocommerce/woocommerce-blocks/pull/9437) 2023-05-15 12:28:24 +01:00
inner-blocks Refactor Push Changes Readability and Performance (https://github.com/woocommerce/woocommerce-blocks/pull/10315) 2023-08-09 18:24:51 +01:00
order-notes Per block stylesheets (https://github.com/woocommerce/woocommerce-blocks/pull/9831) 2023-07-04 13:06:48 +02:00
phone-number Checkout/Store API: Push valid changes selectively (https://github.com/woocommerce/woocommerce-blocks/pull/8030) 2023-01-24 14:52:59 +00:00
styles Update settings text and styling (https://github.com/woocommerce/woocommerce-blocks/pull/9440) 2023-05-12 10:11:08 +01:00
attributes.ts Move Checkout block attributes into metadata (`block.json`) (https://github.com/woocommerce/woocommerce-blocks/pull/5594) 2022-01-28 16:37:06 +00:00
block.json Set Cart and Checkout blocks to be wide aligned by default (https://github.com/woocommerce/woocommerce-blocks/pull/8899) 2023-04-06 06:42:38 -07:00
block.tsx Fix total shipping display info when no shipping method is available (https://github.com/woocommerce/woocommerce-blocks/pull/8819) 2023-05-25 06:31:15 +01:00
context.ts Remove account creation setting from Checkout block (https://github.com/woocommerce/woocommerce-blocks/pull/7941) 2022-12-15 18:13:28 +07:00
edit.tsx Checkout Block: Avoid using editor buttons in the post content to prevent inheriting global styles (https://github.com/woocommerce/woocommerce-blocks/pull/8957) 2023-04-06 12:16:42 +01:00
frontend.tsx Spread metadata when loading block in frontend (https://github.com/woocommerce/woocommerce-blocks/pull/5732) 2022-02-08 10:33:27 +00:00
index.tsx Include Cart and Checkout Blocks when included in WC Core (https://github.com/woocommerce/woocommerce-blocks/pull/6805) 2022-08-15 11:15:15 +05:30
types.ts Remove account creation setting from Checkout block (https://github.com/woocommerce/woocommerce-blocks/pull/7941) 2022-12-15 18:13:28 +07:00
utils.ts Move Checkout block attributes into metadata (`block.json`) (https://github.com/woocommerce/woocommerce-blocks/pull/5594) 2022-01-28 16:37:06 +00:00