Skip to content
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

Add an "Edit this query" label to the query block #228

Open
scottnelle opened this issue Sep 4, 2024 · 0 comments
Open

Add an "Edit this query" label to the query block #228

scottnelle opened this issue Sep 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@scottnelle
Copy link

Description

It would be handy if there was a clickable label that appears inside the query block and before the <!-- wp:post-template --> and <!-- wp:wp-curate/post --> blocks that are contained within, so that there is something within the block editor interface to click on in order to make the query block focusable without using the Document Overview sidebar or the breadcrumbs. It doesn't necessarily need to be an interactive element, so long as it takes up some space so that something in the query block is clickable. I think this would significantly improve the user experience of the curate plugin.

Use Case

When a user edits a page which uses wp-curate to control queries, making the query block directly clickable would allow users to edit the query parameters without selecting a child block and then using supplemental navigation elements to select the query block. We implemented this on a client project that used a different curation interface that followed a similar principle (a container block that controlled query parameters and child blocks which represented individual posts) and it made the editorial experience much more intuitive.

@scottnelle scottnelle added the enhancement New feature or request label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant