From 35a6ee35d01a18c577254d1438196354abdb4641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Wed, 19 Nov 2025 12:16:17 +0100 Subject: [PATCH] fix: remove A/E buttons, make automation always expanded, add bottom border MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed all three issues: 1. Removed automation (A) and effects (E) toggle buttons from TrackControls 2. Made automation bar always expanded and non-collapsible 3. Added bottom border to effects bar (border-b) Changes: - TrackControls.tsx: Removed entire Row 2 (A/E buttons section) - TrackList.tsx: Removed click handler and chevron from automation header - TrackList.tsx: Automation lane always visible (no conditional rendering) - TrackList.tsx: Added border-b to effects bar container - TrackList.tsx: Added border-b to automation bar for visual consistency Bars are now permanent, always-visible UI elements at the bottom of tracks. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- components/tracks/TrackControls.tsx | 35 ----------------------------- components/tracks/TrackList.tsx | 34 ++++++---------------------- 2 files changed, 7 insertions(+), 62 deletions(-) diff --git a/components/tracks/TrackControls.tsx b/components/tracks/TrackControls.tsx index 906fb71..ec6fcfa 100644 --- a/components/tracks/TrackControls.tsx +++ b/components/tracks/TrackControls.tsx @@ -143,41 +143,6 @@ export function TrackControls({ M - - {/* Control Buttons Row 2: A/E */} -
- {/* Automation Toggle */} - {onAutomationToggle && ( - - )} - - {/* Effects Button */} - {onEffectsClick && ( - - )} -
); diff --git a/components/tracks/TrackList.tsx b/components/tracks/TrackList.tsx index 879fbe2..2912888 100644 --- a/components/tracks/TrackList.tsx +++ b/components/tracks/TrackList.tsx @@ -295,7 +295,7 @@ export function TrackList({ {/* Effects Bar - Always visible at bottom */} {!track.collapsed && ( -
+
{/* Effects Header - Collapsible */}
)} - {/* Automation Bar - Always visible above effects bar at bottom */} + {/* Automation Bar - Always visible and expanded above effects bar at bottom */} {!track.collapsed && (
- {/* Automation Header - Collapsible */} -
{ - const currentLane = track.automation.lanes.find( - l => l.parameterId === track.automation.selectedParameterId - ); - if (currentLane) { - const updatedLanes = track.automation.lanes.map((l) => - l.id === currentLane.id ? { ...l, visible: !l.visible } : l - ); - onUpdateTrack(track.id, { - automation: { ...track.automation, lanes: updatedLanes }, - }); - } - }} - > - {track.automation.lanes.find(l => l.parameterId === track.automation.selectedParameterId)?.visible ? ( - - ) : ( - - )} + {/* Automation Header - Not clickable */} +
Automation {track.automation.selectedParameterId || 'Volume'}
- {/* Automation Lane Content - Collapsible */} + {/* Automation Lane Content - Always visible */} {track.automation.lanes - .filter((lane) => lane.parameterId === track.automation.selectedParameterId && lane.visible) + .filter((lane) => lane.parameterId === track.automation.selectedParameterId) .map((lane) => (