feat(ui): radio button — 24/7 Soundwave, hip-hop, comedy and heavy metal streams at the table

Aperta
#871 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
html, typescript

Direzione di ricerca

Start by locating the table layout and its desktop and mobile seat positioning, then check how table controls and game audio are handled. Confirm playable, licensed stream sources and what the Soundwave stream is before implementation. Done means the four stations can be played and stopped in-page, the control fits both layouts, and the acceptance criteria are met, including screenshots.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Backlog idea idea fairy UI

What

A small radio button on the table that opens a picker of 24/7 live streams. Pick one and it starts playing straight away, without leaving the table.

A competitor, PlayBlind (crypto poker, launched Sept 2026; press release), has a one-click button at its tables that drops players into the 24/7 Soundwave stream. We want the same, with more choice:

Channel Genre
Soundwave the stream the competitor links to
24/7 Hip-Hop e.g. Hot 97 or Hits Radio Hip Hop / R&B (to confirm)
24/7 Comedy e.g. a stand-up comedy stream such as ComedyUK (to confirm)
24/7 Heavy Metal e.g. Freekshow Radio or Death.FM (to confirm)

How PlayBlind's works (reference)

  • A small button with a music-note icon on the table.
  • Hover: a little tooltip says "Play Soundwave".
  • Click: the stream starts playing right there in the page, with no new tab, no pop-up player and no leaving the table.

Ours should feel the same, just with a choice of channels: music-note button, and on hover or click a small menu with the four channels; clicking one plays it in the page immediately. Audio plays through a hidden in-page player (an HTML audio element for a stream URL), never a browser redirect.

Where

A small, unobtrusive button at the top of the table, above the gap between seats 5 and 6. It must not cover seats, the pot or the action bar, and must work on desktop and mobile layouts.

Behaviour

  • Music-note icon button; hovering shows a tooltip ("Radio"), clicking opens a small menu listing the channels by name.
  • Click a channel: it starts playing immediately, and the menu shows which one is on.
  • Click the playing channel again (or a Stop control) to stop. A volume control is a nice-to-have.
  • Playing continues while the player stays on the table; switching tables/pages stops it.
  • The table's own game sounds keep working alongside it.
  • Remember the last choice and volume (localStorage); never autoplay on page load (browsers block it anyway, and it would surprise players).

Acceptance criteria

  • Radio button above seats 5–6, on desktop and mobile layouts, not overlapping anything.
  • Menu lists the four channels; one click starts that stream in the page (no new tab or external player); the playing one is marked.
  • Stop works; switching channel replaces the stream (never two at once).
  • No autoplay on load; last choice/volume remembered.
  • A dead or blocked stream shows a short "Couldn't play this station" message instead of failing silently.
  • Screenshots of the button and the open menu in the PR.

To decide before building

  • Exact stream sources. Each must be playable in the browser (an HTTPS audio stream URL, or an embeddable 24/7 live player), stable, and licensed for embedding. Prefer each station's official public stream or embed. The candidates above came from a quick search and need checking.
  • What "Soundwave" is exactly: the stream URL behind PlayBlind's button (needs a screenshot of the button and the link it opens; playblind.com isn't reachable from our dev network).

Candidate sources (from search, unverified)

Lingua principale
TypeScript
Stelle
2
Fork
5
Merge medio
22h 35m
PR unite (30g)
91

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di block52/ui

Tutte le issue di block52/ui

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.