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): Slideshow is enabled everywhere. It no longer needs assetStore. #15077

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

matitalatina
Copy link
Contributor

@matitalatina matitalatina commented Jan 4, 2025

Description

I enabled the slideshow on every page. Slideshow doesn't require assetStore to work anymore.

Screenshot

Here's the slideshow inside smart search page.

Screenshot 2025-01-04 at 16 20 21

How I tested

Started slideshow on every page, changing the order (forward, backward, shuffle).

Known bugs

The slideshow, in smart search for example, shows only the assets loaded. It doesn't show the assets not loaded yet.

This can be achieved by implementing onPrevious, onNext, onRandom GalleryViewer's methods in the search page.

But I think this PR is a good step forward and this enhancement can be done in a later stage.

By the way, the bug is already present if you keep swiping on next asset in the assetViewer.

Disclaimer

This is my first PR for this amazing project. Please let me know if I did something wrong or you see something to improve. Feel free to edit / change it.

@matitalatina matitalatina changed the title feat(web): Slideshow no longer needs assetStore. It is enabled everywhere. feat(web): Slideshow s enabled everywhere. It no longer needs assetStore. Jan 4, 2025
@matitalatina matitalatina force-pushed the web-slideshow-everywhere branch from 2c27408 to 67508be Compare January 4, 2025 15:57
@matitalatina matitalatina force-pushed the web-slideshow-everywhere branch from 67508be to 3a72e14 Compare January 4, 2025 16:09
@matitalatina matitalatina changed the title feat(web): Slideshow s enabled everywhere. It no longer needs assetStore. feat(web): Slideshow is enabled everywhere. It no longer needs assetStore. Jan 4, 2025
@matitalatina matitalatina force-pushed the web-slideshow-everywhere branch 2 times, most recently from e2f8c5d to 3ba62e7 Compare January 4, 2025 16:37
@matitalatina matitalatina force-pushed the web-slideshow-everywhere branch 6 times, most recently from b95ec73 to 8afd324 Compare January 6, 2025 15:39
@matitalatina matitalatina force-pushed the web-slideshow-everywhere branch from 8afd324 to ad666a8 Compare January 9, 2025 17:20
@matitalatina matitalatina force-pushed the web-slideshow-everywhere branch from ad666a8 to 9460ec5 Compare January 14, 2025 11:35
Copy link
Contributor

@alextran1502 alextran1502 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@alextran1502 alextran1502 enabled auto-merge (squash) January 14, 2025 14:24
@alextran1502 alextran1502 merged commit 4279cd6 into immich-app:main Jan 14, 2025
33 checks passed
@matitalatina matitalatina deleted the web-slideshow-everywhere branch January 14, 2025 15:56
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.

3 participants