Skip to content

Pagination block #26557

@mapk

Description

@mapk

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.

paginations

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.

Screen Shot 2020-10-28 at 4 43 04 PM

cc @ntsekouras @mariohamann

Metadata

Metadata

Labels

Needs DevReady for, and needs developer efforts[Block] Query PaginationAffects the Query Pagination Block - used for pagination within the Query Loop Block[Status] In ProgressTracking issues with work in progress

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions