-
-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paginate / infinite scroll loading #251
Comments
Actually I would be interested in having the following three options available:
|
I'd be happy to help implement |
I'm trying to understand how infinite scroll would be better over what we have (which already uses lazy loading, but you already knew that since you implemented it 😃). Is the bandwidth required to fetch the album metadata from the server the limiting factor at the moment? Or is it the laying out of the pictures on the page (even if the pictures themselves are loaded lazily)? |
I believe it's the second one - the amount of elements we're creating on the page that still have to be rendered even though the images haven't loaded in. On mobile, with thousands of images on a single page, it can bring my device speed to a crawl. |
If so, that will simplify the implementation as the changes can be limited to the front end 😃. |
Correct - as far as this repo goes, it will purely be additional params the API endpoints can accept and change the return data depending on them. |
That can also be easily added to Lychee v3 as we now have the more settings options so there is nothing to work on on the back end. |
Highly recommend you to check this out: https://github.com/schlosser/pig.js, especially its forks. |
Just want to add my thoughts to this - was just about to create a duplicate ticket. I would love an infinite scroll page using Date/Time that is separate from album view with the option to make it a default 'home page'. Ideally it would include all photos including shared ones with perhaps a toggle to not show shared photos. Essentially it would be emulating how gallery applications work on phones and the likes of google photos landing page. I would also love to have a month/year date picker while scrolling on the side bar to quickly jump to known dates. p.s. Thanks for the hard work. I'm loving this light weight alternative for those that don't care about facial recognition and which of my photos has a sunset in them. |
WIP #2578 . |
What do you think about implementing a lazy-loading infinite scroll? I run into issues when I have an album with thousands of pictures, the initial load takes quite awhile and on mobile this is essentially unusuable. Instead, why not have the results requested in groups as you scroll and they continue to load in?
The text was updated successfully, but these errors were encountered: