New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Experimental] Price Filter: Fix styling issue when Inline input fields is enabled #45197
[Experimental] Price Filter: Fix styling issue when Inline input fields is enabled #45197
Conversation
Test Results SummaryCommit SHA: 08453ad
To view the full API test report, click here. To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
Hi @kmanijak, Apart from reviewing the code changes, please make sure to review the testing instructions as well. You can follow this guide to find out what good testing instructions should look like: |
…nline-input-fields-is-enabled
…nline-input-fields-is-enabled
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.
I found the testing instructions a bit confusing 😅
- In the editor, you should see a block inserter icon or an option to "Add Block". Click on it.
- In the block inserter, search for "Filter by Price" or browse the available blocks until you find them.
- Click on the "Filter by Price" block to add it to your content.
- Select the Product Filter: Price (Beta) block in the blocks list.
This is a pretty confusing part to me. I think it could merged into a single point telling which block exactly to insert. I checked both "Filter by Price" and "Product Filter: Price (Beta)" as I wasn't sure.
In the sidebar to the left side, enable the "Inline input fields" setting.
I assume you mean Inspector Controls, then they're on the right.
Testing:
-
I tested the changes and the inline layout works just fine. I'm just curious if the currency sign is expected to be there as on AFTER image? In my case, it's not there either in the Editor or frontend.
-
Also, I know it's not part of this PR but is it a known issue that when you input some value manually in the Product Filter: Price (Beta) the filter doesn't react to that change? Blurring the input and clicking ENTER doesn't help.
pricefilter.mov
Let me know if these two issues are expected and if so - I'll go ahead and approve the PR.
Thank you for pointing this out, I believe my mind went for a walk when I started writing the testing instructions 😅. I just updated it to make it more clear. The correct block is the Product Filter: Price (Beta), and yes, you're correct I'm referring to the Inspector Controls to the right.
That is really well noted! I just opened an issue for this #45315
This is a known issue, there is an issue created for this #45228. Hopefully, I'll be able to work on this today 🙏 |
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.
Thanks for addressing my concerns! As there are issues covering the remaining parts I'm approving this one! 🚀
…nline-input-fields-is-enabled
…45197) * Fix styling issue in the Editor when Inline input fields is enabled * Add changefile(s) from automation for the following project(s): woocommerce-blocks * Fix styling issue on the Frontend when Inline input fields is enabled * Fix css lint errors --------- Co-authored-by: github-actions <github-actions@github.com>
Submission Review Guidelines:
Changes proposed in this Pull Request:
Closes #44755.
How to test the changes in this Pull Request:
Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:
Changelog entry
Significance
Type
Message
Fix styling issue for the Price Filter block preventing fields from appearing inline when the Inline input fields option is enabled
Comment