AI media harness for planning, generating, and editing locally
TypeScript
Timeline surfaces: chrome strips, well lanes with alternating rows
Bitti8acb11b55055
diff --git a/src/components/workspace/TimelineView.tsx b/src/components/workspace/TimelineView.tsxindex f5feebf..522f2de 100644--- a/src/components/workspace/TimelineView.tsx+++ b/src/components/workspace/TimelineView.tsx@@ -1371,9 +1371,10 @@ export function TimelineView({ config, folderPath, generationCompletionTimes = {onPointerDown={onRulerPointerDown}onContextMenu={onRulerMenu}/>- {drawnTracks.map((track) => <TrackRow+ {drawnTracks.map((track, index) => <TrackRowkey={track.id}track={track}+ alt={index % 2 === 1}label={trackLabels.get(track.id) ?? ""}duration={duration}folderPath={folderPath}@@ -1468,8 +1469,10 @@ const TimeRuler = memo(function TimeRuler({ rulerRef, scrollRef, durationMs, lan</div>;});-const TrackRow = memo(function TrackRow({ track, label, duration, folderPath, generatedJobsByAssetId, assetsById, selectedId, draggingId, dropActive, dropBlocked, actions }: {+const TrackRow = memo(function TrackRow({ track, alt, label, duration, folderPath, generatedJobsByAssetId, assetsById, selectedId, draggingId, dropActive, dropBlocked, actions }: {track: ProjectConfig["timeline"]["tracks"][number];+ /** Every other lane sits a step lighter on the well. */+ alt: boolean;/** "V1", "A1"… */label: string;duration: number;@@ -1504,7 +1507,7 @@ const TrackRow = memo(function TrackRow({ track, label, duration, folderPath, ge<button className={track.locked ? "active" : ""} onClick={() => actions.current.toggle(track.id, "locked")} aria-label={`${track.locked ? "Unlock" : "Lock"} ${named}`} aria-pressed={track.locked} {...tooltipProps(track.locked ? "Unlock" : "Lock")}>{track.locked ? <Lock size={14} /> : <LockOpen size={14} />}</button></div><div- className={`track-lane track-lane--${kind} ${track.muted ? "muted" : ""} ${dropActive ? "track-lane--drop" : ""} ${dropBlocked ? "track-lane--reject" : ""}`}+ className={`track-lane track-lane--${kind}${alt ? " track-lane--alt" : ""} ${track.muted ? "muted" : ""} ${dropActive ? "track-lane--drop" : ""} ${dropBlocked ? "track-lane--reject" : ""}`}/* Which track this lane IS, readable from the DOM: a clip dragged acrosslanes is hit-tested against the document, and the id is how the answergets back to the model. */diff --git a/src/styles/timeline.css b/src/styles/timeline.cssindex 2780ada..3aabfd8 100644--- a/src/styles/timeline.css+++ b/src/styles/timeline.css@@ -19,8 +19,8 @@--pane-timeline-inspector: 340px;--pane-timeline-height: 300px;--pane-timeline-tracks: 180px;- --toolbar-height: 36px;- --ruler-height: 24px;+ --toolbar-height: var(--chrome-row);+ --ruler-height: 28px;--track-video-height: 56px;--track-audio-height: 40px;@@ -56,7 +56,7 @@.clip-inspector {min-width: 0;min-height: 0;- background: var(--panel);+ background: var(--surface-pane);}.scene-panel {@@ -568,9 +568,9 @@align-items: center;gap: var(--space-3);padding: 0 var(--space-1) 0 var(--space-2);- border-top: 1px solid var(--line);+ border-top: 1px solid var(--stroke-divider);color: var(--text-secondary);- background: var(--layer);+ background: var(--surface-chrome);font-size: var(--text-xs);font-variant-numeric: tabular-nums;line-height: 1;@@ -962,7 +962,7 @@container: pro-timeline / inline-size;display: grid;grid-template-rows: var(--toolbar-height) minmax(0, 1fr);- background: var(--panel);+ background: var(--surface-well);user-select: none;}@@ -978,8 +978,8 @@align-items: center;gap: var(--space-3);padding: 0 var(--space-2);- border-bottom: 1px solid var(--line);- background: var(--layer);+ border-bottom: 1px solid var(--stroke-divider);+ background: var(--surface-chrome);}.timeline-toolbar__lead {@@ -1180,9 +1180,9 @@ button.transport-time:hover { background: var(--fill-subtle-hover); }top: 0;left: 0;z-index: 11;- border-right: 1px solid var(--line);- border-bottom: 1px solid var(--line);- background: var(--layer);+ border-right: 1px solid var(--stroke-divider);+ border-bottom: 1px solid var(--stroke-divider);+ background: var(--surface-chrome);}.time-ruler {@@ -1190,8 +1190,8 @@ button.transport-time:hover { background: var(--fill-subtle-hover); }top: 0;z-index: 8;overflow: hidden;- border-bottom: 1px solid var(--line);- background-color: var(--layer);+ border-bottom: 1px solid var(--stroke-divider);+ background-color: var(--surface-chrome);/* Minor ticks, painted rather than rendered: the interval is set inlinefrom the zoom (background-size), so a frame-level ruler costs nothing. */background-image: linear-gradient(90deg, var(--text-faint) 1px, transparent 1px);@@ -1236,9 +1236,9 @@ button.transport-time:hover { background: var(--fill-subtle-hover); }align-items: center;gap: var(--space-1);padding: 0 var(--space-1) 0 var(--space-2);- border-right: 1px solid var(--line);+ border-right: 1px solid var(--stroke-divider);border-bottom: 1px solid var(--line);- background: var(--layer);+ background: var(--surface-chrome);}.track-head--audio,@@ -1308,7 +1308,7 @@ button.transport-time:hover { background: var(--fill-subtle-hover); }height: var(--track-video-height);overflow: hidden;border-bottom: 1px solid var(--line);- background-color: var(--panel);+ background-color: var(--surface-well);background-image: linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);/* Set by the view from the ruler's own label interval, so the lines line upwith the timecodes above at every zoom. */@@ -1319,6 +1319,10 @@ button.transport-time:hover { background: var(--fill-subtle-hover); }opacity: 0.24;}+/* Every other lane a step lighter, so a long clip still reads as sitting on+ one row. */+.track-lane--alt { background-color: var(--surface-well-alt); }+/* Lit while a compatible media file is held over this lane. A drop target theuser cannot see is a drop target the user will not find. */.track-lane--drop {