ubershmekel / redditp

Convert any reddit page to a presentation or slide show
https://redditp.com
MIT License
259 stars 101 forks source link

Galleries #166

Closed felixs-alt closed 1 month ago

felixs-alt commented 7 months ago

instead of just showing the first photo of a gallery it will go through all the photos in the gallery

ROunofF commented 7 months ago

Was literally coming here to implement this. GJ :)

ubershmekel commented 7 months ago

Looking at https://deploy-preview-166--redditp.netlify.app/r/comics the UI can be a bit confusing with missing numbers. There probably should be an indicator that you're in a gallery. Right now the slide number gets highlighted only for the last panel.

felixs-alt commented 6 months ago

Looking at https://deploy-preview-166--redditp.netlify.app/r/comics the UI can be a bit confusing with missing numbers. There probably should be an indicator that you're in a gallery. Right now the slide number gets highlighted only for the last panel.

I will probably update this soon with a little indicator showing what slide you are on and how many there are.

omegasome commented 5 months ago

This is fantastic, but it seems like navigation using the onscreen arrow button is borked, at least in firefox; if you load this branch and visit /r/pics or /r/food then the left arrow button works as intended, but the right arrow button just brings you back to image #1 no matter where you are.

Worse, it seems like if you use the onscreen right arrow button while nsfw is enabled, navigation is disabled completely—once you click it the arrow buttons, arrow keys, and number buttons all become nonfunctional, even if there are no NSFW posts in sight.

Will attempt to untangle this.

QuantumManiac commented 2 months ago

Any plans to push this PR through the finish line? I was planning on implementing this myself, until I found this PR, and would be happy to have the torch passed to me to try to finish up.

felixs-alt commented 1 month ago

Merged two pullrequests @omegasome made. Thank You, @omegasome.

QuantumManiac commented 1 month ago

I noticed that the 'g' key is set to skip a gallery. Is there a way to do so on mobile and/or with the mouse, e.g. with a button or something? If not, any suggestions on how we should implement this?

ubershmekel commented 1 month ago

@felixs-alt can you remove the change to the CNAME file? I could merge it then.