435e341fe6
* 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> |
||
---|---|---|
.. | ||
mini-cart-contents | ||
quantity-badge | ||
test | ||
block.tsx | ||
component-frontend.tsx | ||
edit.tsx | ||
frontend.ts | ||
index.tsx | ||
style.scss |