question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add pagination of clip list

See original GitHub issue

The 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:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
snnackscommented, Aug 24, 2021

I’m not sure I understand what you meant here, could you clarify?

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.

Table sorting is a pretty important feature anyway, I’ll make that my next task. “Saved” will be the default column.

Awesome.

1reaction
snnackscommented, Aug 23, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found