Pagination View
- Dominant language
- JavaScript
- Stars
- 19.4k
- Forks
- 3.1k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 9
Description
**Is your feature request related to a problem? Please describe.**
When your folder/file collections have a large number of entries, even in thousands as in my use case, you would like to have a pagination view, like explained in [this community tutorial](https://www.digitalocean.com/community/tutorials/how-to-build-custom-pagination-with-react)
hosted on [Digital Ocean](https://www.digitalocean.com/).
**Describe the solution you'd like**
Implement a pagination view as synthetically described above. The pagination view should be automatically activated when the number of entries per collection is larger than a predefined number (e.g. 10).
Even better it would be to have a way for the end-user to choose the number of entries per page.
The entries in the pagination view should be sortable by the same criteria defined in the `sortableFields` option configured in the collection.
The pagination view should be sensible to search results as well.
**Describe alternatives you've considered**
At the moment the only alternative is to use the search component from the collections menu, but it's far from being considered acceptable.
**Additional context**
In my use case I have thousands of entries for both folder and file collections. Is it true that I'm pushing NetlifyCMS to its limits, but I also believe that if we're able to improve its support to this kind
of problems, it will be largely adopted not only to build simple websites, but to build data intensive website as well.
Contributor guide
Assessment
This issue has not been assessed yet.