From 281c6eba7fcf3a413381b27f3e540df3c40cd6ab Mon Sep 17 00:00:00 2001 From: Nuwan Date: Thu, 15 Jan 2026 23:00:12 +0530 Subject: [PATCH] feat(05-03): add header with close link to backing track section Matches JamTrack section format by adding a header showing "Backing Track: {filename}" with a close link. Changes: - Added h5 header in JKSessionScreen with backing track filename - Added close link with FontAwesome times icon - Removed duplicate internal header from JKSessionBackingTrack component - Now displays: "Backing Track: {shortFilename}" at the top - Close link triggers handleBackingTrackMainClose Format now matches JamTrack section: - Header with name and close link - Single track with instrument icon and mixer controls - Consistent styling with border separator Co-Authored-By: Claude Sonnet 4.5 --- .../client/JKSessionBackingTrack.js | 44 +------------------ .../src/components/client/JKSessionScreen.js | 15 +++++++ 2 files changed, 16 insertions(+), 43 deletions(-) diff --git a/jam-ui/src/components/client/JKSessionBackingTrack.js b/jam-ui/src/components/client/JKSessionBackingTrack.js index 330082cfd..8a9a88ea8 100644 --- a/jam-ui/src/components/client/JKSessionBackingTrack.js +++ b/jam-ui/src/components/client/JKSessionBackingTrack.js @@ -62,49 +62,7 @@ const JKSessionBackingTrack = ({
- {/* Backing Track Header with Close Icon */} - - - {/* File Name - centered where user name would be */} -
- {getFileName(backingTrack)} -
+ {/* Track display - header removed, now shown in parent */} {/* Instrument Icon */}