-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
A Query Block is inserted when Inserting a Posts List Block #34556
Comments
👋 @maddisondesigns - thanks for creating the ticket.
Regarding the above, there is a calculation (through |
@ntsekouras Thanks for explaining that. My main concern is that it's confusing for users when you select one block (Posts List) and it inserts a completely different block (Query Loop). I can understand why it's done and having a pre-configured block makes sense to make it easier for users, but the way it's done at the moment, makes it confusing. You mention that other blocks currently work in same way, for example, a YouTube block is just a block variation of the Embed block. That may be so, but as far as your average user is concerned, the YouTube block is just another completely different block. When you insert a YouTube block, it actually shows "YouTube" in the Settings Sidebar. The user can see that the block they inserted is the one that was indeed added. This doesn't happen with the Posts List block. When you insert a Posts List block, the Settings Sidebar tells you that you've inserted a Query Loop block instead. The same goes for the List View button in the top Block Editor Toolbar (at the top of the page). If I'm searching through that to find the Posts List block that I just inserted earlier, I'm not going to find it because it's listed as a Query Loop block instead. As an end user, it's confusing when you think you're inserting one thing, and it ends up inserting something else. It either needs to say Posts List in the Settings Side (and the List View), or it needs to be made clearer that what you're actually inserting is a (customised) Query Loop block instead. |
Makes sense @maddisondesigns ! I understand the issue here and is not an easy one to solve well. Noting that there are already some discussions about this and the road map for So I'll close this one in favor of the existing: #32268. Check it out and follow that one, for continuing the discussions in one place. Thanks! |
Description
When you insert a Posts List Block, it actually inserts a Query Loop Block instead.
If this block is simply a customised version of the Query Loop Block, then you need to tell users this. Inserting a completely different block to what the user selected is confusing. If this is what it's supposed to do, then at the very minimum, don't show "Query Loop" in the Settings Sidebar for the block title.
There is zero documentation when I tried to google to find out anything about this block so I have absolutely no idea whether this is doing what it's supposed to be doing, or not. Either way, it's incredibly confusing. There isn't even any indication in the Help Panel in the Block inserter, that this block is simply a customised Query Loop block.
Having multiple blocks that perform identical functions is really poor usability and confusing.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
WP5.8 (No Gutenberg plugin. Core only)
TwentyTwenty
MacOS Big Sur 11.5.2
Firefox 91.0.2
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: