Skip to content
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

feat(web): lazy loading on album/sharing/search #5696

Merged
merged 2 commits into from
Dec 14, 2023

Conversation

flyotlin
Copy link
Contributor

Description

Page album, sharing, and search currently don't support image lazy loading.

Add lazy loading like Issue #5356

Changes

Add lazy loading on album, sharing, and search, since they're all using AlbumCard.

If there are more than 20 cards on the page, the first 20 cards load eagerly, and the following cards load lazily.

@bo0tzz bo0tzz linked an issue Dec 14, 2023 that may be closed by this pull request
3 tasks
@flyotlin flyotlin marked this pull request as ready for review December 14, 2023 11:31
@alextran1502 alextran1502 merged commit 8e39d38 into immich-app:main Dec 14, 2023
18 checks passed
@alextran1502 alextran1502 changed the title feat: lazy loading on album/sharing/search feat(web0: lazy loading on album/sharing/search Dec 14, 2023
@alextran1502 alextran1502 changed the title feat(web0: lazy loading on album/sharing/search feat(web): lazy loading on album/sharing/search Dec 14, 2023
jonhnet pushed a commit to jonhnet/immich that referenced this pull request Dec 15, 2023
* feat(frontend): Lazy loading on album

* feat(frontend): Lazy loading on search & sharing

Issue immich-app#5418
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Lazy load thumbnails on the albums page
4 participants