-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Query Loop block: remove "add new post" prompt in the sidebar #67177
Comments
Hi @annezazu, I believe opening the window in a new tab would be a better solution. This way, users can learn how to add a post without accidentally losing their current changes. |
Hi @annezazu, Thank you for raising this issue. I believe it might primarily confuse users who are relatively new to the Query Loop Block and possibly WordPress in general. However, it’s unlikely to significantly impact users with some familiarity with WordPress. An alternative approach could be the solution proposed by @Mayank-Tripathi32, as it retains the previously active Query Block window while also guiding users on how to return to the parent Query Block post after creating a new post using the Add New Post link. Additionally, I’m listing my PR here, as it aligns with the anticipated solution for this issue. However, I feel this matter requires design feedback before proceeding further. Thanks! |
I'll note that accessibility wise we don't want to open up new tabs due to these guidelines:
At this point, I'd rather remove as again I don't think opening in a new tab will lead to a better experience or more understandable connection to the Query Loop block. Thanks for working on this PR! |
I agree with removing this link. The suggestion to add this link, #23461, was submitted about 4 years ago. This link may have made sense back then, when Gutenberg didn't even have a site editor, but I'm not sure it's useful to many users today. |
When using the Query Loop block, there's a link to "add new post" in the description of the block. If you click on this, it brings you to the post editor. While I understand the intent to try to explain to someone that to have posts show up here, especially in an empty state, you need to add new posts I think this flow does more harm than good. By taking them out of the editor to publish a post, we never close the loop then to the Query Loop block unless the user knows to return and how. As a result, I think we should remove this right now.
add.new.post.mov
The text was updated successfully, but these errors were encountered: