Query loop: Clarify the Max page to show
setting
#63028
Labels
[Block] Query Loop
Affects the Query Loop Block
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Needs Design Feedback
Needs general design feedback.
[Type] Bug
An existing feature does not function as intended
Description
Noticed while working on Discovered while working on #63020
In the Query loop block, the 'Items per page', 'Offset', and 'Max page to show' settings are grouped together.
Currently, they're in a popover that opens from the block toolbar. In #63020 they will be moved to the Inspector panel.
Regardlessof their overall placement, I'm not sure these settings should be grouped together.
As a useer, the 'Max page to show' setting isn't immediately clear to me. I'd tend to think this setting should be better placed, probably in its own section as suggested also by @carolinan
Also, the descriptiokn:
Limit the pages you want to show, even if the query has more results. To show all pages use 0 (zero).
doesn't clearly explain this setting is about the pagination links. While 'pagination' may be a technical term to avoid, I'd think this setting should be better explained.
Nnte: in #63020 I'm fixing also a setting name typo where I guess 'page' should be plural 'pages' -> 'Max pages to show'.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
No response
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: