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

Timer Front-End view #213

Open
5 of 10 tasks
Tracked by #194
tedyoung opened this issue Apr 29, 2024 · 0 comments
Open
5 of 10 tasks
Tracked by #194

Timer Front-End view #213

tedyoung opened this issue Apr 29, 2024 · 0 comments

Comments

@tedyoung
Copy link
Collaborator

tedyoung commented Apr 29, 2024

  • Set up WebSocket via HTMX and receive the HTML of the timer display every second
  • Make the timer page accessible to Participants/Spectators
  • HTML Template: JavaScript to play sound when timer reaches zero using htmx-trigger a kludge of wsAfterMessage and inspecting the HTML directly for what gets returned when the timer is finished. Might want to add a separate element that is dedicated to that purpose, generalizable for a "ws-trigger" element that could invoke any other function.
  • Reset timer button
  • Play sound when Paused/Resumed
  • Add Cache headers for sound effects
  • Add "Rotate Participants" button (i.e., skip current turn)
  • Replace horn.wav with custom edited sound
  • Allow choices for "finished" sound
  • Add an indicator for when a full rotation is completed.
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

No branches or pull requests

1 participant