-
Notifications
You must be signed in to change notification settings - Fork 219
Enable Mini Cart template-parts only for experimental builds #5606
Conversation
Enable Mini Cart template-parts only for experimental builds
3b3c306
to
244a774
Compare
Size Change: 0 B Total Size: 815 kB ℹ️ 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.
Thanks @gigitux this works great and the code LGTM. My only concern is that we find a way of documenting this functionality somehow for:
- Those who want/need to use it.
- Those who are not aware of it and are debugging why their templates are not showing in a production build.
But I think we can do that separately of this PR. Good work!
Your concerns are very great.
I think that we are pretty safe on this topic. We have only one function that returns the block templates, and we added the filter. I think that this is not a problem for our team or for someone who reads our codebase. Maybe we can improve the
I guess that this is the main concern. If someone didn't read the code and didn't find a template can be a problem. Do you have any idea? In any case, as you said, it is better to open another issue. |
* Enable Mini Cart template-parts only for experimental builds #5598 (#5606) Enable Mini Cart template-parts only for experimental builds * bump version to 6.7.3-dev * Empty commit for release pull request * update readme.txt * add testing release notes * Bumping version strings to new version. Co-authored-by: Luigi Teschio <[email protected]> Co-authored-by: github-actions <[email protected]>
Enable
Mini Cart
template parts only for experimental builds.NOTE: This PR will be included in release
6.7.3
.Fixes #5598
Testing
Manual Testing
How to test the changes in this Pull Request:
Check out this branch
TT1 Blocks
.Mini Cart
template is visible.npm run package-plugin:deploy
).Mini Cart
template is NOT visible.User Facing Testing
These are steps for user testing (where "user" is someone interacting with this change that is not editing any code).
TT1 Blocks
.Mini Cart
template is NOT visible.Changelog