Add pause controls and app attribution to the web app

Settings gets a Sharing card (pause 1 hour / until tomorrow / until
turned back on); the feed shows a resume banner while paused. Now-playing
cards say which app a phone reported, e.g. "via Spotify".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MzFywujuH9TiuXbr9vjoX8
This commit is contained in:
2026-10-03 17:37:30 -04:00
co-authored by Claude Opus 5.5
parent 70fc7efbbe
commit 23faffc251
4 changed files with 67 additions and 1 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ export function NowPlayingCard({
<span className="row">
<span className={`status ${np.isPlaying ? 'status-live' : ''}`}>
{np.isPlaying ? 'Listening now' : `Played ${timeAgo(np.updatedAt)}`}
<span className="muted"> via {SERVICE_LABELS[np.source]}</span>
<span className="muted"> via {np.sourceApp ?? SERVICE_LABELS[np.source]}</span>
</span>
{onTogglePin && (
<button