Skip to content

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.

fix(studio): separate history actions with a subtle divider

open-design-crew[bot]5d4016067b25
diff --git a/docs/product/architecture.md b/docs/product/architecture.md
index b6cb9afb..8df7b5d4 100644
--- a/docs/product/architecture.md
+++ b/docs/product/architecture.md
@@ -20,7 +20,7 @@ Model Gateway remains a shared media-generation backend for MCP, using local Cod
- The project sidebar opens as a modal drawer over the editor at every viewport size. It starts closed, leaves the editor dimensions unchanged, and closes via its button, outside click or Escape. The header toggle remains mounted for focus restoration; privacy, theme and language settings live in the drawer footer. Error and empty-session views retain a drawer toggle so users can select an existing project or create one. Project rows show names without dates; the heading offers a New project button instead of a count. Creation uses the existing save and revision guards before opening the blank project.
- An empty, loaded root composition shows a centered import/drop prompt over the mounted preview and hides transport controls, including the placeholder duration. The empty state requires both no timeline clips and no authored preview content; loading, failed previews and nested compositions retain their existing states. Import uses the existing timeline gateway and file-drop pipeline. The empty timeline retains its drop target and ruler, with a muted dashed track sketch instead of a duplicate import prompt or button. Empty timelines disable zoom controls. A confirmed empty composition blocks new exports at both the settings button and the shared editor render-start handler, while existing export history remains available. Properties distinguish no content from no selection; small panel empty states share muted text and icon sizing. Preview zoom percentage and Fit sit in the MVP preview header, outside the picture. Clicking the percentage opens 50%, 75%, 100%, 150% and 200% presets in a compact opaque menu. The MVP hides the corner position navigator; existing zoom gestures and Fit remain available. Browser fullscreen is unavailable in the MVP, including its playback button and keyboard entry; workspace preview expansion remains available. Playback controls respond to their own container width: secondary-button gaps narrow below 420px, and speed/loop controls hide below 420px so timecode, play/pause and volume remain on one row. Preview and track volume use upward floating vertical sliders, opened by hover or keyboard focus; clicking the speaker still toggles mute.
- The composition list places the full video first, preserves the remaining clip order, and marks the live preview target. Queued, loading, missing and failed covers share a muted gray OD placeholder without failure text; decoded covers replace it automatically. A confirmed empty root is omitted from this list using the same loaded-preview content check; when no clips remain, the panel shows a brief empty state. The MVP omits the duplicate preview breadcrumb; composition switching and existing return shortcuts remain available.
-- The editor header keeps the OpenDesign logo, drawer toggle and template library on the left, centers the editable project name, and places undo/redo and export on the right. Clearing the title and committing with blur or Enter saves the localized Untitled default; Escape cancels. A logo-only community link sits immediately before Export and opens the public Discord community in every interface language, with a localized accessible tooltip; external links open separately from the editor. Undo, redo and version history form one visual group with 4px internal gaps; this group, the community link and Export use equal 16px gaps, without dividers. Transient save/error status remains available. Workspace and export failures show concise causes and available next steps, with raw diagnostics behind expandable, copyable details. Workspace connection failures use a persistent single-line feedback toast at the top center with a Reconnecting status and no buttons or diagnostic details. The Reconnecting ellipsis animates without changing the toast width; reduced-motion preferences keep it static. Automatic polling waits 1.8 seconds after each completed attempt and removes the toast on recovery; it has no overall retry limit or explicit per-request timeout and does not start a stopped service. Other notice dismissal does not bypass write guards. Editor toasts stack at the top center; editor, connection and template-copy feedback share a top-layer host above native dialogs and ordinary overlays, without taking focus. Template-copy feedback retains its existing placement and three-second lifetime; identical notices replace their previous instance. Error toasts use the compact neutral feedback surface and concise recognized causes, with a dismiss button and no details icon or expandable diagnostics. Detailed error panels retain their diagnostic controls. Informational toasts disappear after three seconds without a close control; actionable error notices remain dismissible and do not auto-expire. Save-queue pauses use a brief, localized feedback toast without paths, diagnostics or a retry action; it expires after three seconds without clearing the write guard or claiming that failed edits were saved. The template library reuses the website catalog layout: brand/use-case/video-type facets, configured featured templates, search and sorting, without site navigation, promotional hero or footer. Prism metadata and local cache updates drive the list. The catalog selects the editor locale from a shared multilingual publication, falling back to English and then the Resource default; template-copy prompts support the same eleven UI languages. Previews, author/source links and editable-project opening remain available. The detail view keeps the motion.md download action (`motionDocumentUrl`) above its guide content (`styleDescription`, `reviewFocus`, `motionGuideUrl`). Recreate opens a separate prompt dialog; copied instructions never occupy the guide area.
+- The editor header keeps the OpenDesign logo, drawer toggle and template library on the left, centers the editable project name, and places undo/redo and export on the right. Clearing the title and committing with blur or Enter saves the localized Untitled default; Escape cancels. A logo-only community link sits immediately before Export and opens the public Discord community in every interface language, with a localized accessible tooltip; external links open separately from the editor. Undo, redo and version history form one visual group with 4px internal gaps; this group, the community link and Export use equal 16px gaps. A decorative 1px by 16px divider in the shared border color sits between history and community without moving the buttons; it hides with the history group on narrow screens. Transient save/error status remains available. Workspace and export failures show concise causes and available next steps, with raw diagnostics behind expandable, copyable details. Workspace connection failures use a persistent single-line feedback toast at the top center with a Reconnecting status and no buttons or diagnostic details. The Reconnecting ellipsis animates without changing the toast width; reduced-motion preferences keep it static. Automatic polling waits 1.8 seconds after each completed attempt and removes the toast on recovery; it has no overall retry limit or explicit per-request timeout and does not start a stopped service. Other notice dismissal does not bypass write guards. Editor toasts stack at the top center; editor, connection and template-copy feedback share a top-layer host above native dialogs and ordinary overlays, without taking focus. Template-copy feedback retains its existing placement and three-second lifetime; identical notices replace their previous instance. Error toasts use the compact neutral feedback surface and concise recognized causes, with a dismiss button and no details icon or expandable diagnostics. Detailed error panels retain their diagnostic controls. Informational toasts disappear after three seconds without a close control; actionable error notices remain dismissible and do not auto-expire. Save-queue pauses use a brief, localized feedback toast without paths, diagnostics or a retry action; it expires after three seconds without clearing the write guard or claiming that failed edits were saved. The template library reuses the website catalog layout: brand/use-case/video-type facets, configured featured templates, search and sorting, without site navigation, promotional hero or footer. Prism metadata and local cache updates drive the list. The catalog selects the editor locale from a shared multilingual publication, falling back to English and then the Resource default; template-copy prompts support the same eleven UI languages. Previews, author/source links and editable-project opening remain available. The detail view keeps the motion.md download action (`motionDocumentUrl`) above its guide content (`styleDescription`, `reviewFocus`, `motionGuideUrl`). Recreate opens a separate prompt dialog; copied instructions never occupy the guide area.
- The asset panel shows only the current project, with compact search/import controls, type filters, and a dedicated scrollable list. User-uploaded audio rows in My assets show full filenames with their original extensions and wrap long names within the panel; the generic Audio label is omitted, while duration and specific BGM/SFX/Voice labels remain when available. Official library sources and presentation are unchanged. Assets referenced by the current composition carry an In use badge (已使用 in Chinese); unused assets have no badge. MVP My assets deletion invokes the existing file-deletion handler directly from the menu, without a second confirmation; the full editor retains its confirmation. This does not introduce a new undo mechanism or alter official catalog assets. Usage filtering is omitted; used assets still sort first within each type. In both My assets and the official animation library, hover plays only the card thumbnail, while clicking opens a centered modal preview over a gray full-editor backdrop. The modal reuses Studio-styled playback, volume and speed controls; its play button stays centered, and speed/loop controls hide below 420px to avoid overlap. Volume and loop icons are 16px inside 28px buttons, and playback speed text is 12px; closing it restores access to the paused composition; previewing media does not add it to the project. The global cache view remains in source but has no editor entry in the MVP.
- Panel positions are fixed. Export settings and render history live in a compact popover below the header Export button, outside the right panel. Both side groups can temporarily collapse into 48px vertical icon rails, giving their width to preview; the rail toggle restores the previous width and tab, while a module icon opens that module. Collapse does not remove panels or remount the player. Opening the MVP starts both sides collapsed and the timeline at 30% of the available dock height (subject to minimum sizes); users can then drag the divider to enlarge or reduce it. The fixed layout reserves at least 360px for preview, 260px for each expanded side panel. Side availability retains the existing conservative breakpoints, independently of the resizable minimums: below 740px both side groups and rails hide; from 740px to 1011px only one side can expand; wider hosts allow both only when their requested widths leave the preview floor intact. Opening a side through a toggle, module shortcut or programmatic activation uses the same fit check and closes the opposite side when necessary. Shrinking the host collapses expanded sides when they no longer fit; widening restores collapsed rails without automatically reopening panels. At widths smaller than the preview floor, preview uses the available workspace. Remembered expanded side widths remain available when reopening a side. Divider hover and drag change only the thin line to green. Divider resizing and per-project expanded-size persistence remain; panel movement, closing and layout presets are absent. Preview alone can temporarily expand within the editor workspace, keeping the host chat visible and the player mounted. Its header button or Escape restores the previous layout and playback position; expansion is not persisted across reloads.
- 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.
diff --git a/docs/reviews/motion-mvp-ui-followup/header-divider-after.png b/docs/reviews/motion-mvp-ui-followup/header-divider-after.png
new file mode 100644
index 00000000..82fbbe89
Binary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/header-divider-after.png differ
diff --git a/docs/reviews/motion-mvp-ui-followup/header-divider-before.png b/docs/reviews/motion-mvp-ui-followup/header-divider-before.png
new file mode 100644
index 00000000..8d1e2e7a
Binary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/header-divider-before.png differ
diff --git a/docs/reviews/motion-mvp-ui-followup/header-divider-narrow.png b/docs/reviews/motion-mvp-ui-followup/header-divider-narrow.png
new file mode 100644
index 00000000..15747156
Binary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/header-divider-narrow.png differ
diff --git a/docs/reviews/motion-mvp-ui-followup/interaction-update.md b/docs/reviews/motion-mvp-ui-followup/interaction-update.md
index 19c94a8e..43250bc3 100644
--- a/docs/reviews/motion-mvp-ui-followup/interaction-update.md
+++ b/docs/reviews/motion-mvp-ui-followup/interaction-update.md
@@ -120,3 +120,19 @@ Undo, redo and version history now form one visual group with equal 4px internal
The real 4173 editor was rebuilt and refreshed. DOM measurements confirmed 4px / 4px / 16px / 16px gaps, and screenshots were inspected at normal width and 680px. The existing narrow-header behavior hides the history group below 700px; community and Export remain separated without overlap. Both editor side panels were restored, with Compositions / Layers selected and playback paused at zero. No project content, timing, volume or history actions were changed for verification. [Before](header-action-spacing-before.png), [wide](header-action-spacing-wide.png), [narrow](header-action-spacing-narrow.png).
Validation: 20 existing MotionStudioHost cases passed, along with the publish-checkout repository check, Studio typecheck and production build. The working editor production build and scoped whitespace checks passed. Remote WorkBuddy verification was not performed.
+
+
+## Header history divider (2026-11-12)
+
+The user accepted the existing spacing and requested a small divider after version history, superseding the earlier no-divider choice. It matches the timeline separators: 1px wide, 16px high, using the shared border color. It occupies the existing history-to-community gap, preserving 4px / 4px / 16px / 16px button gaps and 28px icon targets. The decorative line ignores pointer input and hides with the history group below 700px.
+
+| Check | Result | Evidence / boundary |
+| --- | --- | --- |
+| Ordinary header and same-page consistency | Pass | Rebuilt real 4173 editor at 1035px; measured 1px by 16px and rgb(219, 219, 219), matching the toolbar separator. All button positions and gaps unchanged. [Before](header-divider-before.png), [after](header-divider-after.png). |
+| Narrow layout and re-entry | Pass | At 680px the history group and divider hide; community and Export remain visible. [Narrow](header-divider-narrow.png). Viewport override reset afterward. |
+| Adjacent history overlay | Pass | Opened history and closed with Escape. Its existing no-history/unavailable message was observed; no restore or retry was attempted. |
+| Accessibility | Unverified | Source inspection confirms an empty pseudo-element with no focus stop or label and pointer-events none; no assistive-technology walkthrough. |
+| Data and workflow checks | Not applicable | CSS decoration only: no new content, loading/empty/error states, input, saving, navigation, destructive actions, request races, media, network or Agent behavior. |
+| Remote WorkBuddy and dark-theme walkthrough | Unverified | Local light-theme browser only; dark colors follow the shared border token by source inspection. |
+
+The working production build and assembled PR check, Studio typecheck/build, 20 MotionStudioHost cases and scoped whitespace checks passed. The editor remains open, paused at zero. No project source/media/timing/volume changes or service restart were performed. Only this divider and its documentation/evidence were transferred to the publish checkout.
diff --git a/studio/src/motion/theme.css b/studio/src/motion/theme.css
index 867c922e..2c97d463 100644
--- a/studio/src/motion/theme.css
+++ b/studio/src/motion/theme.css
@@ -342,6 +342,8 @@ button, input, select, textarea { font-family: inherit; }
.motion-studio-header.motion-studio-header-centered > div:last-child { justify-self: end; flex-wrap: nowrap; gap: 16px; }
.motion-studio-header-centered .motion-header-history-actions,
.motion-studio-header-centered .motion-header-history-actions > .motion-history-actions { gap: 4px; }
+.motion-studio-header-centered .motion-header-history-actions { position: relative; }
+.motion-studio-header-centered .motion-header-history-actions::after { content: ""; position: absolute; top: 50%; right: -8px; width: 1px; height: 16px; transform: translateY(-50%); background: var(--motion-border); pointer-events: none; }
.motion-studio-header-centered .motion-workspace-actions { padding-right: 0; margin-right: 0; border-right: 0; }
.motion-community-link { flex-shrink: 0; }
.motion-community-link img { display: block; }