-
Notifications
You must be signed in to change notification settings - Fork 221
Convert product-elements/price to TypeScript #7534
Convert product-elements/price to TypeScript #7534
Conversation
The release ZIP for this PR is accessible via:
|
Size Change: +7 B (0%) Total Size: 999 kB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me. I just left a minor suggestion.
Co-authored-by: Manish Menaria <the.manish.menaria@gmail.com>
TypeScript Errors ReportFiles with errors: 447
assets/js/atomic/blocks/product-elements/price/block.tsx
assets/js/atomic/blocks/product-elements/price/edit.tsx assets/js/atomic/blocks/product-elements/price/index.ts assets/js/blocks/cart/cart-cross-sells-product-list/cart-cross-sells-product.tsx |
TypeScript Errors ReportFiles with errors: 447
assets/js/atomic/blocks/product-elements/price/block.tsx
assets/js/atomic/blocks/product-elements/price/edit.tsx assets/js/atomic/blocks/product-elements/price/index.ts assets/js/blocks/cart/cart-cross-sells-product-list/cart-cross-sells-product.tsx |
Script Dependencies ReportThere is no changed script dependency between this branch and trunk. This comment was automatically generated by the |
…hub.com:woocommerce/woocommerce-blocks into update/7092-convert-product-element-price-to-TS # Conflicts: # assets/js/atomic/blocks/product-elements/price/edit.tsx
TypeScript Errors ReportFiles with errors: 447
assets/js/atomic/blocks/product-elements/price/block.tsx
assets/js/atomic/blocks/product-elements/price/edit.tsx assets/js/atomic/blocks/product-elements/price/index.ts assets/js/blocks/cart/cart-cross-sells-product-list/cart-cross-sells-product.tsx |
Thanks for your review, @imanish003. I addressed all your feedback. Would you mind doing another review? |
TypeScript Errors ReportFiles with errors: 445
assets/js/atomic/blocks/product-elements/price/block.tsx
assets/js/atomic/blocks/product-elements/price/edit.tsx assets/js/atomic/blocks/product-elements/price/index.ts assets/js/blocks/cart/cart-cross-sells-product-list/cart-cross-sells-product.tsx |
Fixes #7092
Currently, the
product-elements/price
is still written in JS and is using prop-types for type checking. This PR aims to convertproduct-elements/price
to TypeScript.Testing
User Facing Testing
Single Product block
to it.Product Price inner block
is still visible.