Rework the jukebox page: live updates, Discord login, progress, batch uploads
- Follow the queue live through /api/events (read with fetch so the key can be sent), reconnect with backoff and reload the state meanwhile; an indicator shows whether the page is live. - Log in with Discord when enabled, the password stays available as a fallback; explain failed logins and expired sessions. - Show a progress bar and durations, the queue length and total time, and a hint when the queue waits for listeners. - Shuffle and loop buttons; search, rename and add the whole library, optionally shuffled. - Upload several files at once with per-file progress (XMLHttpRequest), add a direct link, drag and drop files; allow 40 uploads per 15 minutes. - Style password, URL and search fields, focus rings, and the phone layout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
399e851178
commit
03c410973e
5 changed files with 1019 additions and 401 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue