[TECH-DEBT] scroll performance in view other than timeline #832

Closed
opened 2026-02-04 22:53:28 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @alextran1502 on GitHub (Apr 26, 2023).

Originally assigned to: @jrasm91 on GitHub.

We query all assets belonging to the albums and archives in their respective views with only lazy loading. There is no virtual scroll on these views which affects performance when there are more than thousands of assets in an album. We will need a better way to handle these cases

Originally created by @alextran1502 on GitHub (Apr 26, 2023). Originally assigned to: @jrasm91 on GitHub. We query all assets belonging to the albums and archives in their respective views with only lazy loading. There is no virtual scroll on these views which affects performance when there are more than thousands of assets in an album. We will need a better way to handle these cases
OVERLORD added the 🗄️servertech-debt🖥️web labels 2026-02-04 22:53:28 +03:00
Author
Owner

@jrasm91 commented on GitHub (Apr 26, 2023):

We can take the main timeline approach or Google's approach of loading the next page on scroll (no virtual scroll). I think (1) better, but (2) would be easier to implement as it's just pagination.

@jrasm91 commented on GitHub (Apr 26, 2023): We can take the main timeline approach or Google's approach of loading the next page on scroll (no virtual scroll). I think (1) better, but (2) would be easier to implement as it's just pagination.
Author
Owner

@SitramSoft commented on GitHub (May 11, 2023):

I would like to see this performance issue addressed as soon as possible. It affects especially large albums.

@SitramSoft commented on GitHub (May 11, 2023): I would like to see this performance issue addressed as soon as possible. It affects especially large albums.
Author
Owner

@jrasm91 commented on GitHub (May 11, 2023):

Feel free to open a PR.

@jrasm91 commented on GitHub (May 11, 2023): Feel free to open a PR.
Author
Owner

@jrasm91 commented on GitHub (May 29, 2023):

Started working on this in #2464. Got it working well in archive and favorites, but albums have some extra complexity that needs to be refactored before it can be added there.

@jrasm91 commented on GitHub (May 29, 2023): Started working on this in #2464. Got it working well in archive and favorites, but albums have some extra complexity that needs to be refactored before it can be added there.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#832