-
Notifications
You must be signed in to change notification settings - Fork 219
Fix for Rating alignment when used in Products block #8104
Conversation
The release ZIP for this PR is accessible via:
|
TypeScript Errors ReportFiles with errors: 436
assets/js/atomic/blocks/product-elements/add-to-cart/edit.js
assets/js/atomic/blocks/product-elements/button/block.js assets/js/atomic/blocks/product-elements/button/edit.js assets/js/atomic/blocks/product-elements/button/index.js assets/js/atomic/blocks/product-elements/price/block.js assets/js/atomic/blocks/product-elements/price/edit.js assets/js/atomic/blocks/product-elements/rating/block.tsx assets/js/atomic/blocks/product-elements/rating/index.ts assets/js/atomic/blocks/product-elements/sale-badge/index.ts assets/js/atomic/blocks/product-elements/sku/index.ts assets/js/atomic/blocks/product-elements/stock-indicator/index.ts assets/js/base/components/block-error-boundary/index.tsx assets/js/base/components/cart-checkout/address-form/test/index.js assets/js/base/components/cart-checkout/totals/shipping/has-shipping-rate.js assets/js/base/components/cart-checkout/totals/shipping/shipping-rate-selector.js assets/js/base/components/radio-control-accordion/index.js assets/js/base/components/reviews/review-list-item/index.js assets/js/base/components/reviews/review-list/index.js assets/js/base/components/reviews/review-sort-select/index.js assets/js/base/context/event-emit/test/emitters.js assets/js/base/context/hooks/cart/use-store-cart-coupons.ts assets/js/base/context/hooks/use-checkout-notices.js assets/js/base/context/providers/cart-checkout/checkout-processor.js assets/js/base/context/providers/editor-context.js assets/js/base/context/providers/store-snackbar-notices/components/snackbar-notices-container.js assets/js/base/utils/errors.js assets/js/base/utils/render-frontend.tsx assets/js/blocks-registry/block-components/test/index.js assets/js/blocks-registry/payment-methods/test/payment-method-config-helper.ts assets/js/blocks-registry/payment-methods/test/registry.ts assets/js/blocks/attribute-filter/test/block.tsx assets/js/blocks/cart-checkout-shared/payment-methods/payment-method-error-boundary.js assets/js/blocks/cart-checkout-shared/use-view-switcher.tsx assets/js/blocks/cart/block.js assets/js/blocks/cart/cart-cross-sells-product-list/cart-cross-sells-product.tsx assets/js/blocks/cart/inner-blocks/proceed-to-checkout-block/edit.tsx assets/js/blocks/cart/test/block.js assets/js/blocks/cart/test/slots.js assets/js/blocks/checkout/block.tsx assets/js/blocks/checkout/inner-blocks/checkout-actions-block/block.tsx assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/test/block.js assets/js/blocks/checkout/inner-blocks/checkout-terms-block/test/edit.js assets/js/blocks/checkout/inner-blocks/checkout-terms-block/test/frontend.js assets/js/blocks/filter-wrapper/index.tsx assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/mini-cart-footer-block/block.tsx assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/mini-cart-shopping-button-block/edit.tsx assets/js/blocks/mini-cart/test/block.js assets/js/blocks/rating-filter/test/block.tsx assets/js/blocks/single-product/block.js assets/js/blocks/single-product/edit/index.js assets/js/blocks/single-product/edit/layout-editor.js assets/js/blocks/stock-filter/test/block.tsx assets/js/data/cart/controls.js assets/js/data/cart/test/resolvers.js assets/js/editor-components/edit-product-link/index.js assets/js/previews/cart.ts node_modules/@wordpress/element/node_modules/@types/react/index.d.ts packages/checkout/components/order-shipping-packages/index.js packages/checkout/components/store-notices-container/index.tsx packages/checkout/components/text-input/test/validated-text-input.tsx packages/prices/utils/price.ts |
Size Change: +43 B (0%) Total Size: 1.01 MB
ℹ️ View Unchanged
|
* Empty commit for release pull request * Fix for Rating alignment when used in Products block and Classic Template (#8104) * Hide `core/no-results` as default in Product Query if WP <= 5.9 (#8082) `core/no-results` was not available until WP 6.0. * Update the readme * Add testing notes * Remove the “Products (Beta)” block from WP 6.0 or lower (#8112) * Remove the Products block from WP < 6.0 Too many APIs which are required for the Products block experience are just plainly unavailable in versions lower than 6.0. * Revert "Fix for Rating alignment when used in Products block and Classic Template (#8104)" This reverts commit 8af92ee. Co-authored-by: github-actions <[email protected]> Co-authored-by: kmanijak <[email protected]> Co-authored-by: Lucio Giannotta <[email protected]>
Fix for a correct Rating block alignment within the Products block. It is extracted from another PR merged into
trunk
already.Raised bug: "Product Rating" inner block is aligned different for "Product list with full product description", "Product list with 1:1 images" and "Minimal product list" test page with "Products (Beta)" block
Screenshots
Check the Rating position - it's expected to be left-aligned in the patterns.
User Facing Testing
Expected: Starts are aligned accordingly
alignment.mov
Expected: Rating is aligned as on the screenshots in the PR above
WooCommerce Visibility
Changelog