Matt Sherman
|
b256841135
|
Use getEditedEntityRecord to get product
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
f466d84bf5
|
Remove editedProduct from usesContext
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
67e3d72095
|
Add productType to ProductEditorContext interface
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
6f53697df2
|
Remove console.log
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
aa942771e5
|
Fix up TS errors
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
ea6dc94897
|
Move useEvaluationContext implementation to product-editor
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
334a10a9a4
|
useEvaluationContext hook
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
e244c8e025
|
Improve useSelect implementation
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
09b0cdcef7
|
Memoize block context
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
86a0a15588
|
Include productType in context; don't include editedProduct
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
7161534f96
|
Conditional visibility implementation with useSelect
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
5845bcb768
|
Conditional visibility implementation with context
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
6f2e89adcb
|
Use registerProductEditorBlockType for variations
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
cb15fbcd34
|
Use registerProductEditorBlockType for variation-options
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
dbc3c7a77b
|
Use registerProductEditorBlockType for variation-items
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
9d492800f3
|
Use registerProductEditorBlockType for tag
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
271258a0c4
|
Use registerProductEditorBlockType for summary
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
ca9b5c3dd9
|
Use registerProductEditorBlockType for shipping-dimensions
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
686ad5c026
|
Use registerProductEditorBlockType for shipping-class
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
e366809711
|
Use registerProductEditorBlockType for schedule-sale
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
d92d34f9fe
|
Use registerProductEditorBlockType for sale-price
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
c937b3eea9
|
Use registerProductEditorBlockType for regular-price
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
c4bd765eb6
|
Use registerProductEditorBlockType for password
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
6596e9c05c
|
Use registerProductEditorBlockType for notice
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
b3e0b2af93
|
Use registerProductEditorBlockType for name
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
8574fdec36
|
Use registerProductEditorBlockType for inventory-sku
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
9b161c6667
|
Use registerProductEditorBlockType for inventory-quantity
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
0d03ad93b3
|
Use registerProductEditorBlockType for inventory-email
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
ccdccc2de3
|
Use registerProductEditorBlockType for images
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
3324fe2787
|
Use registerProductEditorBlockType for description
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
f9aa73c7d3
|
Use registerProductEditorBlockType for catalog-visibility
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
8fee2c1669
|
Use registerProductEditorBlockType for attributes
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
2296f910c9
|
Use registerProductEditorBlockType for toggle
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
f2feaa7d55
|
Use registerProductEditorBlockType for text
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
d082491e1d
|
Use registerProductEditorBlockType for taxonomy
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
7a04b3909e
|
Use registerProductEditorBlockType for tab
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
3afe5d8233
|
Use registerProductEditorBlockType for section
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
aa9ed2d88a
|
Use registerProductEditorBlockType for radio
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
9bb83c1745
|
Use registerProductEditorBlockType for pricing
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
63d18234f8
|
Use registerProductEditorBlockType for number
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
57d1c4a0a7
|
Use registerProductEditorBlockType for conditional
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
f3eea29421
|
Use registerProductEditorBlockType for collapsible
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
bf8ea9a016
|
Use registerProductEditorBlockType for checkbox
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
7448e78aa7
|
Implement registerProductEditorBlockType
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
20acfe5e37
|
Update documentation
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
47cc46aac4
|
Implement hide conditions
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
04678d94f9
|
Add unit tests for hide conditions
|
2023-10-18 15:16:16 -04:00 |
Matt Sherman
|
c616e0c7c9
|
Add @woocommerce/block-templates dependencies (#40849)
|
2023-10-18 14:41:23 -04:00 |
Matt Sherman
|
2477acd313
|
Update lock file
|
2023-10-18 13:31:55 -04:00 |
Matt Sherman
|
51dec2db53
|
Add @wordpress/data to dependencies
|
2023-10-18 13:31:46 -04:00 |