-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Description
While exploring how to add pagination to the Query block, I noticed we need to update the Pagination block (aka Query Pagination block) itself to get it working.
I designed various pagination treatments that we might support. These will require settings and/or style variations to make the visual changes.
Rename the block
I'd like to rename the current "Query Pagination block" to "Pagination block." This naming convention aligns with the Navigation block which includes a "Link block," not a "Navigation Link block."
Settings
Thinking through settings, I've come up with a few to get us started.
- A selectbox for "All buttons / Buttons and Text / Text only."
- Toggle to include/exclude page numbers.
- Toggle to include/exclude "Start" and "End" buttons in addition to the "Prev" and "Next" buttons.
- Condensed page number view (ie. "3 of 22").
- Color settings.
- Border radius settings.
- Maybe even icon arrow options.
Currently
It appears the Query Pagination block hasn't been built quite yet. I see it in the Inserter, but get an error when adding it to the document. I'll start iterating on how these settings will be displayed for this block.

