8bdc78c777
* Dispatch JS event about PC being rendered * Revert format changes * Write the callback * Add functions descriptions * Add changelog * Remove empty line * Add tests * Rename test cases * Replace waiting for page load with more reliable expect.poll * Remove leftover step Co-authored-by: Bart Kalisz <bartlomiej.kalisz@gmail.com> * Fix typo in function name * Add collection name to default Product Collection block * Expect collection name in the event * Expose the collection name through IAPI context * Send the collection name with the event * Trigger event also on page change * Remove unused CUSTOM collection type * Provide documentation * Update TOC * Update tests that verify the event payload * Improve E2E tests further * Don't add a Product Catalog collection type to default collection * Avoid repeating the same piece of code by extracting some function on tag processor * Rename function to better depict its purpose * Move the documentation to the right place * Remove the unused variable * Add example to dom-events doc * Update documentation * Update docs manifest * Attach default collection name * Add the default collection context in PHP so it covers all the cases * Prevent exposing product catalog collection name in event * Update docs * Update test --------- Co-authored-by: Bart Kalisz <bartlomiej.kalisz@gmail.com> |
||
---|---|---|
.. | ||
collections | ||
edit | ||
inner-blocks/no-results | ||
variations | ||
block.json | ||
constants.ts | ||
frontend.tsx | ||
icon.tsx | ||
index.tsx | ||
save.tsx | ||
style.scss | ||
tracks-utils.ts | ||
types.ts | ||
utils.tsx |