This repository was archived by the owner on Feb 23, 2024. It is now read-only.
Fix: Product Query: Update the Editor preview when custom attributes are changed#7366
Merged
dinhtungdu merged 3 commits intotrunkfrom Oct 12, 2022
Merged
Fix: Product Query: Update the Editor preview when custom attributes are changed#7366dinhtungdu merged 3 commits intotrunkfrom
dinhtungdu merged 3 commits intotrunkfrom
Conversation
Contributor
|
The release ZIP for this PR is accessible via: |
Contributor
|
Size Change: 0 B Total Size: 962 kB ℹ️ View Unchanged
|
gigitux
approved these changes
Oct 12, 2022
Contributor
gigitux
left a comment
There was a problem hiding this comment.
Thanks for working on this! LGTM 🚢
This was referenced Oct 13, 2022
sunyatasattva
pushed a commit
that referenced
this pull request
Oct 26, 2022
senadir
pushed a commit
to senadir/woocommerce-blocks
that referenced
this pull request
Nov 12, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #6969
This PR is a rework of #6975 by @gigitux.
This PR fixes the issue with the editor preview for the Product Query Block by modifying the query arguments for the REST requests. This also fixes the styling issue of the On Sale toggle control.
I decided to keep the
__woocommerceOnSaleinstead of following the approach in #6975 because:popularity.date.rating.post__in.Accessibility
prefers-reduced-motionOther Checks
Screenshots
Screen.Recording.2022-10-11.at.21.21.16.mov
Testing
Automated Tests
User Facing Testing
WooCommerce Visibility
Performance Impact
Changelog