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

Enhancement: support animation (auto-play) of multi-image subjects #456

Closed
trouille opened this issue Aug 3, 2023 · 7 comments
Closed

Comments

@trouille
Copy link
Member

trouille commented Aug 3, 2023

As a participant, I would like to have the option for multi-image subjects to automatically loop through (e.g., animate). This would mirror the functionality on the browser-based experience.

Example project: https://www.zooniverse.org/projects/coolneighbors/backyard-worlds-cool-neighbors/classify
In the browser-based version, you can click the play button and it automatically loops through the multiple images, making it easier to see the potential mover moving in the center of the frame from one image to the next.

On the mobile app, there is no 'play' option and so you manually swipe through the images. That action makes it a little harder to focus on the potential mover.

Note: this is not a high priority.

@seanmiller26
Copy link

seanmiller26 commented Jan 26, 2024

The ideal functionality should be as follows:

The multi-image subject should auto-play through infinitely.
Click on a subject image to pause autoplay.
Click again to re-enable the sequence.
A volunteer can tap and hold to pause on specific frames.
A carousel indicator will step through to indicate which frame you are viewing.
A volunteer can tap on specific indicators to view that frame paused.

For reference:
Screen Shot 2024-01-26 at 12 23 20 PM
(All styling TBD)

This is a slimmed-down version of our desktop classifier viewer 'Flipbook'. It should function similarly minus play/pause/speed controls and frame thumbnail previews. If it helps here is a related issue:

Desktop 'Flipbook Viewer' frame speed: zooniverse/front-end-monorepo#3885

(Edited to document discussion notes and decisions.)

@lcjohnso
Copy link
Member

@seanmiller26 -- A specific question re: frame indicators. How do you recommend we handle many-frame (e.g., up to 10) situation where that number of dots will not fit side-by-side. Horizontal scroll for set of dots? Adding second row of dots? Something else?

@seanmiller26
Copy link

@lcjohnso Do we or will we have a limit on max number of frames to display? For now I have mocked up a max of ten indicators. If we suspect more may be needed I can revisit.

Screen Shot 2024-02-14 at 12 26 21 PM

@lcjohnso
Copy link
Member

I think 10 frames is a reasonable maximum frame count to assume. I had assumed that 10 would not fit; thanks for the correction via above screenshot.

@coryzoon -- based on Sean's answer, I think you can move forward assuming we can place frame indicators side-by-side, but let us know if that isn't feasible.

@lcjohnso lcjohnso moved this from Low Priority to High Priority in Mobile Effort Feb 21, 2024
@seanmiller26
Copy link

seanmiller26 commented Feb 28, 2024

Additional guidance for our full screen discussion on Slack:

When the animation is paused and they click on the image it should restart the animation. While paused, we would display a maximize image icon (similar to how it is now) which would allow them to view the modal and zoom.

Screen Shot 2024-02-28 at 10 48 01 AM Screen Shot 2024-02-28 at 10 48 08 AM

Additional actions I came across: when in full screen - drag the image all the way down or up to exit full screen (must be at original image size), double click a zoomed in image to zoom out to original image size, click in any black area to exit, use the back button (in android) to exit.

@coryzoon coryzoon moved this from High Priority to Underway in Mobile Effort Mar 2, 2024
@seanmiller26
Copy link

Responding to this progress update video: https://share.vidyard.com/watch/RseiKDavEdMcE5GeY1QoJT

I'm going to focus mostly on the functionality here and hope the styling updates in #535 take care of some of the minor issues. (see above comment for a reference of full screen styling)

It looks like we have taken care of all the asks from our initial list:

The multi-image subject should auto-play through infinitely.
Click on a subject image to pause autoplay.
Click again to re-enable the sequence.
A volunteer can tap and hold to pause on specific frames.
A carousel indicator will step through to indicate which frame you are viewing.
A volunteer can tap on specific indicators to view that frame paused.

I'd like to confirm these functionalities when in full screen:

  • Double click to zoom.
  • Double click again to zoom out.
  • Click anywhere outside of the image to close the modal.

@lcjohnso lcjohnso moved this from Underway to Complete in Mobile Effort Aug 9, 2024
@lcjohnso
Copy link
Member

Closed by #568

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants