Work guests' requests from the console #44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/console-requests-panel"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Guests can request songs (#40) and the console can go online (#41), but the DJ can't see those requests or act on them.
Solution
Requests panel
Credits
Requests playlist
Plumbing
djOnInvalidatesubscription on the app server tells the console when requests change. The console also polls every 5s, so a dead socket only costs seconds.requestStatuskind. A change still waiting to send beats the server's older state, so cards don't flicker while offline.E2e: the full flow is enabled. A phone guest requests "Oblivion", which isn't in the library. The DJ's panel shows it with "Ana" and "new to you", and the DJ queues it. It plays through the fake Spotify, and the guest's history says "requested by Ana". Each console spec now starts a new set, because the console is shared across specs and a set keeps its passcode.
This is Slice 6 of
projects/2026-09-27-dj-online-companion/plan.md.Testing
bun run test: 211 pass. The console-seam tests run against a real in-process app server.bun run check: clean.bun run e2e: 7 passed and 1 skipped (the reconnecting-notice test), three runs in a row.🤖 Generated with Claude Code