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

Page carousel #21

Merged
merged 7 commits into from
Jul 25, 2024
Merged

Page carousel #21

merged 7 commits into from
Jul 25, 2024

Conversation

s-egge
Copy link
Member

@s-egge s-egge commented Jun 29, 2024

Media Rotation/Carousel Feature

A new /carousel route can be used to rotate through media to advertise hiring, events, etc. Right now, the app will fetch media links from a public AWS S3 folder and pass them to the /carousel route to rotate the media. If there is no media, the site functions as normal. If there is media, it will set an inactivity timer to route to the /carousel page. Tapping/clicking the screen will cause it to go back to the main page where a user can interact with the homepage. The kiosks are set to refresh every ~5 minutes or so, so we don't need to worry about the inactivity timer not working when the user navigates away from the page.

TODO

  • When the route is /sec, include it in the rotation since it does not have a touch screen
  • Make main page either also included in the rotation, or add a text overlay that indicates users can interact with the screen
    • Potentially do both, that way if there is only one image for the carousel it will not just show that the whole time but rotate back to the homepage as well, and while the media is showing there will still be an indication that the user can interact with the screen
  • Decide on appropriate interval times (for example, the main/sec routes have a ~2 minute video as the background, should we let it play through while rotating?)
  • Delete hiring page files, as this kind of thing would be utilized via the media rotation in the future
  • Add information about the AWS folder to the SO Training Manual

- main page will go to carousel after inactivity, touching the screen will bring it back to the main page
- Google Drive API works for a public folder
If the media fetch fails or there isn't any media in the folder, the main page won't set any timers/click listeners
@s-egge s-egge self-assigned this Jun 29, 2024
@s-egge s-egge linked an issue Jun 29, 2024 that may be closed by this pull request
@s-egge s-egge marked this pull request as ready for review July 25, 2024 19:44
@s-egge s-egge merged commit c9c2881 into master Jul 25, 2024
1 check passed
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.

Content Rotation
1 participant