* WC_REST_Telemetry_Controller: add `first_used` and `installation_date` meta fields for WCTracker.
* Add `installation_date` parameter to the endpoint parameter collection.
* Update implementation with unit tests.
* Update comments in the test class.
* Auto fixes from phpcbf.
* Attempt fixing lint errors in the tests.
* Set the installation date with the same date format as the pre-existing `last_used`.
* Add changelog.
* Fix an issue where the lack of installation date in the request still sets the field to the current date.
* Attempt fixing lint errors with phpcbf.
* Initial BlockTemplate implementation
* Initial BlockTemplate tests
* FIx undefined array key errors
* Fix linter errors (except for missing docs ones)
* Get as simple array
* Unit test updates for get_as_simple_array()
* Remove inner content (not used currently)
* Rename attrs to attributes
* Move name out of data array
* Move id out of data array
* Move order out of data array
* Move attributes out of data array; remove data array
* Add doc comments to Block
* Add doc comments to BlockTemplate
* Add doc comments to BlockContainerInterface and BlockContainerTrait
* Doc comment updates.
* Add doc comments to BlockTest
* Add doc comments to BlockTemplateTest
* Add BlockInterface
* Remove key consts from Block
* Move implementations to internal
* Clean up interfaces
* Do not have BlockInterface extend BlockContainerInterface
* FIx case in namespace declaration
* Add exceptions to add_block doc
* Rename BlockTemplate to BlockBasedTemplate
* Rename block-based template vars in tests
* Fix missing get_parent on block containers
* Changelog
* Add get_block_by_id to BlockBasedTemplateInterface
* Rename get_block_by_id to get_block
* Rename get_as_simple_array to get_as_formatted_template
* Rename child blocks to inner blocks
* Rename BlockBasedTemplate to BlockTemplate
* Move validation to separate method
* Move namespace to be non-product editor specific
* Rename get_as_formatted_ methods to get_formatted_
* Rename BlockBasedTemplateTest to BlockTemplateTest
* Add ability to use a custom block generator with add_block
* Add check that block belongs to root template in internal_add_block_to_template
* Fix up code docs related to $block_creator
* Fix code doc linting errors in tests
* Add test for a buggy block creator implementation
* Add test for an invalid block creator
* Rename internal_add_block_to_template to cache_block
* Add add_block_container() method
* Fix linting issue.
* Fix minor issues in ContainerInterface with get_root_template() and get_parent()
* Add block template with abstract blocks and templates (#39630)
* Make block template abstract and protected add block methods
* Create block abstraction and generic block
* Remove add_block from container interface
* Update tests for generic and custom blocks
* Add tests around custom block templates
* Fix up lint errors
* Fix errant comment for add_block
---------
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Create and register product-variation-items-field block
* Create variations-table component
* Use variations-table component in variation-items block
* Remove last border bottom from the variation options list
* Add changelog file
* Add changelog file
* Autoload test helpers and exclude from test suites.
This avoids loading order problems, and eliminates warnings (about HposTestCase) not containing any tests.
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Fix enhance attribute logic
* Add changelog
* Fix test
* Add auto create global attribute term and fix bug with terms for global attribute
* Fix test and update changelogs
* Add invalidate resolution call and error notice
* Revert auto create on select changes
* Compare props to set changed array between post and order data.
* Use correct classname so that props can be set.
* Also clear cache after update and before backfill.
* Add support to attribute control for creating global attributes
* Add create global attribute to variation block
* Add changelog
* Invalidate the attributeTerm search after creating a new attribute term
* Add default attributes property to the Product type
* Add change log file
* Set default attributes when click add from the attribute options modal
* Add Set default value checkbox to the edit attribute modal
* Manage default attributes when update or delete an attribute option
* Show Set default value only when the editing attribute is used for variations
* Add change log file
* Do not run code in tracks debug unless WC_ABSPTAH is defined.
* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester
* Also avoid registering scripts if Woo is not installed.
---------
Co-authored-by: github-actions <github-actions@github.com>