Matt Sherman
|
4a49683a69
|
Changelog
|
2023-10-18 18:57:22 -04:00 |
Matt Sherman
|
c292a09716
|
Add missing code docs
|
2023-10-18 18:54:42 -04:00 |
Matt Sherman
|
6b6ffd184e
|
Remove unused imports
|
2023-10-18 18:44:32 -04:00 |
Matt Sherman
|
8a1709a275
|
Make useEvaluationContext param optional
|
2023-10-18 18:41:40 -04:00 |
Matt Sherman
|
d14124c513
|
Fix up registerWooBlockType unit test
|
2023-10-18 18:41:22 -04:00 |
Matt Sherman
|
076939f2e4
|
Ignore ts error about lack of types for @wordpress/data
|
2023-10-18 15:43:26 -04:00 |
Matt Sherman
|
e6a197cbb2
|
Fix undefined array key warning
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
48d5cca0b8
|
Fix block registration for downloads
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
6b55e7c096
|
Refactor client-side usesContext augmentation
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
a4002105a4
|
Refactor client-side attribute augmentation
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
afa2b768b5
|
Refactor server-side block registration
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
23b2953934
|
Fix block registration on notice-edit-single-variation
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
2981f14a5b
|
Fix block registration for downloads
|
2023-10-18 15:16:17 -04:00 |
Matt Sherman
|
2acd1b54e1
|
Auto add attributes and uses_context during server-side registration
|
2023-10-18 15:16:17 -04:00 |
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 |