woocommerce/plugins/woocommerce-admin/client/products/fields
Joshua T Flowers 89438cf873
Remove variations logic from the AttributeControl component (#36563)
* Move attribute data changes out of attribute control

* Move dynamic text to props

* Add onModalOpen callback

* Add onModal close prop

* Add changelog entry

* Use closeModal for edit attribute modal

* Add onEdit callback

* Extract util to get unique attribute id

* Rename editingAttribute to currentAttribute

* Rename showAttributeModal to isNewModalVisible

* Rename AddAttributeModal to NewAttributeModal

* Fix up handle add attributes

* Add onRemove callback for attibutes

* Fix up modal styling classes

* Fix up closing edit modal

* Fix up modal title for options

* Handle PR feedback

* Separate handlers for edit and new modal callbacks

* Update event names to be option/attribute specific

* Use default callback functions

* Handle PR feedback
2023-02-02 13:04:32 -08:00
..
attribute-control Remove variations logic from the AttributeControl component (#36563) 2023-02-02 13:04:32 -08:00
attribute-empty-state Refactor AttributeField into sub-components (#35997) 2022-12-15 21:49:02 -05:00
attribute-input-field Extract attribute filtering and fetching logic out of attribute components (#36354) 2023-01-17 04:34:08 -04:00
attribute-list-item Remove variations logic from the AttributeControl component (#36563) 2023-02-02 13:04:32 -08:00
attribute-term-input-field Add open on focus to attribute fields (#35758) 2022-11-30 04:05:11 -04:00
attributes Remove variations logic from the AttributeControl component (#36563) 2023-02-02 13:04:32 -08:00
category-field Decode HTML entities in CategoryFieldItem (#36367) 2023-01-12 10:21:43 -05:00
options Remove variations logic from the AttributeControl component (#36563) 2023-02-02 13:04:32 -08:00
shipping-dimensions-image Add shipping dimensions image (#34857) 2022-10-03 15:06:17 -03:00
single-image-field Add product variation image (#36133) 2022-12-23 10:28:44 -08:00
variations Fix navigation between variations and tab selection (#36239) 2023-01-03 08:59:49 -08:00