RadioScanner: click a now-playing title to solo it#180
Merged
Conversation
…title Clicking a title mutes every other playing item and pauses the marquee; clicking it again restores the manual mute state exactly (solo is derived via effectiveMutedIds, never written into mutedItems). The mute icon keeps its per-item toggle. Solo is ephemeral: it clears on station change and when the soloed clip ends or expires on seek. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019NMS1V2keS3pTbWRemCd9o
|
✅ Playwright E2E — 1 passed · 0 failed · 0 flaky · 0 skipped |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clicking an item in the NowPlayingList solos it: every other playing item is muted and the marquee pauses; clicking it again un-solos and the rest come back. The mute icon keeps its existing per-item toggle.
Design notes:
effectiveMutedIds(mutedItems, soloItemId, playingIds)feeds StationPlayer, so manual mutes are never rewritten and un-soloing restores them exactly (a manually-muted item that gets soloed is audible while soloed, muted again after).play={!soloActive}— the soloed row stays put while reading.<button>(valid HTML next to the icon button, keyboard-accessible), bold+underline when soloed.Tests: 7 NowPlayingList cases (solo toggle, icon isolation, audible-state icons, marquee pause) + 3 for the pure derivation helper; 381 total green, build + lint clean.
🤖 Generated with Claude Code
https://claude.ai/code/session_019NMS1V2keS3pTbWRemCd9o