woocommerce/plugins/woocommerce-blocks/assets/js/data
Mike Jolley 45923dc5f3
[Experiment] Handle customer session meta data (#44181)
* Update data store to bail if there is no customer ID

* Use WC_Data meta functions

* Save and load meta in session class

* Customer session handling

* CheckoutFields - only persist customer data to accounts

* Inline docs for session handling

* Handle meta data in session

* Document wc->customer inline

* Store only additional fields in session

* Prevent notice in WC_Data

* Organise keys and remove duplicates

* Correctly save fields to account

* Fix notices on checkout

* Remove unnecessary diff

* Changelog

* Go back to previous way to loading session handler to avoid 3rd party breakage

* No need to track is_session

* white space

* Remove changes to customer data store

* Update class-wc-customer-data-store.php

* Populate client from additional values from api

* Additional fields in session

* Add woocommerce_customer_allowed_session_meta_keys hook

* Put back legacy keys for tests

* Remove key fixes

* Don't save additional fields to customer object

* Remove duplicate init call

* Only persist contact fields
2024-02-06 15:16:00 +00:00
..
cart Support additional fields in the Contact step for Checkout (#43088) 2024-01-05 18:35:28 +01:00
checkout [Experiment] Handle customer session meta data (#44181) 2024-02-06 15:16:00 +00:00
collections Improve the data stores documentation (https://github.com/woocommerce/woocommerce-blocks/pull/11336) 2023-10-26 09:37:13 +07:00
payment Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08: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 [Experimental] Add `$request` to additional fields validation filter (#43789) 2024-01-19 23:21:47 -08: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 Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00

README.md

Data Stores

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