ensembler icon indicating copy to clipboard operation
ensembler copied to clipboard

Timer Front-End view

Open tedyoung opened this issue 9 months ago • 0 comments

  • [x] Set up WebSocket via HTMX and receive the HTML of the timer display every second
  • [x] Make the timer page accessible to Participants/Spectators
  • [X] 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.
  • [x] Reset timer button
  • [X] 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.

tedyoung avatar Apr 29 '24 15:04 tedyoung