Commit 14d15e8e authored by Aryan Noshirvnai's avatar Aryan Noshirvnai

Document the Radio global-search auth fix in Roadmap.tsx

Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
parent 0362b75c
......@@ -87,6 +87,7 @@ const BACKEND_DONE: DoneGroup[] = [
'Radio is live broadcast, not a seekable track (2026-10-12): the backend now starts the actual MP3 stream at the live offset itself (stream_audio_from_offset, ffmpeg -ss before -i so it seeks pre-decode and -acodec copy so it never re-encodes) instead of serving from byte 0 and relying on a client-side seek() afterward - that second round trip was the real cause of the reported slow start, confirmed fixed by a regression test asserting the returned stream\'s actual duration matches the expected remaining offset, and by a live check against the running server (10s test track, stream fetched ~4s in, returned ~6-7s of audio). PlayableSong gained isLive: seek() is now a no-op for it and resuming from pause re-fetches live instead of replaying stale paused audio; FullPlayer shows a pulsing LIVE badge instead of a scrub bar, with Shuffle/Previous/Repeat disabled, consistent with there being no stable timeline to control.',
'Tuning dial: granular drag + station snapping (2026-10-12): the native <input type="range"> was replaced with a custom pointer- and keyboard-driven dial (same pointer-capture-after-movement pattern as useSwipeAction) because a native range\'s drag sensitivity is fixed to element-width/(max-min) with no way to slow it down - dragging now reads raw pixel deltas against a fixed DIAL_PIXELS_PER_UNIT instead. The dial also snaps exactly onto any station within the same 0.3 tuning epsilon the backend already locks onto, with tick marks on the track showing where each station sits.',
'Radio artwork fix + dial redesign v2 (2026-10-13): custom station artwork wasn\'t rendering - storage.store_image returns a backend-relative path ("/images/7/x.png") meant to be loaded same-origin, but neither the dev vite proxy nor prod\'s nginx config had a rule for anything besides /api, so the browser requested it against its own origin and 404\'d. Both gained an /images proxy rule mirroring /api\'s (vite.config.ts; deploy/scripts/deploy.sh\'s generated nginx site config). Separately, the v1 dial (above) turned out to still feel disconnected: its thumb was positioned by percent-of-the-full-150-unit-range while drag sensitivity was a decoupled pixel constant, so the thumb visibly lagged far behind the finger - a real mismatch, not just "the range is big." Replaced with a scrolling-tape dial: a fixed center needle never moves, and a tape of whole-MHz ticks (plus taller, colored station ticks) scrolls underneath it at exactly the same px-per-MHz rate the drag itself reads at, so the marks track the finger 1:1 regardless of how wide the 50-200 range is. The dial now also snaps onto whole MHz values during a drag (WHOLE_NUMBER_SNAP_EPSILON, tighter than the station epsilon so it doesn\'t fight precision near a real station), each landed-on detent firing a single Vibration-API tick (feature-detected, silently a no-op where unsupported) rather than buzzing continuously through a sweep. New +/- buttons flank the frequency readout for an exact 0.1 nudge - deliberately routed through a separate step path that skips the whole-number magnet entirely, since a magnet strong enough to feel satisfying on a drag would otherwise make it impossible to ever press-step one tick away from a whole number.',
'Fixed: global library search in Radio\'s queue manager (2026-10-13) - RadioManageTab\'s "Add song" reuses SongPicker, whose "Public Library" tab calls GET /soundmarks/song-library, which was still gated get_current_business_admin even though Radio hands this same picker to any station owner, admin or not. A plain user got a silent 403 (SongPicker swallows the error into an empty "No songs found" state, so nothing looked broken, it just never returned results). Relaxed to get_current_user, same reasoning as the geocode endpoints above - a plain title/artist search has nothing business-admin-specific about it. Confirmed live with a real plain-role account: 403 before the fix, real results after.',
],
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment