mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-18 16:46:17 +00:00
The Preact TuneInBrowser hid the play affordance whenever an item also had a navigate link. TuneIn programs have BOTH (drill into episodes + play latest episode, after backend PR #317), so the button never appeared on program rows — only the chevron. Old vanilla UI showed both. Restored: - navigate(item) keeps its current behaviour (path wins for row clicks, falls through to play if there's no path) — that lets pure-leaf items (stations) still play on whole-row click. - New explicit .tunein-play-btn rendered conditionally when an item has BOTH a navigate link and a playback link. Stops event propagation so clicking it triggers play (device picker overlay) instead of bubbling to the row's navigate handler. - CSS: pill-shaped 32px button using the same --accent / --text-dim tokens the rest of the UI uses; hover state swaps to --accent / --accent-fg to avoid same-on-same contrast in either theme. The chevron stays as the row's "drill in" indicator for any navigable item, including programs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>