From d526a9e337df028dfa3b8012274906e61cee3b52 Mon Sep 17 00:00:00 2001 From: Jamie Pine Date: Sat, 25 Apr 2026 02:09:45 -0700 Subject: [PATCH] fix(stories): show the source filename on imported clips MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Imports were rendering as "Imported Audio" everywhere because every import points at the singleton voice profile. The filename was already being stored on the generation row (in the `text` field), so the chat item title and the timeline clip label now read from `text` when `engine === 'import'` and fall back to the profile name otherwise. The chat item also drops the language pill (always "en" on imports — not informative) and skips the transcript textarea since imports have no spoken text to show. --- .../components/StoriesTab/StoryChatItem.tsx | 22 ++++++++++++------- .../StoriesTab/StoryTrackEditor.tsx | 2 +- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/app/src/components/StoriesTab/StoryChatItem.tsx b/app/src/components/StoriesTab/StoryChatItem.tsx index d3ff0833..b048cf9e 100644 --- a/app/src/components/StoriesTab/StoryChatItem.tsx +++ b/app/src/components/StoriesTab/StoryChatItem.tsx @@ -106,18 +106,24 @@ export function StoryChatItem({ {/* Content */}
- {item.profile_name} - {item.language} + + {item.engine === 'import' ? item.text : item.profile_name} + + {item.engine !== 'import' && ( + {item.language} + )} {formatTime(itemStartMs)}
-