Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Conversation

budzanowski
Copy link
Contributor

As requested in #3868 a new AssetsInitializaton class was created in place of Assets. The new class is initialized in Bootstrap which matches the pattern used for the initialization of other classes. The Assets was stripped-down and only the method that was exposed externally is still in the class body.

Fixes #3868

This is based on #3748 so it needs to wait on that.

Changelog

Add suggested changelog entry here.
Assets initialization cleanup.

@github-actions
Copy link
Contributor

Remove fix to load our stylesheets after editor CSS. See ...

Remove fix to load our stylesheets after editor CSS. See #3068 for the rationale of this fix. It should be no longer github.com/WordPress/gutenberg/issues/20797).


https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/5aa2ac1b34cbf9c8f02ab4b97121314ffeea0ebe/src/Domain/AssetsInitialization.php#L58-L71

🚀 This comment was generated by the automations bot based on a todo comment in 5aa2ac1 in #3875. cc @budzanowski

@github-actions
Copy link
Contributor

Size Change: 0 B

Total Size: 1.15 MB

ℹ️ View Unchanged
Filename Size Change
build/active-filters-frontend.js 8.38 kB 0 B
build/active-filters.js 8.57 kB 0 B
build/all-products-frontend.js 34.8 kB 0 B
build/all-products.js 36.4 kB 0 B
build/all-reviews.js 9.93 kB 0 B
build/atomic-block-components/add-to-cart--atomic-block-components/button.js 3.37 kB 0 B
build/atomic-block-components/add-to-cart--atomic-block-components/image--atomic-block-components/title.js 334 B 0 B
build/atomic-block-components/add-to-cart-frontend.js 9.23 kB 0 B
build/atomic-block-components/add-to-cart.js 7.68 kB 0 B
build/atomic-block-components/button-frontend.js 2.39 kB 0 B
build/atomic-block-components/button.js 841 B 0 B
build/atomic-block-components/category-list-frontend.js 469 B 0 B
build/atomic-block-components/category-list.js 478 B 0 B
build/atomic-block-components/image-frontend.js 1.77 kB 0 B
build/atomic-block-components/image.js 1.24 kB 0 B
build/atomic-block-components/price-frontend.js 1.94 kB 0 B
build/atomic-block-components/price.js 1.97 kB 0 B
build/atomic-block-components/rating-frontend.js 521 B 0 B
build/atomic-block-components/rating.js 527 B 0 B
build/atomic-block-components/sale-badge-frontend.js 858 B 0 B
build/atomic-block-components/sale-badge.js 866 B 0 B
build/atomic-block-components/sku-frontend.js 389 B 0 B
build/atomic-block-components/sku.js 393 B 0 B
build/atomic-block-components/stock-indicator-frontend.js 569 B 0 B
build/atomic-block-components/stock-indicator.js 573 B 0 B
build/atomic-block-components/summary-frontend.js 898 B 0 B
build/atomic-block-components/summary.js 902 B 0 B
build/atomic-block-components/tag-list-frontend.js 467 B 0 B
build/atomic-block-components/tag-list.js 473 B 0 B
build/atomic-block-components/title-frontend.js 1.35 kB 0 B
build/atomic-block-components/title.js 1.21 kB 0 B
build/attribute-filter-frontend.js 18.3 kB 0 B
build/attribute-filter.js 12.6 kB 0 B
build/blocks-checkout.js 17 kB 0 B
build/blocks.js 3.49 kB 0 B
build/cart-frontend.js 75.7 kB 0 B
build/cart.js 38.5 kB 0 B
build/checkout-frontend.js 80.4 kB 0 B
build/checkout.js 41.3 kB 0 B
build/editor-rtl.css 14.9 kB 0 B
build/editor.css 14.9 kB 0 B
build/featured-category.js 7.87 kB 0 B
build/featured-product.js 10.1 kB 0 B
build/handpicked-products.js 7.56 kB 0 B
build/price-filter-frontend.js 14.6 kB 0 B
build/price-filter.js 9.99 kB 0 B
build/price-format.js 1.35 kB 0 B
build/product-best-sellers.js 7.62 kB 0 B
build/product-categories.js 3.23 kB 0 B
build/product-category.js 8.57 kB 0 B
build/product-new.js 7.79 kB 0 B
build/product-on-sale.js 8.19 kB 0 B
build/product-search.js 3.64 kB 0 B
build/product-tag.js 6.63 kB 0 B
build/product-top-rated.js 7.76 kB 0 B
build/products-by-attribute.js 8.55 kB 0 B
build/reviews-by-category.js 12 kB 0 B
build/reviews-by-product.js 13.5 kB 0 B
build/reviews-frontend.js 9.57 kB 0 B
build/single-product-frontend.js 38 kB 0 B
build/single-product.js 10.3 kB 0 B
build/style-rtl.css 18.9 kB 0 B
build/style.css 18.8 kB 0 B
build/vendors--atomic-block-components/price-frontend.js 6.53 kB 0 B
build/vendors-style-rtl.css 1.05 kB 0 B
build/vendors-style.css 1.05 kB 0 B
build/vendors.js 418 kB 0 B
build/wc-blocks-data.js 6.97 kB 0 B
build/wc-blocks-middleware.js 1.1 kB 0 B
build/wc-blocks-registry.js 2.67 kB 0 B
build/wc-payment-method-bacs.js 820 B 0 B
build/wc-payment-method-cheque.js 817 B 0 B
build/wc-payment-method-cod.js 913 B 0 B
build/wc-payment-method-paypal.js 853 B 0 B
build/wc-payment-method-stripe.js 12.7 kB 0 B
build/wc-settings.js 2.4 kB 0 B
build/wc-shared-context.js 1.53 kB 0 B
build/wc-shared-hocs.js 1.69 kB 0 B

compressed-size-action

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants