From d40db5c41c3151bcade5cd3785f675512571946c Mon Sep 17 00:00:00 2001 From: Wassim Gharbi Date: Wed, 29 Jul 2026 19:53:02 -1000 Subject: [PATCH 1/6] audio mode ux --- components/Editor.tsx | 14 ++++ components/MediaPreview.tsx | 132 ++++++++++-------------------------- components/Timeline.tsx | 93 ++++++++++++++++++++++--- 3 files changed, 130 insertions(+), 109 deletions(-) diff --git a/components/Editor.tsx b/components/Editor.tsx index 928d0513..9a7e276c 100644 --- a/components/Editor.tsx +++ b/components/Editor.tsx @@ -105,6 +105,20 @@ function SplitWorkspace({ orientation }: { orientation: "horizontal" | "vertical function EditorWorkspace() { const isDesktop = useIsDesktopLayout(); + const mediaKind = useEditorStore((s) => s.mediaKind); + // Audio has no visual preview — give the transcript the full workspace and + // mount MediaPreview off-layout so the hidden