Mike Jolley
06b9b29454
Refresh the cart when using the browser back button ( https://github.com/woocommerce/woocommerce-blocks/pull/8236 )
...
* Refresh on back
* Move refresh code to a hook in useStoreCart
* Load mini cart scripts when page is invalid
* Update code comments
* refreshDataIfPersisted->refreshCachedCartData
* Avoid deprecated code
* Only notify if cart resolution has finished
* Fix tests to check for cart resolution
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2023-01-25 16:28:41 +00:00
Tung Du
6c42a30674
Use theme's body background color as the mini cart contents default background color ( https://github.com/woocommerce/woocommerce-blocks/pull/7510 )
...
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2022-10-28 22:30:51 +07:00
Alex Florisca
0c7c2db6c0
Update @woocmmerce/eslint-plugin to 2.0.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/6203 )
...
* Update @woocmmerce/eslint-plugin to 2.0.0
* Fixed some eslint errors
* Fix syntax errors
* Fix most linting errors
* Feedback changes
* Fix one more eslint issue
2022-04-08 14:47:19 +01:00
Alex Florisca
e37b787e50
Move mini cart outside cart-checkout folder ( https://github.com/woocommerce/woocommerce-blocks/pull/6192 )
...
* Move shared folder to /blocks
* Moved mini-cart block in blocks dir:
* Rename shared folder to cart-checkout-shared
* Remove customDir from mini-cart webpack entry
* Update assets/js/base/context/tsconfig.json
Co-authored-by: Tung Du <dinhtungdu@gmail.com>
* Feedback changes
Co-authored-by: Tung Du <dinhtungdu@gmail.com>
2022-04-07 14:47:58 +01:00
Alex Florisca
e15d516163
Revert "Move cart and mini-cart blocks into their own folders ( https://github.com/woocommerce/woocommerce-blocks/pull/6126 )" ( https://github.com/woocommerce/woocommerce-blocks/pull/6190 )
...
This reverts commit d005dbd2cf
.
2022-04-05 11:14:32 +01:00
Alex Florisca
d005dbd2cf
Move cart and mini-cart blocks into their own folders ( https://github.com/woocommerce/woocommerce-blocks/pull/6126 )
...
* Move cart and mini-cart into their own folders
* Update other references of cart-checkout
2022-04-04 12:34:29 +01:00