Add pagination of clip list
See original GitHub issueThe rendering performance of the clip list is suffering as the number of clips increases. Add pagination of the clip list to keep navigation snappy. It’s important that if a user is navigating clips on page other than the first page, watches a clip and then presses “back”, they should be taken to the same page they were on, and preferably also the same scroll position.
The number of clips per page should be configurable from the front-end, but the default number should also be configurable from the config file with the key clips_per_page
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
List view with Pagination using Jetpack Compose
It is very easy to create a list(with paging) in Jetpack compose, and even without handling any adapter for the item list.
Read more >Creating an Accessible Pagination with Liquid
In its simplest form the paginate tag works with the for tag to split content into multiple web pages. It must wrap a...
Read more >Pagination - CSS: Cascading Style Sheets - MDN Web Docs
Alternative methods ; list-style ; none · margin ; 0 · padding ; 0 · display ; flex · column-gap ...
Read more >Pagination for a User-Friendly Django App
You add a path to each corresponding view to the urlpatterns list. At first glance, it may seem odd that only listing contains...
Read more >c# - Order dynamic list of object by common property with ...
Created base interface and in models inherited from him. · Added all models in dynamic list. · Sort this list by common property....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Okay, I take what I said back. Yesterday I guess I misspelled what I was looking for and assumed it did not show up in search results because it was on a separate page from the one I was on. I just double checked and it works fine.
Awesome.
I like this because I’m not even 100 clips in and I was noticing some slow down. I can always change the max number of clips on a page, but this does dwindle search results down to the clips on the page you’re currently looking at. Usually when I upload a clip, I search for the clip and then copy the link. So, this doesn’t mean that this new feature is broken, but I think it brings up a new idea of having a ‘Sort By’ option of some sorts. I do see you number all of your clips so it’s in order, but would it be possible to do this and have an option to sort by the “Saved” category so that way new clips can be at the top? This way it’s possible to take advantage of the performance boost the pages gives, but it also prevents having to dig around to find the clip you just uploaded without adding the number in front of the clip name in the file name.