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

Implements enhancement ideas in #2924 and #2925 and fixes #2925 #2927

Merged
merged 12 commits into from
Jan 18, 2025

Conversation

sancsin
Copy link
Contributor

@sancsin sancsin commented Jan 17, 2025

The enhancements #2924 and #2925 make the user experience better in slideshow mode in the following ways:

  • Enables videos to finish playing before loading next photo/video
  • Resets the slideshow timer everytime user presses arrow buttons on a PC or swipes left or right on a mobile device to scroll through photos/videos faster without leaving slideshow mode
  • Hides the Next and Previous buttons ,as clicking them can lead to unexpected user experiences

The fix #2925 makes the user experience better by allowing the user to stop slideshow immediately when user presses the Escape button on a keyboard.

sancsin and others added 7 commits January 13, 2025 23:08
This commit adds a feature which allows videos to finish playing before
moving on the next image or video in the slideshow.
* Added functionality to previous function that allows the video to play
till the end before moving to next photo/video with a delay and
slideshow interval.

* Refactored the code

* Added some documentation
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.98%. Comparing base (47a8e6f) to head (12edf8f).
Report is 2 commits behind head on master.

Additional details and impacted files

@ildyria
Copy link
Member

ildyria commented Jan 18, 2025

Thank you for your PR, looks quite good to me already. :)

@sancsin
Copy link
Contributor Author

sancsin commented Jan 18, 2025

Thank you for your PR, looks quite good to me already. :)

Thanks yourself for the review. The pleasure is all mine for allowing me to contribute to this great software.

@ildyria ildyria merged commit bcd7e02 into LycheeOrg:master Jan 18, 2025
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants