woocommerce/plugins/woocommerce-blocks/assets/js/blocks/checkout
Mike Jolley 435e341fe6 Expose cart errors as notices (https://github.com/woocommerce/woocommerce-blocks/pull/8162)
* Scroll to errors when interacting with radio buttons

* Fix full stop wrapping in checkout

* Make type guard for api response reusable

* Merge useShippingData  and useSelectShippingRate

Overlapping functionality and responsibility easily merged into a single hook.

* ShippingDataProvider Typescript

* Create errors when receiving errors via thunk

* Update DEFAULT_ERROR_MESSAGE

* Update tests since all errors are set via new action

* Correct SET_ERROR_DATA

* Update json error text and allow it to be dismissed

* Add back missing comment in types

* Put back typedef

* Allow Store Notice Containers to display subContexts without changing original context

* receiveError handles cart

* Update assets/js/data/cart/notify-errors.ts

Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>

* Update assets/js/base/context/hooks/shipping/types.ts

Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>

* Remove debug

* Revise type (remove as)

* rename to unregisteredSubContexts

* getNoticeContexts comment

* Add test for unregistered errors

* Update comment

Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
2023-01-19 16:40:52 +00: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 Enhancement/pickup location editor improvements (https://github.com/woocommerce/woocommerce-blocks/pull/7446) 2023-01-12 15:40:15 +01:00
inner-blocks Add coupon link instead of dropdown in Cart and Checkout blocks (https://github.com/woocommerce/woocommerce-blocks/pull/7993) 2023-01-17 13:10:50 +04:00
order-notes Convert `CheckoutOrderNotes` to TS (https://github.com/woocommerce/woocommerce-blocks/pull/6118) 2022-03-28 15:44:25 +02:00
phone-number Update ValidatedTextInput TypeScript & move to `@woocommerce/blocks-checkout` (https://github.com/woocommerce/woocommerce-blocks/pull/7583) 2022-11-10 02:05:41 -08:00
styles Add coupon link instead of dropdown in Cart and Checkout blocks (https://github.com/woocommerce/woocommerce-blocks/pull/7993) 2023-01-17 13:10:50 +04: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 Remove account creation setting from Checkout block (https://github.com/woocommerce/woocommerce-blocks/pull/7941) 2022-12-15 18:13:28 +07:00
block.tsx Expose cart errors as notices (https://github.com/woocommerce/woocommerce-blocks/pull/8162) 2023-01-19 16:40:52 +00: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 Ensure Slot/Fills render in editor (https://github.com/woocommerce/woocommerce-blocks/pull/8111) 2023-01-06 06:53:53 -08: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