woocommerce/plugins/woocommerce-blocks/assets/js/data
Mike Jolley 13d3e11d40
Checkout: Add password field to create account form (#48985)
* Add site title to account checkbox

* Add customer_password support to Store API

* Hide password nag if defining own password

* Add woocommerce_registration_generate_password option to block assets

* Change login prompt to just "log in"

* Add default styling to password inputs

* Reset line height for checkbox inputs

* Add customer password to store

* Add password field to contact information block

* Handle customer password in checkout processor

* Styling for new elements

* Update tests so they match new create account label

* Update log in link in tests

* Add e2e tests for password field

* Add validation message and fix rendering when account is required

* Changelog

* Add missing api to tests

* Remove console log

* rerender checkout

* Update log in link in test

* Adjust validation so we can change the label in messages with custom callback

* Use queryByText in test

* Make sure password generation is on in tests

* Create password if provided password is empty

* Skip "Place order" button translation test

* Revert "Skip "Place order" button translation test"

This reverts commit 7aed6137e88cdb3577f74f6f0c05258b531ed534.

* Update plugins/woocommerce-blocks/assets/js/blocks/checkout/inner-blocks/checkout-contact-information-block/block.tsx

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

* Update plugins/woocommerce-blocks/assets/js/data/checkout/reducers.ts

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

* Comment empty condition

* Update CSS classnames

* Return null in CreateAccountUI if nothing to display

* Linting: Return return param

* Document $password param

---------

Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
2024-07-15 11:43:02 +01:00
..
cart Accessibility: Prevent shipping losing focus when making selections during checkout (#48370) 2024-06-21 10:23:19 +01:00
checkout Checkout: Add password field to create account form (#48985) 2024-07-15 11:43:02 +01:00
collections Improve the data stores documentation (https://github.com/woocommerce/woocommerce-blocks/pull/11336) 2023-10-26 09:37:13 +07:00
payment Adding support for co-branded credit cards (#45903) 2024-04-15 22:59:05 +01:00
query-state Improve the data stores documentation (https://github.com/woocommerce/woocommerce-blocks/pull/11336) 2023-10-26 09:37:13 +07:00
schema Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
store-notices Improve the data stores documentation (https://github.com/woocommerce/woocommerce-blocks/pull/11336) 2023-10-26 09:37:13 +07:00
utils Graduate Additional Fields to stable and rename it. (#46805) 2024-04-23 16:47:32 +02:00
validation Support additional fields in the Contact step for Checkout (#43088) 2024-01-05 18:35:28 +01:00
README.md Improve the data stores documentation (https://github.com/woocommerce/woocommerce-blocks/pull/11336) 2023-10-26 09:37:13 +07:00
constants.ts Checkout - Available Payment Method Filtering (https://github.com/woocommerce/woocommerce-blocks/pull/8441) 2023-03-13 10:29:17 +00:00
index.ts Update the sidebar notice we show for incompatible extensions (https://github.com/woocommerce/woocommerce-blocks/pull/10877) 2023-09-29 17:39:57 +07:00
mapped-types.ts Add notice on quantity change and update `wc/store/cart` to use thunks (https://github.com/woocommerce/woocommerce-blocks/pull/7938) 2022-12-16 08:06:37 -08:00
shared-controls.ts Accessibility: Prevent shipping losing focus when making selections during checkout (#48370) 2024-06-21 10:23:19 +01:00

README.md

Data Stores

The docs for the Data Stores can be found in docs/third-party-developers/extensibility/data-store/README.md