From d4318147fe8cfbf3fb0a9de9ceaf041dbfafb6c5 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 8 Feb 2026 23:50:47 +0000 Subject: [PATCH] feat: add context menu button for mobile in FullPlayer Adds a visible "..." button next to the track title that opens the context menu on tap. This allows mobile users to access track options (add to playlist, go to artist/album, edit metadata, etc.) since right-click is not available on touch devices. https://claude.ai/code/session_01ScmvTUxvmtKdUVXfLyxS1p --- .../src/components/FullPlayer/FullPlayer.tsx | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/FullPlayer/FullPlayer.tsx b/frontend/src/components/FullPlayer/FullPlayer.tsx index 1e8b66e2..db8b8176 100644 --- a/frontend/src/components/FullPlayer/FullPlayer.tsx +++ b/frontend/src/components/FullPlayer/FullPlayer.tsx @@ -15,6 +15,7 @@ import { Type, Compass, Loader2, + MoreVertical, } from 'lucide-react'; import { usePlayerStore } from '../../stores/playerStore'; import { useSelectionStore } from '../../stores/selectionStore'; @@ -409,14 +410,29 @@ export function FullPlayer({ onClose }: FullPlayerProps) { {/* Bottom controls - includes safe area padding for home indicator */}
- {/* Track info - right-click for context menu */} + {/* Track info - right-click for context menu on desktop, button on mobile */}
-

{currentTrack.title || 'Unknown'}

+

{currentTrack.title || 'Unknown'}

{currentTrack.artist || 'Unknown'}

{currentTrack.album || ''}

+ {/* Context menu button - always visible but especially useful on mobile */} +
{/* Progress bar */}