Pager component
https://theme.mantra.network/ui-components/mantra_starter/pager
Added lots of options like configurable separators, and incorporated features from these modules:
https://www.drupal.org/project/dc_pager
Improvements
- Use page numbers for first and last items.
- Move previous/next links outside of first/last.
https://www.drupal.org/project/views_pager_mini_count
Improvements
- Choose page count, result count, or both.
- Option to tap to switch between.
TODO
Incorporate:
https://www.drupal.org/project/dropdown_pager
Configuration
- Switch to Mantra pager.
Count query
The full pager adds a count query to get the number of results/pages.
In some cases, like with many results, relationships, or uncached content, this could impact performance.
Examples
https://www.retrograde.bike/admin/content
Modules
https://www.drupal.org/project/responsive_views_pager
Issues
View on Drupal.org #3553713Switching views pager from default mini to full ignores full's default prev/next link text Status: Active
View on Drupal.org #3348552Pager template fails accessibility tests for Ellipsis ("...") Status: Reviewed & tested by the community
Resources
https://www.andrewcoyle.com/blog/design-better-pagination
https://contrib.drupalarchitect.info/project/mantra-theme/task/422-inveā¦