-
Notifications
You must be signed in to change notification settings - Fork 219
WooCommerce block templates load unreliably inside the Site Editor. #8378
Comments
Update: Look like we have some issue with template fallback mechanism, I changed the |
Update: template fallback isn't the issue. Gutenberg Site Editor has an issue when switching between templates that have identical content. If we disable template fallback but use the same content for all template files, the issue can be reproduced again. Steps to reproduce
I'm unassigning myself from this issue so others can work on that because I'm AFK tomorrow. I will continue working on this on Wednesday if needed. |
I've been trying to understand what's happening, I haven't managed to do it, but I'll leave here some more info I've discovered today in case it's useful for someone:
|
This is fixed by a side effect of WordPress/gutenberg#47777:
I opened WordPress/gutenberg#48095 to track the issue upstream. Marking this issue as blocked for now. |
I did some tests today on https://liquid-coral.jurassic.ninja/ , with the latest versions of WooCommerce (7.7.0), WooCommerce Blocks (10.2.0), TT3 theme, and WordPress version 6.2.1 and wasn't able to reproduce this issue: Screen.Recording.2023-05-19.at.17.36.27.movI also ran the exact same test while having the latest version of the Gutenberg plugin enabled (15.8.0) and things are working as expected. @dinhtungdu @albarin @tjcafferkey do you still have any remaining concerns? From my perspective, we are good to close out this issue. |
I think we can close this issue now based on yours and Tungs feedback.
Thanks for following up on it!
…On 19 May 2023 at 16:57 +0100, Patricia Hillebrandt ***@***.***>, wrote:
> The Site Editor appears to be unreliable at loading the WooCommerce block templates, and on occasions just presents the user with a blank template despite that not being the case.
I did some tests today on https://liquid-coral.jurassic.ninja/ , with the latest versions of WooCommerce (7.7.0), WooCommerce Blocks (10.2.0), TT3 theme, and WordPress version 6.2.1 and wasn't able to reproduce this issue:
https://github.com/woocommerce/woocommerce-blocks/assets/15730971/944aa2bb-6a34-4b0d-a073-5fc7244bf37a
I also ran the exact same test while having the latest version of the Gutenberg plugin enabled (15.8.0) and things are working as expected.
@dinhtungdu @albarin @tjcafferkey do you still have any remaining concerns? From my perspective, we are good to close out this issue.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Describe the bug
The Site Editor appears to be unreliable at loading the WooCommerce block templates, and on occasions just presents the user with a blank template despite that not being the case.
This has become apparent when testing #8308 (comment) but is an existing issue.
In my opinion, this really impacts the user experience of our block template feature and the effort we are currently putting into it. Especially since there is a really high chance the user will be impacted upon their first impression when testing/using this feature.
To reproduce
Steps to reproduce the behavior:
Expected behavior
The correct block template will load its contents.
Screenshots
wc-block-templates-not-loading.mp4
Environment
WordPress:
The text was updated successfully, but these errors were encountered: