The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.
TypeScript agent-skillsagentic-aiai-agentsai-videobyokclaude-codecodexdeepseek-harnessdsh-plugingenerative-ailocal-firstmcpmotionmotion-graphicsmultimodalopenmotionreverse-engineeringvideo-editingvideo-generationworkbuddy
fix(studio): reclaim timeline space from MVP track labels
open-design-crew[bot]3fa53cc378a8
diff --git a/docs/product/architecture.md b/docs/product/architecture.mdindex 5b94b7d7..225f6ff3 100644--- a/docs/product/architecture.md+++ b/docs/product/architecture.md@@ -26,7 +26,7 @@ Model Gateway remains a shared media-generation backend for MCP, using local Cod- MVP controls share a locally bundled Remix Icon 4.9.1 set with the reference design system. Menu selections consistently use check icons, and the language menu is 180px wide. Expanded side-panel tabs remain text-only; collapsed rails use the corresponding panel icons. Brand artwork and timeline geometry are separate from control icons.- The editor startup shell and project/editor loading boundaries share a centered, theme-aware OD symbol without adding a minimum loading delay. Below 700px of workspace content width, the editor header stays on one row: undo/redo and version history hide, the template library becomes icon-only, the project title truncates, and Export stays at the right edge.- MVP audio-bearing tracks expose a single speaker button before visibility in the track header: click toggles mute, while hover or keyboard focus opens a compact volume slider, writing every audio/video clip in that row through native saves and undo. Video visibility remains separate, and preview-monitor volume remains a playback preference. Clip-count badges are omitted to make room for these controls. The audio-meter toolbar toggle, meter display and audio FX entry points (track presets, group effects and inspector rack) are omitted in the MVP. The media inspector exposes speed, media start, loop and Fit; Fit uses the same shared menu surface as font controls. It omits the source-path row, Position, path-copy, cutout controls, gain/volume automation, speed automation/presets, audio fades, mute and audio-track toggles. Color fields retain their selected preview until an asynchronous save settles, and roll back on rejection. Existing authored media/audio values remain intact, with track mute and volume available in the timeline. Track audio controls use cached source audio-track detection independently of mute and gain; unknown video sources retain controls until confirmed silent. Track volume sliders cover 0–100% and show effective zero output while muted, retaining the saved volume for unmute.-- MVP timeline clips omit visible name bands, giving their space to thumbnails or waveforms. Videos with embedded audio show video frames only; independent audio clips retain waveforms. MVP fade handles are hidden while authored effects and trimming remain intact. Ruler text counter-scales during zoom animation so glyphs keep their width. Track headers, hover titles, accessible clip names, the FX badge and track visibility controls remain available. Volume badges are omitted in the MVP; the track speaker retains the volume readout.+- The MVP timeline uses a 200px track-label column with a 32px gutter; ruler, clips, playhead clipping and drag-scroll bounds share that origin. Long track names truncate with their full value available on hover, while speaker and visibility controls retain their size. The full editor retains its 232px label column. MVP timeline clips omit visible name bands, giving their space to thumbnails or waveforms. Videos with embedded audio show video frames only; independent audio clips retain waveforms. MVP fade handles are hidden while authored effects and trimming remain intact. Ruler text counter-scales during zoom animation so glyphs keep their width. Track headers, hover titles, accessible clip names, the FX badge and track visibility controls remain available. Volume badges are omitted in the MVP; the track speaker retains the volume readout.- Export history shows the filename and relative export time, without render-duration metadata. Filenames use 12px medium text, dates use 11px text with 4px top spacing, and the text block reserves an additional 8px before download/delete actions; long filenames truncate with the full value available on hover. Export offers native MP4, MOV, WebM and GIF. MVP GIF exports always loop indefinitely and omit the loop-count setting; the full editor retains custom loop counts. GIF retains its 30 fps limit. MOV and WebP use short format names; ProRes appears in the MOV format help. WebP remains disabled; its encoding backend is not implemented.- The MVP omits the standalone timeline title strip to give its space to tracks, retaining the tool row and ruler.- The MVP shows Select and Split as adjacent timeline tools. Split at playhead remains available by keyboard shortcut, without a duplicate toolbar button. Tooltips add a short explanation for less familiar controls while simple actions retain a name-only hint. Overlay surfaces share subtle entrance motion; Base UI popovers and media-preview dialogs also retain their surfaces through a short exit. Tooltip hover delay is 200ms, with instant keyboard-focus hints. Reduced-motion preferences disable overlay transitions; dock expansion keeps its separate animation.diff --git a/docs/reviews/motion-mvp-ui-followup/interaction-update.md b/docs/reviews/motion-mvp-ui-followup/interaction-update.mdindex 91ea9c2e..18c3fd31 100644--- a/docs/reviews/motion-mvp-ui-followup/interaction-update.md+++ b/docs/reviews/motion-mvp-ui-followup/interaction-update.md@@ -102,3 +102,12 @@ GIF export in the MVP now always uses infinite looping (`gifLoop: 0`) and hidesThe real 4173 production build was refreshed with GIF already selected. [Before](gif-loop-before.png) and [after](gif-loop-hidden.png) show that the loop field is gone and the remaining export controls are present. The editor remains open with both side panels restored. No export was initiated and no project media, timing or volume was changed.Validation: 33 export-control and request-forwarding cases passed, including the updated MVP regression asserting no loop input and a zero loop count at submission, plus retained full-editor finite-count and invalid-input cases. Studio typecheck/build passed in both checkouts; repository check passed in the publish checkout. Codec playback and remote WorkBuddy verification were not performed; this is a settings/parameter change. Loading/error/empty-state behavior is unchanged.+++## Narrower MVP timeline labels (2026-11-12)++The MVP track-label column is now 200px instead of 232px, reclaiming 32px for the timeline while retaining its 32px gutter. Populated rows, group headers, empty-state geometry and drag-scroll bounds use the same width. Ruler/clip origins and playhead clipping follow that shared geometry. The full editor retains its existing 232px label column. Names retain truncation/full-value hover behavior and audio/visibility buttons retain their 24px target width.++Real-editor browser measurements confirmed a 200px header, 232px content origin and 200px auto-scroll inset. Both 24px buttons fit inside the header; the current filename remains fully visible. The viewport kept the paused 12.406s position and original source/media values, with Undo disabled. Fit zoom naturally recomputed for the extra timeline space. [Before](timeline-label-before.png), [after](timeline-label-after.png). No clips, timings, audio levels or asset names were edited for verification.++Validation: 61 cases across the timeline scrolling, track-header, group-row, viewport metadata and preview empty-state suites passed in both working and publish checkouts. The scroll regression now covers both editor modes, verifies MVP header/ruler/auto-scroll alignment, and checks playhead clipping during repeated horizontal scroll and after settling. Studio typecheck/build and the publish-checkout repository check passed. Long-name truncation is retained by source inspection; no real asset was renamed. Remote WorkBuddy and actual file-drop mutations were not exercised.diff --git a/docs/reviews/motion-mvp-ui-followup/timeline-label-after.png b/docs/reviews/motion-mvp-ui-followup/timeline-label-after.pngnew file mode 100644index 00000000..fe4d49abBinary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/timeline-label-after.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/timeline-label-before.png b/docs/reviews/motion-mvp-ui-followup/timeline-label-before.pngnew file mode 100644index 00000000..1d6c5817Binary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/timeline-label-before.png differdiff --git a/studio/src/player/components/Timeline.virtualization.test.tsx b/studio/src/player/components/Timeline.virtualization.test.tsxindex 6ad3f2d6..632bd6af 100644--- a/studio/src/player/components/Timeline.virtualization.test.tsx+++ b/studio/src/player/components/Timeline.virtualization.test.tsx@@ -401,7 +401,7 @@ describe("Timeline row virtualization", { timeout: 30_000 }, () => {* to doing no per-frame work while a gesture runs.*/describe("Timeline without row virtualization", { timeout: 30_000 }, () => {- async function renderUnvirtualizedTimeline() {+ async function renderUnvirtualizedTimeline(mvpEditor = false) {vi.stubEnv("VITE_STUDIO_TIMELINE_ROW_VIRTUALIZATION_ENABLED", "0");vi.resetModules();const [{ Timeline }, { usePlayerStore }] = await Promise.all([@@ -415,10 +415,11 @@ describe("Timeline without row virtualization", { timeout: 30_000 }, () => {elements: clipsByTrack(40, 10, true),});+ const { StudioHostContext } = await import("../../motion/StudioHost");const { host, root } = await mountTimeline(- React.createElement(Timeline, {- renderClipContent: () => React.createElement("span", { "data-rich-content": true }),- }),+ <StudioHostContext.Provider value={{ mvpEditor }}><Timeline+ renderClipContent={() => <span data-rich-content />}+ /></StudioHostContext.Provider>,);return {host,@@ -431,11 +432,17 @@ describe("Timeline without row virtualization", { timeout: 30_000 }, () => {};}- it("keeps a scrolled-off playhead clipped throughout scrolling and after settling", async () => {- const { host, dispose } = await renderUnvirtualizedTimeline();+ it.each([false, true])("keeps a scrolled-off playhead clipped with aligned headers throughout scrolling (MVP: %s)", async mvp => {+ const { host, dispose } = await renderUnvirtualizedTimeline(mvp);try {const scroller = host.querySelector<HTMLElement>("[data-timeline-scroll-viewport]")!;const layer = () => host.querySelector<HTMLElement>("[data-timeline-playhead-layer]");+ if (mvp) {+ expect(host.querySelector<HTMLElement>('[role="rowheader"]')?.style.width).toBe("200px");+ expect(scroller.dataset.timelineAutoScrollLeftInset).toBe("200");+ expect(host.querySelector<HTMLElement>(".sticky.left-0")?.style.width).toBe("232px");+ expect(host.textContent).toContain("Clip 0");+ }await scrollTimelineHorizontally(scroller, 166);// The ruler's corner is as wide as the track headers; the glow may overhang by 6.5px.const headerWidth = parseFloat(diff --git a/studio/src/player/components/TimelineEmptyState.tsx b/studio/src/player/components/TimelineEmptyState.tsxindex dbfb4ddb..2b109086 100644--- a/studio/src/player/components/TimelineEmptyState.tsx+++ b/studio/src/player/components/TimelineEmptyState.tsx@@ -1,7 +1,7 @@import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import type { DragEventHandler } from "react";-import { CLIP_Y, GUTTER, LABEL_COL_W, RULER_H, TRACK_H, TRACKS_TOP_PAD } from "./timelineLayout";+import { CLIP_Y, GUTTER, MVP_LABEL_COL_W, RULER_H, TRACK_H, TRACKS_TOP_PAD } from "./timelineLayout";import { useMediaGateway } from "../../motion/MediaGatewayContext";import { usePlayerStore } from "../store/playerStore";import { mediaPopoverAnchor } from "../../motion/mediaPopoverPosition";@@ -34,7 +34,7 @@ export function TimelineEmptyState({const { t } = useI18n();const mvp = useMvpEditor();const gateway = useMediaGateway();- const emptyOrigin = mvp ? (contentOrigin ?? LABEL_COL_W + GUTTER) : GUTTER;+ const emptyOrigin = mvp ? (contentOrigin ?? MVP_LABEL_COL_W + GUTTER) : GUTTER;const hideGuide = !!gateway?.generationOpen && !isDragOver;return (<div@@ -73,7 +73,7 @@ export function TimelineEmptyState({style={{ top: trackTopPadding, height: TRACK_H }}aria-hidden={!isDragOver}>- <span className="motion-empty-timeline-label" style={{ width: LABEL_COL_W }}>A-roll</span>+ <span className="motion-empty-timeline-label" style={{ width: MVP_LABEL_COL_W }}>A-roll</span><div className="motion-empty-timeline-lane" style={{ left: emptyOrigin, top: CLIP_Y, bottom: CLIP_Y }}>{isDragOver && <span>{t("Drop media files to import")}</span>}</div></div> : <divdata-motion-empty-mediadiff --git a/studio/src/player/components/TimelineGroupRow.tsx b/studio/src/player/components/TimelineGroupRow.tsxindex a12bef8d..c4fac088 100644--- a/studio/src/player/components/TimelineGroupRow.tsx+++ b/studio/src/player/components/TimelineGroupRow.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../../motion/StudioHost";import {HF_AUDIO_FX_ATTR,serializeAudioFxChain,@@ -12,7 +13,7 @@ import { groupAutomationLanes } from "./automationLaneData";import { groupAutomationElement } from "./groupAutomationElement";import { TimelineAutomationLaneSlot } from "./TimelineAutomationLaneSlot";import { TimelineGroupLaneLabels } from "./TimelineGroupLaneLabels";-import { LABEL_COL_W, TRACK_H } from "./timelineLayout";+import { LABEL_COL_W, MVP_LABEL_COL_W, TRACK_H } from "./timelineLayout";import type { UseAutomationLanesResult } from "./useAutomationLanes";import { useDomEditSelectionContextOptional } from "../../contexts/DomEditContext";import { useTimelineEditContextOptional } from "../../contexts/TimelineEditContext";@@ -74,6 +75,8 @@ export function TimelineGroupRow({contentGutter,trackContentWidth,}: TimelineGroupRowProps) {+ const mvp = useMvpEditor();+ const labelColumnWidth = mvp ? MVP_LABEL_COL_W : LABEL_COL_W;// From the group, NOT from `tracks`: a collapsed group emits no member rows// into the display list, and every one of these reads silently degraded to// empty in that (default) state — the lane count@@ -149,7 +152,7 @@ export function TimelineGroupRow({after the header it starts at x = columnWidth, i.e. inside the lanes. */}<divclassName="sticky left-0 z-12 shrink-0"- style={{ width: contentOrigin >= LABEL_COL_W ? LABEL_COL_W : contentOrigin }}+ style={{ width: contentOrigin >= labelColumnWidth ? labelColumnWidth : contentOrigin }}><TimelineGroupHeaderlabel={group.label}@@ -173,7 +176,7 @@ export function TimelineGroupRow({// timeline (see Timeline.tsx) rather than by overhanging alone — an// overhanging header paints opaquely across the rest of its row and// stays pinned there through horizontal scroll.- columnWidth={contentOrigin >= LABEL_COL_W ? LABEL_COL_W : contentOrigin}+ columnWidth={contentOrigin >= labelColumnWidth ? labelColumnWidth : contentOrigin}theme={theme}showAudioEffects={showAudioEffects}/>@@ -187,7 +190,7 @@ export function TimelineGroupRow({groupElement={groupElement}groupLabel={group.label}top={TRACK_H}- columnWidth={contentOrigin >= LABEL_COL_W ? LABEL_COL_W : contentOrigin}+ columnWidth={contentOrigin >= labelColumnWidth ? labelColumnWidth : contentOrigin}gutterBackground={theme.gutterBackground}accentColor={GROUP_LANE_ACCENT}onReveal={showAudioEffects ? openGroupFxRack : undefined}diff --git a/studio/src/player/components/TimelineTrackHeader.tsx b/studio/src/player/components/TimelineTrackHeader.tsxindex f7490a52..461f1572 100644--- a/studio/src/player/components/TimelineTrackHeader.tsx+++ b/studio/src/player/components/TimelineTrackHeader.tsx@@ -19,7 +19,7 @@ import { elementFxChain, groupAutomationLanes, isCarveLane } from "./automationLimport { AUTOMATION_LANE_H } from "./automationLaneHeight";import { clipTimingStart } from "../../hooks/gsapShared";import { LaneToggleButton, LayerDisclosureRow } from "./LayerDisclosureRow";-import { LABEL_COL_W, TRACK_H, getTimelineLaneTop } from "./timelineLayout";+import { LABEL_COL_W, MVP_LABEL_COL_W, TRACK_H, getTimelineLaneTop } from "./timelineLayout";import type { TimelineTheme } from "./timelineTheme";import { trackDisplaySuffix } from "./timelineTrackDisplay";import { AutomationLaneHeaderRow, PropertyGroupHeaderRow } from "./trackHeaderLabelRows";@@ -111,6 +111,7 @@ export function TimelineTrackHeader({rovingTargetId = null,}: TimelineTrackHeaderProps) {const mvp = useMvpEditor();+ const labelColumnWidth = mvp ? MVP_LABEL_COL_W : LABEL_COL_W;const clipPercentage = keyframeClip? ((currentTime - keyframeClip.start) / keyframeClip.duration) * 100: 0;@@ -119,9 +120,9 @@ export function TimelineTrackHeader({// host-absolute while its tweens are local to its own file.getTimelinePropertyLanes(animations, clipTimingStart(keyframeClip), keyframeClip.duration): [];- // Label mode = keyframe view; the label column stays LABEL_COL_W (Timeline.tsx- // owns the gutter past it, so a 0% diamond isn't clipped by this panel).- const showTrackLabel = contentOrigin >= LABEL_COL_W;+ // Reserve the same label width as the ruler origin; keep its trailing gutter+ // clear so a 0% diamond is not clipped by this panel.+ const showTrackLabel = contentOrigin >= labelColumnWidth;// One row per automated property across the whole track, in the order the// canvas draws them — a name beside the wrong envelope is worse than an awkward// order. `target` is the ACTIVE clip's lane in that row, which is the only one@@ -280,7 +281,7 @@ export function TimelineTrackHeader({aria-colindex={1}className="sticky left-0 z-12 shrink-0"style={{- width: showTrackLabel ? LABEL_COL_W : contentOrigin,+ width: showTrackLabel ? labelColumnWidth : contentOrigin,background: gutterFill(theme.gutterBackground, isGroupMember),borderRight: `1px solid ${theme.gutterBorder}`,// A group's member rows are `aria-level="2"`, and until this they read@@ -381,7 +382,7 @@ export function TimelineTrackHeader({clipCount={clipCount}isExpanded={isExpanded}gutterBackground={gutterFill(theme.gutterBackground, isGroupMember)}- columnWidth={showTrackLabel ? LABEL_COL_W : contentOrigin}+ columnWidth={showTrackLabel ? labelColumnWidth : contentOrigin}lanesId={lanesId}onToggleClipExpanded={onToggleClipExpanded}>@@ -422,7 +423,7 @@ export function TimelineTrackHeader({currentTime={currentTime}clipPercentage={clipPercentage}gutterBackground={gutterFill(theme.gutterBackground, isGroupMember)}- columnWidth={showTrackLabel ? LABEL_COL_W : contentOrigin}+ columnWidth={showTrackLabel ? labelColumnWidth : contentOrigin}onTogglePropertyGroupKeyframe={onTogglePropertyGroupKeyframe}onSeek={onSeek}rovingTargetId={rovingTargetId}@@ -449,7 +450,7 @@ export function TimelineTrackHeader({top={getTimelineLaneTop(lanes.length) + index * AUTOMATION_LANE_H}isLastLane={index === automationRows.length - 1}gutterBackground={gutterFill(theme.gutterBackground, isGroupMember)}- columnWidth={showTrackLabel ? LABEL_COL_W : contentOrigin}+ columnWidth={showTrackLabel ? labelColumnWidth : contentOrigin}onRemove={onRemoveAutomationLane}isCarve={row.isCarve}// Only for a lane the ACTIVE clip actually draws: the rack shows onediff --git a/studio/src/player/components/timelineLayout.ts b/studio/src/player/components/timelineLayout.tsindex c680e79d..a26ef198 100644--- a/studio/src/player/components/timelineLayout.ts+++ b/studio/src/player/components/timelineLayout.ts@@ -5,6 +5,7 @@ import type { TimelineTimeRange } from "../lib/timelineClipIndex";/* ── Layout constants ──────────────────────────────────────────────── */export const GUTTER = 32;export const LABEL_COL_W = 232;+export const MVP_LABEL_COL_W = 200;export const TRACK_H = 48;export const LANE_H = 28;export const RULER_H = 24;diff --git a/studio/src/player/components/timelineShellMeta.tsx b/studio/src/player/components/timelineShellMeta.tsxindex fb8a6677..7b2e727b 100644--- a/studio/src/player/components/timelineShellMeta.tsx+++ b/studio/src/player/components/timelineShellMeta.tsx@@ -9,7 +9,7 @@ import {shouldIgnoreTimelinePointerDown,} from "./timelineProviderStateBuilders";import { TimelineRazorGuideOverlay } from "./TimelineRazorInteraction";-import { LABEL_COL_W } from "./timelineLayout";+import { GUTTER } from "./timelineLayout";import type { TimelineTheme } from "./timelineTheme";type ViewportHandlers = Pick<@@ -90,7 +90,7 @@ export function buildTimelineShellMeta(input: TimelineShellMetaInputs): TimelineonLostPointerCapture: pointer.onPointerCancel,},elementCount: input.elementCount,- labelColumnWidth: LABEL_COL_W,+ labelColumnWidth: input.labelMode ? input.contentOrigin - GUTTER : 0,razorGuide:activeTool === "razor" && razor.razorGuideX !== null ? (<TimelineRazorGuideOverlay x={razor.razorGuideX} />diff --git a/studio/src/player/components/useTimelineLabelColumn.ts b/studio/src/player/components/useTimelineLabelColumn.tsindex 69c24150..45e2dbd7 100644--- a/studio/src/player/components/useTimelineLabelColumn.ts+++ b/studio/src/player/components/useTimelineLabelColumn.ts@@ -2,7 +2,7 @@ import { useMemo } from "react";import { useMvpEditor } from "../../motion/StudioHost";import type { GsapAnimation } from "@hyperframes/core/gsap-parser";import type { TimelineElement } from "../store/playerStore";-import { GUTTER, LABEL_COL_W, TRACKS_LEFT_PAD } from "./timelineLayout";+import { GUTTER, LABEL_COL_W, MVP_LABEL_COL_W, TRACKS_LEFT_PAD } from "./timelineLayout";import { timelineNeedsLabelColumn } from "./timelineViewModel";export function useTimelineLabelColumn(@@ -15,6 +15,6 @@ export function useTimelineLabelColumn([mvp, animationsByElement, elements],);// The label column provides pre-t=0 space; otherwise keep TRACKS_LEFT_PAD after the gutter.- const contentOrigin = labelMode ? LABEL_COL_W + GUTTER : GUTTER + TRACKS_LEFT_PAD;+ const contentOrigin = labelMode ? (mvp ? MVP_LABEL_COL_W : LABEL_COL_W) + GUTTER : GUTTER + TRACKS_LEFT_PAD;return { labelMode, contentOrigin };}