AI media harness for planning, generating, and editing locally
TypeScript
Trim the import button and the monitor panel
Bittib25f6b472a75
diff --git a/src/components/workspace/TimelineView.tsx b/src/components/workspace/TimelineView.tsxindex ef694c0..b0b19c8 100644--- a/src/components/workspace/TimelineView.tsx+++ b/src/components/workspace/TimelineView.tsx@@ -291,7 +291,7 @@ export function TimelineView({ config, folderPath, onChange, onOpenGenerator }:disabled={importing || !isTauri()}title={isTauri() ? "Copy video, sound, or image files into this project" : "Importing files is available in the desktop app"}>- <Upload size={20} /><b>{importing ? "Importing…" : "Import media"}</b><small>Video, sound, or images</small>+ <Upload size={20} /><b>{importing ? "Importing…" : "Import media"}</b></button>{importError && <p className="panel-hint panel-hint--error" role="alert">{importError}</p>}</div>@@ -301,12 +301,14 @@ export function TimelineView({ config, folderPath, onChange, onOpenGenerator }:<main className="program-panel"><h2 className="sr-only">Program monitor</h2><div className="program-canvas">- {/* An empty monitor is an empty monitor. The panel that used to sit+ {/* An empty monitor is an empty monitor: the panel that used to sithere restated the project's name and prompt — both already in thetopbar — to say nothing was playing, which the black picture says- by itself. Footage that exists but cannot be played back yet still- gets a panel, because THAT is not obvious. */}- {hasVisualOutput && (+ by itself. The note about footage that exists but cannot be played+ back yet is worth making, but only once something is actually cut+ into the timeline; over an empty edit it was a panel about+ nothing, covering the picture. */}+ {hasVisualOutput && clipCount > 0 && (<div className="program-empty program-empty--footage"><Film size={30} /><strong>{config.name}</strong>diff --git a/src/styles/timeline.css b/src/styles/timeline.cssindex 02a2cb8..f7da475 100644--- a/src/styles/timeline.css+++ b/src/styles/timeline.css@@ -439,8 +439,7 @@color: var(--danger);}-.media-import b,-.media-import small {+.media-import b {width: 100%;text-align: center;}@@ -455,16 +454,11 @@padding: 0 var(--space-2);}-.media-grid--list .media-import b,-.media-grid--list .media-import small {+.media-grid--list .media-import b {width: auto;text-align: left;}-.media-grid--list .media-import small {- color: var(--text-muted);-}-/* --- Program monitor ------------------------------------------------------- */.program-panel {