From 3c6a5d1a84e8ec9de1972c9937ec322cec1af4b7 Mon Sep 17 00:00:00 2001 From: Kagamine Rin Date: Fri, 29 May 2026 19:57:07 -0400 Subject: [PATCH] fix: Add onSelect click handler to ribbon view rows Ribbon view was missing the onClick handler that opens the detail panel. Tile view had it; ribbon view did not. Now both views open the slide-out panel when clicking a clip row/card. --- frontend/src/components/Gallery.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Gallery.tsx b/frontend/src/components/Gallery.tsx index daa7dfb..6cbc4a6 100644 --- a/frontend/src/components/Gallery.tsx +++ b/frontend/src/components/Gallery.tsx @@ -173,7 +173,8 @@ export default function Gallery({ clips, onPlay, onDelete, onRename, onSelect, o {paged.map((clip) => (
onSelect(clip)} + className={`px-5 py-4 flex items-center gap-4 hover:bg-white/5 transition-colors cursor-pointer ${ currentClipId === clip.id ? 'bg-white/5' : '' }`} >