-
Notifications
You must be signed in to change notification settings - Fork 219
Avoid changing the markup of all ratings when the Product Rating block is present in the page #8247
Conversation
…k is present in the page
The release ZIP for this PR is accessible via:
Script Dependencies ReportThe
This comment was automatically generated by the TypeScript Errors Report
🎉 🎉 This PR does not introduce new TS errors. |
Size Change: -29 B (0%) Total Size: 1.08 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one, I appreciate the fix! 🎉
Also it tests nicely:
-
✅ Products block - "empty" stars are dimmed
-
✅ Classic Template - "empty" stars are empty
-
✅ I checked All Products as well and it behaves like Products - "empty" stars are dimmed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, and LGTM!
See previous discussion in #8202 (comment).
Testing
User Facing Testing
3. You might want to add a title above each of those blocks to help you distinguish them in the frontend. 4. Go to the frontend and verify the rating markup of the WooCommerce Product Grid block is not filtered. To verify it, scroll down to the WooCommerce Product Grid block and check that the "empty" star in the rating is outlined instead of dimmed:
Note: the Products block is expected to have dimmed stars instead of outlined ones. This testing steps refers to the WooCommerce Product Grid block.
WooCommerce Visibility
Performance Impact
Changelog