-
Notifications
You must be signed in to change notification settings - Fork 3
Description
UPDATE: Moving this issue to archive as it is not needed. All the work done on Back End project, not here.
Didn't use gem 'pagy' as it didn't work with our split project, instead, used LIMIT and OFFSET to paginate Missing Persons page.
🤩 It does it all. Better.
It works in any environment
With Rack frameworks like Rails, Sinatra, Padrino, ecc. or in pure ruby even without Rack
It works with any collection
With any ORM, any DB, any search gem, elasticsearch_rails, meilisearch, searchkick, ransack, and just any list, even if you cannot count it
It supports all kinds of pagination
calendar, countless, geared, incremental, auto-incremental, infinite, headers, JSON, cursor
It supports all kinds of CSS Frameworks
bootstrap, bulma, foundation, materialize, semantic, uikit, tailwind
It supports faster client-side rendering
With classic or innovative UI components (see Javascript Navs and Javascript Combo Navs) or by serving JSON to your favorite Javascript framework
It has 100% of test coverage for Ruby, HTML and Javascript E2E (see Pagy Workflows CI)
More details are here: https://github.com/ddnexus/pagy
https://ddnexus.github.io/pagy/how-to#quick-start&gsc.tab=0