woocommerce/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/cart
Rua Haszard 7921c3e5ba Record a tracks event when merchant toggles cart shipping calculator: (https://github.com/woocommerce/woocommerce-blocks/pull/1975)
* record a tracks event when merchant toggles cart shipping calculator:
- add tracks utility func for blocks
  - adds standard event name prefix
  - supplies post id & type params (an example)
- hook this up to UI when user toggles shipping calc
- pass enabled as boolean prop

* fix typo - call isTracksAvailable() !

* remove unnecessary temporary boolean

* update event name based on best practice guidelines

* remove isTracksAvailable preflight check:
- if site opts out, recordEvent is an empty function
- add in standard fallback boilerplate to ensure function exists
Note: currently no mechanism to detect if tracks is available on front end.
2020-03-26 10:12:34 +13:00
..
empty-cart Focus on Full Cart mode after inserting (https://github.com/woocommerce/woocommerce-blocks/pull/1582) 2020-01-17 13:23:33 +01:00
full-cart Add line pricing for cart items in the API (https://github.com/woocommerce/woocommerce-blocks/pull/1979) 2020-03-17 15:34:33 +00:00
attributes.js Configure link for the proceed to checkout button (https://github.com/woocommerce/woocommerce-blocks/pull/1981) 2020-03-17 10:30:52 +00:00
edit.js Record a tracks event when merchant toggles cart shipping calculator: (https://github.com/woocommerce/woocommerce-blocks/pull/1975) 2020-03-26 10:12:34 +13:00
editor.scss Configure link for the proceed to checkout button (https://github.com/woocommerce/woocommerce-blocks/pull/1981) 2020-03-17 10:30:52 +00:00
example.js Skeleton shopping cart block (https://github.com/woocommerce/woocommerce-blocks/pull/1306) 2019-12-03 08:57:56 -05:00
frontend.js Add validation context provider and implement validation for shipping country and coupons. (https://github.com/woocommerce/woocommerce-blocks/pull/1972) 2020-03-17 12:45:33 +01:00
index.js Refactor cart shipping settings and shipping calculator (https://github.com/woocommerce/woocommerce-blocks/pull/1943) 2020-03-13 13:41:59 +00:00
style.scss Cart block: line-items front end initial work (https://github.com/woocommerce/woocommerce-blocks/pull/1333) 2020-01-10 11:50:14 +13:00