-
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: Number of pages settings are too restrictive #26550
Comments
Further thoughts
|
Thanks, @mariohamann!
I believe the Inserter (panel and/or inline) would solve this. Here's a screenshot of how it is right now. The initial idea behind the toggle in the toolbar was about turning pagination on... not so much around adding pagination, although it did that as well. :) I did receive some feedback today from @jameskoster and @MichaelArestad about including the Pagination block in the Query block by default. And if the user doesn't want it, they can just delete that block. Here's how that might work. |
Could we remove the number of pages setting? This seems like information that should be passed to the pagination block somehow without a user needing to specify. |
Isn't the Number of pages setting is entirely redundant? I'd have thought it would be calculated automatically – |
@ntsekouras can we get to this point where the Pagination block is added by default to the Query block? And then if we can revise the dropdown to look more like this:
|
…th design direction. Still need to force Pagination block to be included by default.
was requested by a user at #22226 ; |
Closing this as |
Problem
Currently, the "Number of pages" control requires the user to set the exact number of pages they want to include in the query.
This is a problem because many times the user might want to include all posts that match their settings and may not know the exact number they need to type as the page count.
Solution
I realize that the Pagination block should be one the user can add, duplicate, and move around (hopefully from within the Query block). But the setting should be a simple toggle to turn on or off pagination, not an input field. Maybe in the block itself, a user can adjust whether or not they want "All" pages or limit this by a particular number.
Can we try something like this?
I also imagine the Pagination block would provide the same options as other blocks such as "Duplicate" allowing more than one Pagination block and moving it to above or below the list.
cc @ntsekouras @mariohamann
The text was updated successfully, but these errors were encountered: