From 64864cfd34309b8a9b5cc1692d006a5b3f921ac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Wed, 19 Nov 2025 13:16:02 +0100 Subject: [PATCH] feat: use eye icon for effects bar folding like automation bar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace ChevronDown/ChevronRight with Eye/EyeOff icons - Position eye icon absolutely on the right side - Match AutomationHeader styling with bg-muted/50 and border - Eye icon shows when expanded, EyeOff when collapsed - Consistent UX between automation and effects bars 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- components/tracks/TrackList.tsx | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/components/tracks/TrackList.tsx b/components/tracks/TrackList.tsx index da1bfd6..3038bea 100644 --- a/components/tracks/TrackList.tsx +++ b/components/tracks/TrackList.tsx @@ -1,7 +1,7 @@ 'use client'; import * as React from 'react'; -import { Plus, Upload, ChevronDown, ChevronRight, X } from 'lucide-react'; +import { Plus, Upload, ChevronDown, ChevronRight, X, Eye, EyeOff } from 'lucide-react'; import { Button } from '@/components/ui/Button'; import { Track } from './Track'; import { TrackExtensions } from './TrackExtensions'; @@ -438,21 +438,28 @@ export function TrackList({ {!track.collapsed && (
{/* Effects Header - Collapsible */} -
{ - onUpdateTrack(track.id, { effectsExpanded: !track.effectsExpanded }); - }} - > - {track.effectsExpanded ? ( - - ) : ( - - )} +
Effects ({track.effectChain.effects.length}) + + {/* Show/hide toggle - Positioned absolutely on the right */} +
{/* Effects Content - Collapsible, no inner container */}