woocommerce/plugins/woocommerce-blocks/assets/js/blocks/product-gallery
Alexandre Lara c8ef0fb3af Product Gallery block: Restrict block to be available only on the Single Product template or the Product Gallery template part (https://github.com/woocommerce/woocommerce-blocks/pull/11664)
* WIP: experimenting with strategy pattern for block registration

* Add TemplateChangeDetector to BlocksRegistrationManager

* Handle blocks registration

* Fix issue causing blocks to be registered multiple times

* Allow register/unregister blocks when on pages or posts

* Add BlockRegistrationStrategy logic

* Fix import error

* Add doc comments for BlockRegistrationManager class

* Add doc comments to TemplateChangeDetector class

* Fix eslint errors

* Import domReady from @wordpress/dom-ready

* Prevent error when using blockName for registerBlockType function

* Add e2e tests to check for block availability in different contexts

* Add e2e tests to cover block availability on different contexts
2023-11-16 15:03:58 +00:00
..
block-settings Product Gallery: Add e2e tests for crop image option (https://github.com/woocommerce/woocommerce-blocks/pull/11559) 2023-11-06 07:17:25 -08:00
inner-blocks Fix typo. (https://github.com/woocommerce/woocommerce-blocks/pull/11382) 2023-11-14 13:11:14 +13:00
block.json Product Gallery Thumbnails: Add View all overlay (https://github.com/woocommerce/woocommerce-blocks/pull/11087) 2023-11-02 21:05:20 +01:00
edit.tsx Product Gallery block: Move inner block settings around to match the order from the design (https://github.com/woocommerce/woocommerce-blocks/pull/11170) 2023-10-10 14:04:54 +02:00
editor.scss Product Gallery: CSS styling tightening up (https://github.com/woocommerce/woocommerce-blocks/pull/10867) 2023-09-21 11:31:16 +00:00
frontend.tsx Product gallery/dialog/enhancement (https://github.com/woocommerce/woocommerce-blocks/pull/11755) 2023-11-15 13:05:51 -08:00
icon.tsx Product Gallery block: Fix incorrect icon color when block is selected (https://github.com/woocommerce/woocommerce-blocks/pull/10426) 2023-08-11 11:59:35 -03:00
index.tsx Product Gallery block: Restrict block to be available only on the Single Product template or the Product Gallery template part (https://github.com/woocommerce/woocommerce-blocks/pull/11664) 2023-11-16 15:03:58 +00:00
save.tsx Product Gallery: CSS styling tightening up (https://github.com/woocommerce/woocommerce-blocks/pull/10867) 2023-09-21 11:31:16 +00:00
settings.ts Product Gallery block: Restrict block to be available only on the Single Product template or the Product Gallery template part (https://github.com/woocommerce/woocommerce-blocks/pull/11664) 2023-11-16 15:03:58 +00:00
style.scss Product Gallery Pager: Remove unnecessary margin (https://github.com/woocommerce/woocommerce-blocks/pull/11287) 2023-11-10 09:40:45 +01:00
types.ts Product Gallery block: Move inner block settings around to match the order from the design (https://github.com/woocommerce/woocommerce-blocks/pull/11170) 2023-10-10 14:04:54 +02:00
utils.tsx Product Gallery: Fix justification not saving correctly (https://github.com/woocommerce/woocommerce-blocks/pull/11324) 2023-10-20 05:42:48 -07:00