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): refine MVP picker, zoom and toast interactions
open-design-crew[bot]65681e410c16
diff --git a/docs/product/architecture.md b/docs/product/architecture.mdindex b66a46b3..2aa2e0d6 100644--- a/docs/product/architecture.md+++ b/docs/product/architecture.md@@ -18,15 +18,15 @@ Model Gateway remains a shared media-generation backend for MCP, using local Cod- Agent 与用户操作同一份工程,修改能在工作室继续编辑。- 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. 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. 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. 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. 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. Automatic polling continues and removes the toast on recovery; it does not start a stopped service. Other notice dismissal does not bypass write guards. Toasts stack at the top center of the editor. 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. 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; 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 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. Expanded side-panel tabs remain text-only; collapsed rails use the corresponding panel icons. Brand artwork and timeline geometry are separate from control icons.+- 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. 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. Automatic polling continues and removes the toast on recovery; it does not start a stopped service. Other notice dismissal does not bypass write guards. Toasts stack at the top center of the editor; 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. 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.- 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 source, speed, media start, loop, fit and position; it omits path-copy, cutout controls, gain/volume automation, speed automation/presets, audio fades, mute and audio-track toggles. 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. 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.+- 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.- Export offers native MP4, MOV, WebM and GIF. GIF includes loop-count controls and a 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.@@ -167,7 +167,7 @@ README 参考 OpenDesign 的产品导览和 HTML Anything 的贡献、来源表MCP version availability is derived from readable, hash-verified native or retained blobs at query time. Restore repeats this check and stages verified contents before entering the existing write transaction. Missing or corrupt historical resources report project-relative paths with `VERSION_NOT_RESTORABLE` and `applied=false`, preserving current project contents and version identity. Availability can change between calls; Studio's native GUI history retains its own restoration semantics.-MCP restore refusals also reach the owning editor through its existing project-status polling and shared error toast. Notices retain file paths, localize the explanation and remain dismissible; repeated polls do not repeat a request's notice. The latest refusal is transient backend state, cleared on successful restoration or restart, and is separate from project source and history. Native history panel action failures reuse the same toast.+MCP restore refusals also reach the owning editor through its existing project-status polling and shared error toast. Toasts summarize the unavailable historical files without exposing paths or diagnostic controls, and remain dismissible; repeated polls do not repeat a request's notice. The latest refusal is transient backend state, cleared on successful restoration or restart, and is separate from project source and history. Native history panel action failures reuse the same toast.Preview/export preflight and the bundled OpenMotion lint command use the pinned native linter's Studio policy in an isolated, cancellable process. A structurally invalid project is rejected before editor opening or rendering; non-blocking warnings remain warnings. The npm CLI's `diagnose` command reads the installed host configuration and probes initialization, tool discovery and the expected workspace through an independent MCP process. It does not mutate configuration, create projects or prove active-chat connectivity. Host reconnection and a subsequent real host read remain separate completion conditions; see [connection diagnosis](../npm-installation.md#missing-mcp-tools-or-a-failed-connection).diff --git a/docs/reviews/motion-mvp-ui-followup/README.md b/docs/reviews/motion-mvp-ui-followup/README.mdindex 3b2608fc..edf68424 100644--- a/docs/reviews/motion-mvp-ui-followup/README.md+++ b/docs/reviews/motion-mvp-ui-followup/README.md@@ -19,3 +19,7 @@ Additional browser checks confirmed neutral hidden-track icons, a stable editor- Focused Studio validation covered 21 files and 320 tests. A test-only CSS marker initially failed the style gate; converting it to a data attribute fixed it, and both the gate and host suite passed on rerun (26 tests).- Coverage includes docking, media inspector, assets, shared menus, timeline clips and audio controls, locale routing, connection feedback and theme/token checks.- No full suite, installer validation, new export or external-service join was performed for this frontend-only change. Existing Happy DOM network diagnostics do not represent a failed test.++## Additional interaction update++See [the interaction follow-up and browser evidence](interaction-update.md) for zoom presets, cover placeholders, playback layout, media Fit, title defaults, color-save stability, ruler zoom and concise error feedback. This update retains the public Discord community change.diff --git a/docs/reviews/motion-mvp-ui-followup/color-drag-pending.png b/docs/reviews/motion-mvp-ui-followup/color-drag-pending.pngnew file mode 100644index 00000000..d05cf827Binary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/color-drag-pending.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/color-drag-rejected.png b/docs/reviews/motion-mvp-ui-followup/color-drag-rejected.pngnew file mode 100644index 00000000..047d4609Binary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/color-drag-rejected.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/color-drag-success.png b/docs/reviews/motion-mvp-ui-followup/color-drag-success.pngnew file mode 100644index 00000000..c1c3b84dBinary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/color-drag-success.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/fit-after.png b/docs/reviews/motion-mvp-ui-followup/fit-after.pngnew file mode 100644index 00000000..dff4d47eBinary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/fit-after.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/interaction-update.md b/docs/reviews/motion-mvp-ui-followup/interaction-update.mdnew file mode 100644index 00000000..d5b72a2b--- /dev/null+++ b/docs/reviews/motion-mvp-ui-followup/interaction-update.md@@ -0,0 +1,46 @@+# Interaction follow-up verification++Date: 2026-11-11. This update is based on PR #276 head `b85b8ded1e2b681ecac73deb3e243e86ddbbfae2` and preserves its public community-link change. The original working checkout and its uncommitted changes remain intact. Only the interaction changes below were transferred; newer template-library, runtime, privacy, history and resize-synchronization code is preserved.++## Included behavior++- Hide the MVP corner navigator; expose 50%, 75%, 100%, 150% and 200% preview zoom presets in a narrow opaque menu.+- Use check icons consistently for selected menu items. Narrow the language menu to 180px.+- Show a gray OD placeholder for queued, loading, missing or failed composition covers.+- Show video frames without an embedded waveform for MVP video clips; preserve independent audio waveforms.+- Keep splitter hover/drag feedback as a thin green line.+- Center asset-preview playback controls, retaining time/play/volume below 420px and hiding speed/loop. Preserve the common icon/button sizes.+- Hide MVP fade handles without changing authored fades or trim handles.+- Save the localized Untitled default for a cleared title on blur or Enter; Escape cancels.+- Hide MVP source-path and Position rows, retain Fit, and use the same shared menu primitive as font controls.+- Forward asynchronous color-save promises to the existing gesture transaction, retaining the selected preview while pending/successful and rolling back on rejection.+- Counter-scale timeline ruler text during zoom so labels do not stretch.+- Use concise localized causes and a compact neutral error toast without a details icon. Identical notices replace each other. Brief/info feedback still expires after three seconds; persistent errors retain their dismiss button. History restore refusals get a concise cause without exposing paths. Detailed non-toast error panels retain diagnostics.++## Checks++- CI-pinned Node 26.11.1. Reused the existing installation after confirming the dependency lock matches; no manifest or lockfile changes.+- `npm run check`, `npm run typecheck:studio`, `npm run build:studio` and `git diff --check` passed.+- 23 focused Studio test files cover 410 cases. The initial run passed 408; the two failures were an old text-checkmark assertion and unused diagnostic CSS classes. After changing the assertion to check the SVG and removing those unused classes, both affected files passed (50 cases). The other 360 cases were not unnecessarily rerun.+- Initial design validation rejected hardcoded placeholder fallback colors; the final CSS uses existing semantic tokens and passes the check.+- Local source and built-component browser checks are evidence for this machine only. No WorkBuddy installation, full local suite, export-format matrix or package publication was performed.++## Browser evidence and limits++The images below were captured during the local walkthrough against the working editor or a clearly identified isolated component harness. They demonstrate the transferred interactions; they are not claimed as remote WorkBuddy evidence. Test media and local project data are excluded from Git.++| Interaction | Evidence | Scope |+| --- | --- | --- |+| Zoom presets/checkmarks | [Zoom menu](motion-zoom-five-check.png) | Real editor; corner navigator hidden |+| Thin splitter and video frames | [Editor](motion-thin-divider-video-frames.png) | Real editor; independent audio preserved in tests |+| Asset-preview controls | [Wide](preview-controls-after-wide.png), [narrow](preview-controls-after-narrow.png) | Real browser layout |+| Hidden fade handles | [Timeline](mvp-fade-handles-hidden.png) | Existing fades and trimming retained |+| Empty title and language menu | [Untitled](unnamed-saved-language-narrow.png) | Saved/refreshed, then original project title restored |+| Fit dropdown | [Fit menu](fit-after.png) | Five options, selected contain; same-value selection closes without a write |+| Ruler zoom | [Timeline](timeline-zoom-after.png), [samples](timeline-zoom-in-frames.json) | 26 samples during active zoom-in: five-character labels stayed within 29.9998–30.0003px of their 30px baseline; zoom-out animation covered by tests |+| Color promise lifecycle | [Pending](color-drag-pending.png), [success](color-drag-success.png), [rejected](color-drag-rejected.png) | Isolated real pointer-drag harness using production components and controlled promises; not a real-project save |+| Concise toast | [Toast](toast-concise-reason.png) | Isolated production-component browser harness; duplicate notices coalesce, only close remains |++The original screenshot does not establish the cause of the failed operation. The toast change improves the explanation when a cause is recognized; it does not prove that the original operation now succeeds. Color testing proves the asynchronous-save regression and rollback behavior, not the absence of every possible HSV/RGB quantization artifact.++The assembled PR build was also opened in the real browser through a temporary local frontend proxy, reusing the existing backend without restarting port 4173. The proxy served this checkout's production assets and permitted only reads plus the existing preview-open action; project-edit requests were blocked. [Final assembled Fit menu](pr276-assembled-fit.png) confirms all five localized options, the selected checkmark, hidden source/Position rows and the retained public Discord link. The existing project title, media values and disabled Undo were unchanged. The temporary page/server were closed and the original editor was left open.diff --git a/docs/reviews/motion-mvp-ui-followup/motion-thin-divider-video-frames.png b/docs/reviews/motion-mvp-ui-followup/motion-thin-divider-video-frames.pngnew file mode 100644index 00000000..bc251999Binary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/motion-thin-divider-video-frames.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/motion-zoom-five-check.png b/docs/reviews/motion-mvp-ui-followup/motion-zoom-five-check.pngnew file mode 100644index 00000000..e861625fBinary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/motion-zoom-five-check.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/mvp-fade-handles-hidden.png b/docs/reviews/motion-mvp-ui-followup/mvp-fade-handles-hidden.pngnew file mode 100644index 00000000..1c229e67Binary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/mvp-fade-handles-hidden.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/pr276-assembled-fit.png b/docs/reviews/motion-mvp-ui-followup/pr276-assembled-fit.pngnew file mode 100644index 00000000..53be416dBinary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/pr276-assembled-fit.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/preview-controls-after-narrow.png b/docs/reviews/motion-mvp-ui-followup/preview-controls-after-narrow.pngnew file mode 100644index 00000000..877d3fcdBinary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/preview-controls-after-narrow.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/preview-controls-after-wide.png b/docs/reviews/motion-mvp-ui-followup/preview-controls-after-wide.pngnew file mode 100644index 00000000..959bcf78Binary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/preview-controls-after-wide.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/timeline-zoom-after.png b/docs/reviews/motion-mvp-ui-followup/timeline-zoom-after.pngnew file mode 100644index 00000000..33faf6faBinary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/timeline-zoom-after.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/timeline-zoom-in-frames.json b/docs/reviews/motion-mvp-ui-followup/timeline-zoom-in-frames.jsonnew file mode 100644index 00000000..c206800d--- /dev/null+++ b/docs/reviews/motion-mvp-ui-followup/timeline-zoom-in-frames.json@@ -0,0 +1,1862 @@+[+ [+ {+ "parent": "",+ "text": "00:02",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:04",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:06",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:08",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:10",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:12",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:14",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:16",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:18",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:20",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "",+ "text": "00:02",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:04",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:06",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:08",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:10",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:12",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:14",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:16",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:18",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:20",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "",+ "text": "00:02",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:04",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:06",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:08",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:10",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:12",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:14",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:16",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:18",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:20",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "",+ "text": "00:02",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:04",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:06",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:08",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:10",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:12",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:14",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:16",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:18",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "",+ "text": "00:20",+ "transform": "matrix(1, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-63.4167px) scaleX(1.05)",+ "text": "00:02",+ "transform": "matrix(0.952381, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-63.4167px) scaleX(1.05)",+ "text": "00:04",+ "transform": "matrix(0.952381, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-63.4167px) scaleX(1.05)",+ "text": "00:06",+ "transform": "matrix(0.952381, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-63.4167px) scaleX(1.05)",+ "text": "00:08",+ "transform": "matrix(0.952381, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-63.4167px) scaleX(1.05)",+ "text": "00:10",+ "transform": "matrix(0.952381, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-63.4167px) scaleX(1.05)",+ "text": "00:12",+ "transform": "matrix(0.952381, 0, 0, 1, 0, 0)",+ "width": 29.9998779296875+ },+ {+ "parent": "translateX(-63.4167px) scaleX(1.05)",+ "text": "00:14",+ "transform": "matrix(0.952381, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-63.4167px) scaleX(1.05)",+ "text": "00:16",+ "transform": "matrix(0.952381, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-63.4167px) scaleX(1.05)",+ "text": "00:18",+ "transform": "matrix(0.952381, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-63.4167px) scaleX(1.05)",+ "text": "00:20",+ "transform": "matrix(0.952381, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-171.225px) scaleX(1.135)",+ "text": "00:02",+ "transform": "matrix(0.881057, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-171.225px) scaleX(1.135)",+ "text": "00:04",+ "transform": "matrix(0.881057, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-171.225px) scaleX(1.135)",+ "text": "00:06",+ "transform": "matrix(0.881057, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-171.225px) scaleX(1.135)",+ "text": "00:08",+ "transform": "matrix(0.881057, 0, 0, 1, 0, 0)",+ "width": 29.9998779296875+ },+ {+ "parent": "translateX(-171.225px) scaleX(1.135)",+ "text": "00:10",+ "transform": "matrix(0.881057, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-171.225px) scaleX(1.135)",+ "text": "00:12",+ "transform": "matrix(0.881057, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-171.225px) scaleX(1.135)",+ "text": "00:14",+ "transform": "matrix(0.881057, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-171.225px) scaleX(1.135)",+ "text": "00:16",+ "transform": "matrix(0.881057, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-171.225px) scaleX(1.135)",+ "text": "00:18",+ "transform": "matrix(0.881057, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-171.225px) scaleX(1.135)",+ "text": "00:20",+ "transform": "matrix(0.881057, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-266.35px) scaleX(1.21)",+ "text": "00:02",+ "transform": "matrix(0.826446, 0, 0, 1, 0, 0)",+ "width": 30.000030517578125+ },+ {+ "parent": "translateX(-266.35px) scaleX(1.21)",+ "text": "00:04",+ "transform": "matrix(0.826446, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-266.35px) scaleX(1.21)",+ "text": "00:06",+ "transform": "matrix(0.826446, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-266.35px) scaleX(1.21)",+ "text": "00:08",+ "transform": "matrix(0.826446, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-266.35px) scaleX(1.21)",+ "text": "00:10",+ "transform": "matrix(0.826446, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-266.35px) scaleX(1.21)",+ "text": "00:12",+ "transform": "matrix(0.826446, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-266.35px) scaleX(1.21)",+ "text": "00:14",+ "transform": "matrix(0.826446, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-266.35px) scaleX(1.21)",+ "text": "00:16",+ "transform": "matrix(0.826446, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-266.35px) scaleX(1.21)",+ "text": "00:18",+ "transform": "matrix(0.826446, 0, 0, 1, 0, 0)",+ "width": 29.9998779296875+ },+ {+ "parent": "translateX(-266.35px) scaleX(1.21)",+ "text": "00:20",+ "transform": "matrix(0.826446, 0, 0, 1, 0, 0)",+ "width": 29.9998779296875+ }+ ],+ [+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:02",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:04",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 29.999969482421875+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:06",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:08",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:10",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:12",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:14",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:16",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:18",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:20",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ }+ ],+ [+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:02",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:04",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 29.999969482421875+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:06",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:08",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:10",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:12",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:14",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:16",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:18",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-367.817px) scaleX(1.29)",+ "text": "00:20",+ "transform": "matrix(0.775194, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ }+ ],+ [+ {+ "parent": "translateX(-462.942px) scaleX(1.365)",+ "text": "00:02",+ "transform": "matrix(0.732601, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-462.942px) scaleX(1.365)",+ "text": "00:04",+ "transform": "matrix(0.732601, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-462.942px) scaleX(1.365)",+ "text": "00:06",+ "transform": "matrix(0.732601, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-462.942px) scaleX(1.365)",+ "text": "00:08",+ "transform": "matrix(0.732601, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-462.942px) scaleX(1.365)",+ "text": "00:10",+ "transform": "matrix(0.732601, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-462.942px) scaleX(1.365)",+ "text": "00:12",+ "transform": "matrix(0.732601, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-462.942px) scaleX(1.365)",+ "text": "00:14",+ "transform": "matrix(0.732601, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-462.942px) scaleX(1.365)",+ "text": "00:16",+ "transform": "matrix(0.732601, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-462.942px) scaleX(1.365)",+ "text": "00:18",+ "transform": "matrix(0.732601, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-462.942px) scaleX(1.365)",+ "text": "00:20",+ "transform": "matrix(0.732601, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-539.042px) scaleX(1.425)",+ "text": "00:02",+ "transform": "matrix(0.701754, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-539.042px) scaleX(1.425)",+ "text": "00:04",+ "transform": "matrix(0.701754, 0, 0, 1, 0, 0)",+ "width": 30.000030517578125+ },+ {+ "parent": "translateX(-539.042px) scaleX(1.425)",+ "text": "00:06",+ "transform": "matrix(0.701754, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-539.042px) scaleX(1.425)",+ "text": "00:08",+ "transform": "matrix(0.701754, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-539.042px) scaleX(1.425)",+ "text": "00:10",+ "transform": "matrix(0.701754, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-539.042px) scaleX(1.425)",+ "text": "00:12",+ "transform": "matrix(0.701754, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-539.042px) scaleX(1.425)",+ "text": "00:14",+ "transform": "matrix(0.701754, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-539.042px) scaleX(1.425)",+ "text": "00:16",+ "transform": "matrix(0.701754, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-539.042px) scaleX(1.425)",+ "text": "00:18",+ "transform": "matrix(0.701754, 0, 0, 1, 0, 0)",+ "width": 29.999755859375+ },+ {+ "parent": "translateX(-539.042px) scaleX(1.425)",+ "text": "00:20",+ "transform": "matrix(0.701754, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-634.167px) scaleX(1.5)",+ "text": "00:02",+ "transform": "matrix(0.666667, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-634.167px) scaleX(1.5)",+ "text": "00:04",+ "transform": "matrix(0.666667, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-634.167px) scaleX(1.5)",+ "text": "00:06",+ "transform": "matrix(0.666667, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-634.167px) scaleX(1.5)",+ "text": "00:08",+ "transform": "matrix(0.666667, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-634.167px) scaleX(1.5)",+ "text": "00:10",+ "transform": "matrix(0.666667, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-634.167px) scaleX(1.5)",+ "text": "00:12",+ "transform": "matrix(0.666667, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-634.167px) scaleX(1.5)",+ "text": "00:14",+ "transform": "matrix(0.666667, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-634.167px) scaleX(1.5)",+ "text": "00:16",+ "transform": "matrix(0.666667, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-634.167px) scaleX(1.5)",+ "text": "00:18",+ "transform": "matrix(0.666667, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-634.167px) scaleX(1.5)",+ "text": "00:20",+ "transform": "matrix(0.666667, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:02",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:04",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:06",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30.00006103515625+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:08",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 29.99993896484375+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:10",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:12",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:14",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 29.999755859375+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:16",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:18",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:20",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:02",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:04",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:06",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30.00006103515625+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:08",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 29.99993896484375+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:10",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:12",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:14",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 29.999755859375+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:16",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:18",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-716.608px) scaleX(1.565)",+ "text": "00:20",+ "transform": "matrix(0.638978, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-792.708px) scaleX(1.625)",+ "text": "00:02",+ "transform": "matrix(0.615385, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-792.708px) scaleX(1.625)",+ "text": "00:04",+ "transform": "matrix(0.615385, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-792.708px) scaleX(1.625)",+ "text": "00:06",+ "transform": "matrix(0.615385, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-792.708px) scaleX(1.625)",+ "text": "00:08",+ "transform": "matrix(0.615385, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-792.708px) scaleX(1.625)",+ "text": "00:10",+ "transform": "matrix(0.615385, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-792.708px) scaleX(1.625)",+ "text": "00:12",+ "transform": "matrix(0.615385, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-792.708px) scaleX(1.625)",+ "text": "00:14",+ "transform": "matrix(0.615385, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-792.708px) scaleX(1.625)",+ "text": "00:16",+ "transform": "matrix(0.615385, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-792.708px) scaleX(1.625)",+ "text": "00:18",+ "transform": "matrix(0.615385, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-792.708px) scaleX(1.625)",+ "text": "00:20",+ "transform": "matrix(0.615385, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:02",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:04",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:06",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:08",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:10",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 29.9998779296875+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:12",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:14",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 29.9998779296875+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:16",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:18",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:20",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30.000244140625+ }+ ],+ [+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:02",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:04",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:06",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:08",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:10",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 29.9998779296875+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:12",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:14",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 29.9998779296875+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:16",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:18",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-862.467px) scaleX(1.68)",+ "text": "00:20",+ "transform": "matrix(0.595238, 0, 0, 1, 0, 0)",+ "width": 30.000244140625+ }+ ],+ [+ {+ "parent": "translateX(-925.883px) scaleX(1.73)",+ "text": "00:02",+ "transform": "matrix(0.578035, 0, 0, 1, 0, 0)",+ "width": 30.00006103515625+ },+ {+ "parent": "translateX(-925.883px) scaleX(1.73)",+ "text": "00:04",+ "transform": "matrix(0.578035, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-925.883px) scaleX(1.73)",+ "text": "00:06",+ "transform": "matrix(0.578035, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-925.883px) scaleX(1.73)",+ "text": "00:08",+ "transform": "matrix(0.578035, 0, 0, 1, 0, 0)",+ "width": 30.00006103515625+ },+ {+ "parent": "translateX(-925.883px) scaleX(1.73)",+ "text": "00:10",+ "transform": "matrix(0.578035, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-925.883px) scaleX(1.73)",+ "text": "00:12",+ "transform": "matrix(0.578035, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-925.883px) scaleX(1.73)",+ "text": "00:14",+ "transform": "matrix(0.578035, 0, 0, 1, 0, 0)",+ "width": 30.000244140625+ },+ {+ "parent": "translateX(-925.883px) scaleX(1.73)",+ "text": "00:16",+ "transform": "matrix(0.578035, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-925.883px) scaleX(1.73)",+ "text": "00:18",+ "transform": "matrix(0.578035, 0, 0, 1, 0, 0)",+ "width": 30.000244140625+ },+ {+ "parent": "translateX(-925.883px) scaleX(1.73)",+ "text": "00:20",+ "transform": "matrix(0.578035, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:02",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:04",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:06",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:08",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:10",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:12",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:14",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:16",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:18",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:20",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 29.999755859375+ }+ ],+ [+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:02",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:04",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:06",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:08",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:10",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:12",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:14",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:16",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:18",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-982.958px) scaleX(1.775)",+ "text": "00:20",+ "transform": "matrix(0.56338, 0, 0, 1, 0, 0)",+ "width": 29.999755859375+ }+ ],+ [+ {+ "parent": "translateX(-1033.69px) scaleX(1.815)",+ "text": "00:02",+ "transform": "matrix(0.550964, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1033.69px) scaleX(1.815)",+ "text": "00:04",+ "transform": "matrix(0.550964, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1033.69px) scaleX(1.815)",+ "text": "00:06",+ "transform": "matrix(0.550964, 0, 0, 1, 0, 0)",+ "width": 30.00006103515625+ },+ {+ "parent": "translateX(-1033.69px) scaleX(1.815)",+ "text": "00:08",+ "transform": "matrix(0.550964, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1033.69px) scaleX(1.815)",+ "text": "00:10",+ "transform": "matrix(0.550964, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1033.69px) scaleX(1.815)",+ "text": "00:12",+ "transform": "matrix(0.550964, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-1033.69px) scaleX(1.815)",+ "text": "00:14",+ "transform": "matrix(0.550964, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1033.69px) scaleX(1.815)",+ "text": "00:16",+ "transform": "matrix(0.550964, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1033.69px) scaleX(1.815)",+ "text": "00:18",+ "transform": "matrix(0.550964, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1033.69px) scaleX(1.815)",+ "text": "00:20",+ "transform": "matrix(0.550964, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-1078.08px) scaleX(1.85)",+ "text": "00:02",+ "transform": "matrix(0.540541, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1078.08px) scaleX(1.85)",+ "text": "00:04",+ "transform": "matrix(0.540541, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1078.08px) scaleX(1.85)",+ "text": "00:06",+ "transform": "matrix(0.540541, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1078.08px) scaleX(1.85)",+ "text": "00:08",+ "transform": "matrix(0.540541, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1078.08px) scaleX(1.85)",+ "text": "00:10",+ "transform": "matrix(0.540541, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1078.08px) scaleX(1.85)",+ "text": "00:12",+ "transform": "matrix(0.540541, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1078.08px) scaleX(1.85)",+ "text": "00:14",+ "transform": "matrix(0.540541, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1078.08px) scaleX(1.85)",+ "text": "00:16",+ "transform": "matrix(0.540541, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1078.08px) scaleX(1.85)",+ "text": "00:18",+ "transform": "matrix(0.540541, 0, 0, 1, 0, 0)",+ "width": 29.999755859375+ },+ {+ "parent": "translateX(-1078.08px) scaleX(1.85)",+ "text": "00:20",+ "transform": "matrix(0.540541, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:02",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:04",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:06",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30.00006103515625+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:08",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:10",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:12",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:14",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:16",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:18",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:20",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 29.999755859375+ }+ ],+ [+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:02",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:04",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:06",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30.00006103515625+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:08",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:10",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:12",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:14",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:16",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:18",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1116.13px) scaleX(1.88)",+ "text": "00:20",+ "transform": "matrix(0.531915, 0, 0, 1, 0, 0)",+ "width": 29.999755859375+ }+ ],+ [+ {+ "parent": "translateX(-1154.18px) scaleX(1.91)",+ "text": "00:02",+ "transform": "matrix(0.52356, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1154.18px) scaleX(1.91)",+ "text": "00:04",+ "transform": "matrix(0.52356, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1154.18px) scaleX(1.91)",+ "text": "00:06",+ "transform": "matrix(0.52356, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1154.18px) scaleX(1.91)",+ "text": "00:08",+ "transform": "matrix(0.52356, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1154.18px) scaleX(1.91)",+ "text": "00:10",+ "transform": "matrix(0.52356, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1154.18px) scaleX(1.91)",+ "text": "00:12",+ "transform": "matrix(0.52356, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1154.18px) scaleX(1.91)",+ "text": "00:14",+ "transform": "matrix(0.52356, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1154.18px) scaleX(1.91)",+ "text": "00:16",+ "transform": "matrix(0.52356, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1154.18px) scaleX(1.91)",+ "text": "00:18",+ "transform": "matrix(0.52356, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1154.18px) scaleX(1.91)",+ "text": "00:20",+ "transform": "matrix(0.52356, 0, 0, 1, 0, 0)",+ "width": 29.999755859375+ }+ ],+ [+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:02",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:04",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:06",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:08",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:10",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:12",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:14",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:16",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:18",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:20",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:02",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:04",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:06",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:08",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:10",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:12",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:14",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:16",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:18",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1185.89px) scaleX(1.935)",+ "text": "00:20",+ "transform": "matrix(0.516796, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:02",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 29.9998779296875+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:04",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:06",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:08",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:10",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:12",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:14",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:16",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:18",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:20",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:02",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 29.9998779296875+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:04",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:06",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:08",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:10",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:12",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30.0001220703125+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:14",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:16",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:18",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1204.92px) scaleX(1.95)",+ "text": "00:20",+ "transform": "matrix(0.512821, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ],+ [+ {+ "parent": "translateX(-1223.94px) scaleX(1.965)",+ "text": "00:02",+ "transform": "matrix(0.508906, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1223.94px) scaleX(1.965)",+ "text": "00:04",+ "transform": "matrix(0.508906, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1223.94px) scaleX(1.965)",+ "text": "00:06",+ "transform": "matrix(0.508906, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1223.94px) scaleX(1.965)",+ "text": "00:08",+ "transform": "matrix(0.508906, 0, 0, 1, 0, 0)",+ "width": 29.9998779296875+ },+ {+ "parent": "translateX(-1223.94px) scaleX(1.965)",+ "text": "00:10",+ "transform": "matrix(0.508906, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1223.94px) scaleX(1.965)",+ "text": "00:12",+ "transform": "matrix(0.508906, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1223.94px) scaleX(1.965)",+ "text": "00:14",+ "transform": "matrix(0.508906, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1223.94px) scaleX(1.965)",+ "text": "00:16",+ "transform": "matrix(0.508906, 0, 0, 1, 0, 0)",+ "width": 30+ },+ {+ "parent": "translateX(-1223.94px) scaleX(1.965)",+ "text": "00:18",+ "transform": "matrix(0.508906, 0, 0, 1, 0, 0)",+ "width": 30.000244140625+ },+ {+ "parent": "translateX(-1223.94px) scaleX(1.965)",+ "text": "00:20",+ "transform": "matrix(0.508906, 0, 0, 1, 0, 0)",+ "width": 30+ }+ ]+]\ No newline at end of filediff --git a/docs/reviews/motion-mvp-ui-followup/toast-concise-reason.png b/docs/reviews/motion-mvp-ui-followup/toast-concise-reason.pngnew file mode 100644index 00000000..57647134Binary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/toast-concise-reason.png differdiff --git a/docs/reviews/motion-mvp-ui-followup/unnamed-saved-language-narrow.png b/docs/reviews/motion-mvp-ui-followup/unnamed-saved-language-narrow.pngnew file mode 100644index 00000000..98bb1ac9Binary files /dev/null and b/docs/reviews/motion-mvp-ui-followup/unnamed-saved-language-narrow.png differdiff --git a/studio/src/components/LinkedSelectionToggle.tsx b/studio/src/components/LinkedSelectionToggle.tsxindex 3ef55d42..5ab1039a 100644--- a/studio/src/components/LinkedSelectionToggle.tsx+++ b/studio/src/components/LinkedSelectionToggle.tsx@@ -1,7 +1,7 @@import { useI18n } from "../i18n/I18n";import { useCallback, useState } from "react";import { createPortal } from "react-dom";-import { LinkSimple } from "../icons/RemixIcons";+import { Check, LinkSimple } from "../icons/RemixIcons";import { useContextMenuDismiss } from "../hooks/useContextMenuDismiss";import { useMenuKeyboardNav } from "../player/components/menuKeyboardNav";import { useLinkedClipPreferences } from "../utils/linkedClipPreferences";@@ -33,7 +33,7 @@ function SyncIndicatorMenu({ x, y, onClose }: { x: number; y: number; onClose: (onClose();}}>- <span className="w-3 text-studio-accent">{visible ? "✓" : ""}</span>+ <span className="w-3 text-studio-accent">{visible && <Check size={12} />}</span>{t("Show out-of-sync indicators")}</button></div>,document.body,diff --git a/studio/src/components/StudioToast.tsx b/studio/src/components/StudioToast.tsxindex 70f6b638..ade370e1 100644--- a/studio/src/components/StudioToast.tsx+++ b/studio/src/components/StudioToast.tsx@@ -1,4 +1,5 @@-import { ErrorNotice } from "./ui/ErrorNotice";+import { toastErrorMessage } from "./ui/toastErrorMessage";+import { RemixIcon } from "../icons/RemixIcons";import { useI18n } from "../i18n/I18n";import { systemMessage } from "../i18n/systemMessages";interface StudioToastProps {@@ -17,11 +18,12 @@ export function StudioToast({ message, tone, presentation, leaving, onDismiss, sconst isError = tone === "error";return (<div- role={isError ? (presentation === "feedback" ? "alert" : undefined) : "status"}+ role={isError ? "alert" : "status"}className={`pointer-events-auto max-w-full motion-reduce:animate-none ${leaving ? "hf-toast-exit" : "hf-toast-enter"}`}>- {isError && presentation !== "feedback" ? <div className="max-w-[min(420px,calc(100vw-48px))] rounded-2xl border border-danger/40 bg-raised p-3 shadow-popover">- <ErrorNotice key={message} message={message} compact onDismiss={onDismiss} />+ {isError && presentation !== "feedback" ? <div className="flex max-w-[min(420px,calc(100vw-48px))] items-center gap-3 rounded-2xl bg-toast-feedback px-4 py-2 text-[12px] text-toast-feedback-ink shadow-popover">+ <span className="min-w-0 leading-5 [overflow-wrap:anywhere]">{t(toastErrorMessage(message))}</span>+ {onDismiss && <button type="button" className="grid h-6 w-6 shrink-0 place-items-center rounded hover:bg-white/10" aria-label={t('Dismiss error')} onClick={onDismiss}><RemixIcon name="close-line" size={14} /></button>}</div> : <div className={`max-w-[min(420px,calc(100vw-48px))] overflow-hidden rounded-2xl px-4 py-2 text-[12px] shadow-popover bg-toast-feedback text-toast-feedback-ink`}><div className={status ? "flex min-w-0 items-center gap-3" : undefined}><span className={singleLine ? "block min-w-0 truncate leading-5" : "line-clamp-3 leading-5 [overflow-wrap:anywhere]"} title={systemMessage(message, t)}>{systemMessage(message, t)}</span>diff --git a/studio/src/components/dock/Dock.test.tsx b/studio/src/components/dock/Dock.test.tsxindex 2e6b570a..31511824 100644--- a/studio/src/components/dock/Dock.test.tsx+++ b/studio/src/components/dock/Dock.test.tsx@@ -334,7 +334,8 @@ describe("a host's dock", () => {const menu = [...host.querySelectorAll("button")].find((b) => b.textContent === "Window");act(() => menu?.click());const items = [...host.querySelectorAll('[role="menuitemcheckbox"]')].map((i) => i.textContent);- expect(items).toEqual(["✓Preview", "✓Timeline", "✓Assets", "✓Renders"]);+ expect(items).toEqual(["Preview", "Timeline", "Assets", "Renders"]);+ expect(host.querySelectorAll('[role="menuitemcheckbox"] [data-remix-icon="check-line"]')).toHaveLength(4);});it("keeps its layout alone under its own key, never in Studio's preferences", () => {diff --git a/studio/src/components/dock/Dock.tsx b/studio/src/components/dock/Dock.tsxindex a006c1fd..e71d532c 100644--- a/studio/src/components/dock/Dock.tsx+++ b/studio/src/components/dock/Dock.tsx@@ -1,4 +1,5 @@import { useI18n } from "../../i18n/I18n";+import { Check } from "../../icons/RemixIcons";import {createContext,useCallback,@@ -481,7 +482,7 @@ function WindowMenu() {onClick={() => togglePanel(id)}className={`${menuClasses.row} ${menuClasses.rowEnabled} flex items-center gap-2`}>- <span className="w-3 text-accent-ink">{openPanels.has(id) ? "✓" : ""}</span>+ <span className="w-3 text-accent-ink">{openPanels.has(id) && <Check size={12} />}</span>{t(PANEL_DEFINITIONS[id].title)}</button>))}diff --git a/studio/src/components/editor/propertyPanelColor.test.tsx b/studio/src/components/editor/propertyPanelColor.test.tsxindex 6dda2e28..26b97e9f 100644--- a/studio/src/components/editor/propertyPanelColor.test.tsx+++ b/studio/src/components/editor/propertyPanelColor.test.tsx@@ -102,6 +102,31 @@ describe("ColorField flat trigger", () => {});});+describe("ColorField pending save", () => {+ it.each(["resolve", "reject"])("keeps the picker steady until an async save %ss", async (outcome) => {+ let resolve!: () => void;+ let reject!: (error: Error) => void;+ const saved = new Promise<void>((done, fail) => { resolve = done; reject = fail; });+ const onCommit = vi.fn(() => saved);+ const onPreview = vi.fn();+ openHexInput(renderColorField({ value: "#FF0000", onCommit, onPreview }));+ const hue = document.querySelector<HTMLElement>('[role="slider"][aria-label="Hue"]')!;+ act(() => hue.dispatchEvent(new KeyboardEvent("keydown", { bubbles: true, key: "ArrowRight" })));+ const previewed = onPreview.mock.lastCall![0];+ const position = hue.getAttribute("aria-valuenow");+ act(() => hue.dispatchEvent(new KeyboardEvent("keyup", { bubbles: true, key: "ArrowRight" })));+ expect(onCommit).toHaveBeenCalledOnce();+ expect(onPreview).toHaveBeenLastCalledWith(previewed);+ expect(hue.getAttribute("aria-valuenow")).toBe(position);+ await act(async () => {+ if (outcome === "resolve") resolve();+ else reject(new Error("Save failed"));+ await saved.catch(() => {});+ });+ expect(onPreview).toHaveBeenLastCalledWith(outcome === "resolve" ? previewed : "rgb(255, 0, 0)");+ });+});+describe("ColorField hex editing", () => {it.each([0, 0.5])("displays hex and separate alpha without changing a translucent color (%s)", (alpha) => {const onCommit = vi.fn();diff --git a/studio/src/components/editor/propertyPanelColor.tsx b/studio/src/components/editor/propertyPanelColor.tsxindex 5ffe9521..30219c92 100644--- a/studio/src/components/editor/propertyPanelColor.tsx+++ b/studio/src/components/editor/propertyPanelColor.tsx@@ -163,7 +163,7 @@ export function ColorField({flat?: boolean;mixed?: boolean;onPreview?: (nextValue: string) => void;- onCommit: (nextValue: string) => void;+ onCommit: (nextValue: string) => void | Promise<unknown>;}) {const { t } = useI18n();const track = useTrackDesignInput();@@ -215,7 +215,7 @@ export function ColorField({const persistColorValue = useCallback((nextValue: string) => {if (nextValue !== value) track("color", label);- onCommit(nextValue);+ return onCommit(nextValue);},[label, onCommit, track, value],);@@ -234,7 +234,7 @@ export function ColorField({},onCommit: (nextValue) => {const resolved = resolveColorGestureValue(nextValue);- if (resolved) persistColorValue(resolved.value);+ if (resolved) return persistColorValue(resolved.value);},});diff --git a/studio/src/components/editor/propertyPanelFlatMediaSection.test.tsx b/studio/src/components/editor/propertyPanelFlatMediaSection.test.tsxindex 315590b9..b508e04d 100644--- a/studio/src/components/editor/propertyPanelFlatMediaSection.test.tsx+++ b/studio/src/components/editor/propertyPanelFlatMediaSection.test.tsx@@ -75,11 +75,11 @@ function renderSection(overrides: Partial<DomEditSelection> = {}, mvp = false) {describe("FlatMediaSection — MVP scope", () => {it.each(["video", "audio", "img"])("keeps basic %s controls without advanced or duplicate actions", (tagName) => {const { host, root } = renderSection({ tagName }, true);- expect(host.textContent).toContain("assets/intro-loop.mp4");+ expect(host.textContent).not.toContain("assets/intro-loop.mp4");expect(host.querySelector("[data-flat-media-copy]")).toBeNull();expect(host.querySelector("[data-flat-media-remove-bg]")).toBeNull();expect(host.querySelector(".hf-volume-row")).toBeNull();- for (const label of ["Cutout", "Gain", "Quality", "BG plate", "Muted", "Has audio track", "Speed preset", "Fade in", "Fade out"]) {+ for (const label of ["Position", "Cutout", "Gain", "Quality", "BG plate", "Muted", "Has audio track", "Speed preset", "Fade in", "Fade out"]) {expect(host.textContent).not.toContain(label);}expect(host.querySelector('[aria-label="Automate Speed"]')).toBeNull();@@ -87,7 +87,7 @@ describe("FlatMediaSection — MVP scope", () => {for (const label of ["Speed", "Media start", "Loop"]) expect(host.textContent).toContain(label);}if (tagName !== "audio") {- for (const label of ["Fit", "Position"]) expect(host.textContent).toContain(label);+ expect(host.textContent).toContain("Fit");}act(() => root.unmount());});diff --git a/studio/src/components/editor/propertyPanelFlatMediaSection.tsx b/studio/src/components/editor/propertyPanelFlatMediaSection.tsxindex 08dc8e0d..b0355942 100644--- a/studio/src/components/editor/propertyPanelFlatMediaSection.tsx+++ b/studio/src/components/editor/propertyPanelFlatMediaSection.tsx@@ -167,7 +167,7 @@ export function FlatMediaSection({return (<div className="space-y-1.5">- <div className="flex min-h-8 items-center justify-between gap-2">+ {!mvp && <div className="flex min-h-8 items-center justify-between gap-2"><span className="flex min-w-0 items-center gap-2"><span className="h-5 w-8 shrink-0 rounded-[3px] bg-panel-surface" /><span className="min-w-0 truncate font-mono text-[11px] text-panel-text-0">@@ -189,7 +189,7 @@ export function FlatMediaSection({{copied ? <Check size={11} /> : <ClipboardList size={11} />}{copied ? t("Copied") : t("Copy")}</button>}- </div>+ </div>}{!mvp && isVisualMedia && (<div className="ml-px border-l-2 border-panel-border-input py-1 pl-[10px]"><div className="flex min-h-6 items-center justify-between">@@ -391,12 +391,13 @@ export function FlatMediaSection({<><FlatSelectRowlabel={t("Fit")}+ presentation={mvp ? "menu" : "native"}value={objectFit}options={["contain", "cover", "fill", "none", "scale-down"]}tier={objectFit === "contain" ? "default" : "explicitCustom"}onChange={(next) => void onSetStyle("object-fit", next)}/>- <FlatSelectRow+ {!mvp && <FlatSelectRowlabel={t("Position")}value={objectPosition}options={[@@ -412,7 +413,7 @@ export function FlatMediaSection({]}tier={objectPosition === "center" ? "default" : "explicitCustom"}onChange={(next) => void onSetStyle("object-position", next)}- />+ />}</>)}</div>diff --git a/studio/src/components/editor/propertyPanelFlatSelectRow.tsx b/studio/src/components/editor/propertyPanelFlatSelectRow.tsxindex 3d95fee4..65acdf04 100644--- a/studio/src/components/editor/propertyPanelFlatSelectRow.tsx+++ b/studio/src/components/editor/propertyPanelFlatSelectRow.tsx@@ -2,6 +2,7 @@ import { RemixIcon } from "../../icons/RemixIcons";import { useI18n } from "../../i18n/I18n";import { RotateCcw } from "../../icons/SystemIcons";import { useTrackDesignInput } from "../../contexts/DesignPanelInputContext";+import { Menu, MenuRadioGroup, MenuRadioItem } from "../ui/Menu";import {VALUE_TIER_LABEL_CLASS,VALUE_TIER_VALUE_CLASS,@@ -9,7 +10,7 @@ import {} from "./propertyPanelValueTier";/* ------------------------------------------------------------------ */-/* FlatSelectRow — label/value row backed by a native <select> */+/* FlatSelectRow — label/value row with native or shared menu UI *//* ------------------------------------------------------------------ */export function FlatSelectRow({@@ -21,6 +22,7 @@ export function FlatSelectRow({disabled,onChange,onReset,+ presentation = "native",}: {label: string;/** Accessible name when a caller renders the visible label OUTSIDE this@@ -34,6 +36,7 @@ export function FlatSelectRow({disabled?: boolean;onChange: (nextValue: string) => void;onReset?: () => void;+ presentation?: "native" | "menu";}) {const { t } = useI18n();const track = useTrackDesignInput();@@ -41,6 +44,7 @@ export function FlatSelectRow({const normalizedOptions = options.map((option) =>typeof option === "string" ? { value: option, label: option } : option,);+ const selectedOption = normalizedOptions.find((option) => option.value === value);// A valid authored value outside the preset list (e.g. a `mix-blend-mode`// or `object-position` this row doesn't offer as a preset) must not be// silently misrepresented as the first option — the native <select> falls@@ -56,7 +60,40 @@ export function FlatSelectRow({<div className="group flex min-h-[30px] items-center justify-between"><span className={`text-[11px] ${VALUE_TIER_LABEL_CLASS[tier]}`}>{t(label)}</span><span className="flex items-center gap-2">- <label+ {presentation === "menu" ? (+ <Menu+ align="end"+ aria-label={t(ariaLabel || label)}+ trigger={+ <button+ type="button"+ disabled={disabled}+ aria-label={t(ariaLabel || label)}+ className="flex min-w-0 items-center gap-1.5 disabled:cursor-not-allowed"+ >+ <span className={`max-w-[200px] truncate font-mono text-[11px] ${VALUE_TIER_VALUE_CLASS[tier]}`}>+ {selectedOption ? t(selectedOption.label) : value}+ </span>+ <RemixIcon name="arrow-down-s-line" size={14} className="shrink-0 text-panel-text-5" />+ </button>+ }+ >+ <MenuRadioGroup+ value={value}+ onValueChange={(next) => {+ if (next === value) return;+ track("select", trackName);+ onChange(next);+ }}+ >+ {renderedOptions.map((option) => (+ <MenuRadioItem key={option.value} value={option.value}>+ {normalizedOptions.includes(option) ? t(option.label) : option.label}+ </MenuRadioItem>+ ))}+ </MenuRadioGroup>+ </Menu>+ ) : <labelclassName={`flex items-center gap-1.5 border-b pb-px ${tier === "explicitCustom"? "border-panel-accent/30 group-hover:border-panel-accent/70"@@ -80,7 +117,7 @@ export function FlatSelectRow({))}</select><RemixIcon name="arrow-down-s-line" size={14} className="shrink-0 text-panel-text-5" />- </label>+ </label>}{tier === "explicitCustom" && onReset && (<buttontype="button"diff --git a/studio/src/components/nle/AssetPreviewDialog.tsx b/studio/src/components/nle/AssetPreviewDialog.tsxindex 78c02d12..d6187156 100644--- a/studio/src/components/nle/AssetPreviewDialog.tsx+++ b/studio/src/components/nle/AssetPreviewDialog.tsx@@ -78,9 +78,11 @@ function DialogMedia({ url, kind, name }: { url: string; kind: "video" | "audio"className="flex h-7 w-8 items-center justify-center justify-self-center rounded-md hover:bg-hover disabled:opacity-30"><RemixIcon name={playing ? "pause-fill" : "play-fill"} size={20} /></button></Tooltip><div className="motion-player-secondary flex min-w-0 items-center justify-self-end"><VolumeControl audioVolume={volume} audioMuted={muted} setAudioVolume={setVolume} setAudioMuted={setMuted} disabled={failed} />- <SpeedMenu playbackRate={rate} setPlaybackRate={setRate} disabled={failed} />- <Tooltip label={t(loop ? "Disable loop playback" : "Enable loop playback")}><button type="button" aria-label={t(loop ? "Disable loop playback" : "Enable loop playback")} aria-pressed={loop} onClick={() => setLoop(!loop)} disabled={failed}- className="flex h-7 w-7 items-center justify-center rounded-md hover:bg-hover"><RemixIcon name="repeat-line" size={16} /></button></Tooltip>+ <span className="motion-player-optional flex items-center gap-[inherit]">+ <SpeedMenu playbackRate={rate} setPlaybackRate={setRate} disabled={failed} />+ <Tooltip label={t(loop ? "Disable loop playback" : "Enable loop playback")}><button type="button" aria-label={t(loop ? "Disable loop playback" : "Enable loop playback")} aria-pressed={loop} onClick={() => setLoop(!loop)} disabled={failed}+ className="flex h-7 w-7 items-center justify-center rounded-md hover:bg-hover"><RemixIcon name="repeat-line" size={16} /></button></Tooltip>+ </span></div></div></div> : <div className="h-3 shrink-0" />}diff --git a/studio/src/components/nle/NLEPreview.test.ts b/studio/src/components/nle/NLEPreview.test.tsindex 6172595c..11fbe533 100644--- a/studio/src/components/nle/NLEPreview.test.ts+++ b/studio/src/components/nle/NLEPreview.test.ts@@ -5,6 +5,7 @@ import { createRoot } from "react-dom/client";import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";import { useTimelinePlayer } from "../../player/hooks/useTimelinePlayer";import { NLEPreview, getPreviewPlayerKey } from "./NLEPreview";+import { StudioHostContext } from "../../motion/StudioHost";import { resolvePreviewStageSize } from "./previewStage";import { readPreviewComplexity } from "../../player/hooks/usePreviewFirstFrameTelemetry";@@ -89,10 +90,12 @@ function renderPreview(fillBox,compositionSizeHint,zoomControlsTarget,+ mvp = false,}: {box?: { width: number; height: number };fillBox?: boolean;zoomControlsTarget?: HTMLElement;+ mvp?: boolean;compositionSizeHint?: { width: number; height: number };} = {},) {@@ -104,7 +107,7 @@ function renderPreview(const render = (directUrl?: string, projectId = "timeline-edit-playground") =>act(() => {root.render(- React.createElement(NLEPreview, {+ React.createElement(StudioHostContext.Provider, { value: { mvpEditor: mvp } }, React.createElement(NLEPreview, {projectId,directUrl,iframeRef,@@ -118,7 +121,7 @@ function renderPreview(fillBox,zoomControlsTarget,compositionSizeHint,- }),+ })),);});render();@@ -364,21 +367,36 @@ describe("NLEPreview", () => {view.cleanup();});- it("keeps zoom and Fit in the panel header without a canvas readout", () => {+ it("offers header zoom presets while preserving pinch and Fit, without an MVP navigator", async () => {const header = document.createElement("div");document.body.append(header);- const view = renderPreview(undefined, { zoomControlsTarget: header });+ const view = renderPreview(undefined, { zoomControlsTarget: header, mvp: true });const fit = () => header.querySelector<HTMLButtonElement>('[data-testid="preview-zoom-fit"]')!;expect(header.textContent).toBe("100%");expect(fit()).toBeNull();expect(chip(view)).toBeNull();expect(view.host.querySelector('[aria-live="polite"]')).toBeNull();+ const mounts = playerMounts.length;+ for (const percent of [50, 150, 100]) {+ await act(async () => header.querySelector<HTMLButtonElement>('[data-testid="preview-zoom-menu"]')!.click());+ const option = Array.from(document.querySelectorAll<HTMLElement>('[role="menuitemradio"]'))+ .find(item => item.textContent === `${percent}%`);+ expect(option).toBeTruthy();+ await act(async () => option!.click());+ act(() => vi.advanceTimersByTime(300));+ expect(view.stage.style.transform).toContain(`scale(${percent / 100})`);+ expect(header.querySelector('[data-testid="preview-zoom-menu"]')!.getAttribute("aria-expanded")).toBe("false");+ expect(navigator(view)).toBeNull();+ }+ expect(playerMounts.length).toBe(mounts);+pinchIn(view, 10);act(() => vi.advanceTimersByTime(3000));expect(header.textContent).toMatch(/^2\d\d%Fit$/);expect(fit().disabled).toBe(false);expect(chip(view)).toBeNull();+ expect(navigator(view)).toBeNull();act(() => fit().click());act(() => vi.advanceTimersByTime(300));expect(view.stage.style.transform).toContain("scale(1)");diff --git a/studio/src/components/nle/NLEPreview.tsx b/studio/src/components/nle/NLEPreview.tsxindex f2abcb52..8600b7c2 100644--- a/studio/src/components/nle/NLEPreview.tsx+++ b/studio/src/components/nle/NLEPreview.tsx@@ -562,6 +562,8 @@ export const NLEPreview = memo(function NLEPreview({)}<PreviewZoomOverlaycontrolsTarget={zoomControlsTarget}+ showNavigator={!mvp}+ onZoomPercent={(zoomPercent) => applyZoom({ ...DEFAULT_PREVIEW_ZOOM, zoomPercent })}zoom={settledZoom}stageSize={stageSize}onFit={() => {diff --git a/studio/src/components/nle/PreviewZoomOverlay.tsx b/studio/src/components/nle/PreviewZoomOverlay.tsxindex 469b6266..e96e3bf0 100644--- a/studio/src/components/nle/PreviewZoomOverlay.tsx+++ b/studio/src/components/nle/PreviewZoomOverlay.tsx@@ -1,6 +1,8 @@import { createPortal } from "react-dom";import { useI18n } from "../../i18n/I18n";import { useCallback, useEffect, useRef, type RefObject } from "react";+import { CaretDown } from "../../icons/RemixIcons";+import { Menu, MenuRadioGroup, MenuRadioItem } from "../ui/Menu";import {isFitZoom,isPreviewAtFit,@@ -10,6 +12,7 @@ import {} from "./previewZoom";const NAVIGATOR_PX = 112;+const ZOOM_PRESETS = [50, 75, 100, 150, 200] as const;function navigatorFrameSize(stage: { width: number; height: number }) {const ratio = stage.width > 0 && stage.height > 0 ? stage.width / stage.height : 16 / 9;@@ -63,8 +66,12 @@ export function PreviewZoomOverlay({onFit,navigatorRegionRef,controlsTarget,+ onZoomPercent,+ showNavigator = true,}: {controlsTarget?: HTMLElement | null;+ onZoomPercent: (percent: number) => void;+ showNavigator?: boolean;zoom: PreviewZoomState;stageSize: { width: number; height: number };onFit: () => void;@@ -81,7 +88,25 @@ export function PreviewZoomOverlay({data-testid="preview-zoom-chip"onPointerDown={(event) => event.stopPropagation()}>- <span className={controlsTarget ? "tabular-nums text-[11px]" : "tabular-nums"}>{controlsTarget ? `${Math.round(zoom.zoomPercent)}%` : !atFit && isFitZoom(zoom.zoomPercent) ? t("Panned") : t("Zoomed {percent}%", { percent: Math.round(zoom.zoomPercent) })}</span>+ {controlsTarget ? (+ <Menu+ align="end"+ className="motion-preview-zoom-menu"+ aria-label={t("Scale")}+ trigger={<button+ type="button"+ aria-label={`${t("Scale")}: ${Math.round(zoom.zoomPercent)}%`}+ className="flex items-center gap-1 rounded px-2 py-1 tabular-nums text-[11px] hover:bg-hover focus-visible:outline focus-visible:outline-2 focus-visible:outline-studio-accent"+ data-testid="preview-zoom-menu"+ >+ {Math.round(zoom.zoomPercent)}%<CaretDown size={12} />+ </button>}+ >+ <MenuRadioGroup value={zoom.zoomPercent} onValueChange={(value) => onZoomPercent(Number(value))}>+ {ZOOM_PRESETS.map(percent => <MenuRadioItem key={percent} value={percent} closeOnClick>{percent}%</MenuRadioItem>)}+ </MenuRadioGroup>+ </Menu>+ ) : <span className="tabular-nums">{!atFit && isFitZoom(zoom.zoomPercent) ? t("Panned") : t("Zoomed {percent}%", { percent: Math.round(zoom.zoomPercent) })}</span>}{!atFit && <buttontype="button"className={controlsTarget@@ -98,7 +123,7 @@ export function PreviewZoomOverlay({return (<>{controlsTarget ? createPortal(controls, controlsTarget) : controls}- {!atFit && (+ {showNavigator && !atFit && (<divaria-hidden="true"className="pointer-events-none absolute bottom-3 right-3 z-50 rounded-md p-1.5 bg-black/60 backdrop-blur-xs"diff --git a/studio/src/components/sidebar/CompositionsTab.thumbnails.test.tsx b/studio/src/components/sidebar/CompositionsTab.thumbnails.test.tsxindex 87869208..237ab053 100644--- a/studio/src/components/sidebar/CompositionsTab.thumbnails.test.tsx+++ b/studio/src/components/sidebar/CompositionsTab.thumbnails.test.tsx@@ -115,14 +115,19 @@ describe("composition card thumbnails", () => {usePlayerStore.getState().reset();const host = mount();expect(renders).toHaveLength(0);+ expect(host.querySelector('[data-testid="composition-cover-placeholder"]')).toBeTruthy();act(() => usePlayerStore.getState().markPreviewBooted());expect(renders.map((r) => [r.url.pathname, r.url.searchParams.get("t")])).toEqual([["/api/projects/demo/thumbnail/compositions/headline.html", "3.00"],]);+ expect(host.querySelector('[data-testid="composition-cover-placeholder"]')).toBeTruthy();renders[0]!.answer();await settle();expect(shown(host)).toBe("blob:frame-1");+ expect(host.querySelector('[data-testid="composition-cover-placeholder"]')).toBeTruthy();+ act(() => host.querySelector("img")!.dispatchEvent(new Event("load")));+ expect(host.querySelector('[data-testid="composition-cover-placeholder"]')).toBeNull();expect(host.querySelector("iframe")).toBeNull();act(() => usePlayerStore.getState().setTimelineReady(false));@@ -294,7 +299,21 @@ describe("composition card thumbnails", () => {const host = mount();renders[0]!.answer(500);await settle();- expect(host.textContent).toContain("Preview unavailable");+ expect(host.textContent).not.toContain("Preview unavailable");+ expect(host.querySelector('[data-testid="composition-cover-placeholder"]')).toBeTruthy();await nextRevisionShows(host, "1", "blob:frame-1");});++ it("uses the same placeholder if the poster image fails, and recovers on a new revision", async () => {+ const host = mount();+ renders[0]!.answer();+ await settle();+ act(() => host.querySelector("img")!.dispatchEvent(new Event("error")));+ expect(shown(host)).toBeNull();+ expect(host.querySelector('[data-testid="composition-cover-placeholder"]')).toBeTruthy();+ expect(host.textContent).not.toContain("Preview unavailable");+ await nextRevisionShows(host, "1", "blob:frame-2");+ act(() => host.querySelector("img")!.dispatchEvent(new Event("load")));+ expect(host.querySelector('[data-testid="composition-cover-placeholder"]')).toBeNull();+ });});diff --git a/studio/src/components/sidebar/CompositionsTab.tsx b/studio/src/components/sidebar/CompositionsTab.tsxindex 28f159a3..d9876f02 100644--- a/studio/src/components/sidebar/CompositionsTab.tsx+++ b/studio/src/components/sidebar/CompositionsTab.tsx@@ -194,6 +194,8 @@ function CompCard({const [hovered, setHovered] = useState(false);const [stageSize, setStageSize] = useState(DEFAULT_PREVIEW_STAGE);const [livePreviewLoaded, setLivePreviewLoaded] = useState(false);+ const [loadedFrameUrl, setLoadedFrameUrl] = useState<string | null>(null);+ const [failedFrameUrl, setFailedFrameUrl] = useState<string | null>(null);const iframeRef = useRef<HTMLIFrameElement | null>(null);const hoverTimer = useRef<ReturnType<typeof setTimeout> | null>(null);const syncTimer = useRef<ReturnType<typeof setTimeout> | null>(null);@@ -247,6 +249,8 @@ function CompCard({const thumbnail = useThumbnailLease(thumbnailRequest);const frameUrl = useLastFrame(thumbnailRequest, thumbnail);const thumbnailFailed = thumbnail.status === "error";+ const posterUrl = !thumbnailFailed && frameUrl !== failedFrameUrl ? frameUrl : null;+ const posterLoaded = !!posterUrl && loadedFrameUrl === posterUrl;const previewScale = resolveCompositionPreviewScale({cardWidth: CARD_W,cardHeight: CARD_H,@@ -325,17 +329,22 @@ function CompCard({ref={thumbnailBox}className="w-20 h-[45px] rounded-sm overflow-hidden bg-neutral-900 shrink-0 relative">- {thumbnailFailed ? (- <div className="absolute inset-0 flex items-center justify-center px-1 text-center text-[8px] leading-tight text-neutral-600">- {t("Preview unavailable")}</div>- ) : !frameUrl ? null : (+ {!posterLoaded && !livePreviewLoaded && (+ <div className="motion-composition-placeholder absolute inset-0 flex items-center justify-center" data-testid="composition-cover-placeholder" aria-hidden="true">+ <span className="motion-composition-placeholder-mark" />+ </div>+ )}+ {posterUrl && (<img- src={frameUrl}+ key={posterUrl}+ src={posterUrl}alt=""draggable={false}decoding="async"+ onLoad={() => setLoadedFrameUrl(posterUrl)}+ onError={() => setFailedFrameUrl(posterUrl)}className={`absolute inset-0 h-full w-full object-contain transition-opacity ${- livePreviewLoaded ? "opacity-0" : "opacity-100"+ livePreviewLoaded || !posterLoaded ? "opacity-0" : "opacity-100"}`}/>)}diff --git a/studio/src/components/ui/ErrorNotice.tsx b/studio/src/components/ui/ErrorNotice.tsxindex a7ebdc3d..2a8eaaec 100644--- a/studio/src/components/ui/ErrorNotice.tsx+++ b/studio/src/components/ui/ErrorNotice.tsx@@ -15,18 +15,19 @@ export function ErrorNotice({ message, context = 'operation', compact = false, aconst id = useId();const [expanded, setExpanded] = useState(false);const [copyState, setCopyState] = useState<'idle' | 'copied' | 'failed'>('idle');+ const summary = errorNoticeMessage(message, context);const copy = async () => {try { await navigator.clipboard.writeText(message); setCopyState('copied'); }catch { setCopyState('failed'); }};return <div className={`motion-error-notice${compact ? ' motion-error-notice-compact' : ''}`}><div className="motion-error-notice-row">- <p className="motion-error-notice-summary" role="alert">{t(errorNoticeMessage(message, context))}</p>+ <p className="motion-error-notice-summary" role="alert">{t(summary)}</p>{onDismiss && <button type="button" className="motion-error-notice-close" aria-label={t('Dismiss error')} onClick={onDismiss}><RemixIcon name="close-line" size={14} /></button>}</div><div className="motion-error-notice-actions">{action && <button type="button" className="motion-error-notice-action" onClick={action.run} disabled={action.busy}>{t(action.busy ? 'Checking…' : action.label)}</button>}- <button type="button" aria-expanded={expanded} aria-controls={id} onClick={() => setExpanded(value => !value)}>{t(expanded ? 'Hide error details' : 'Error details')}</button>+ <button type="button" aria-label={t(expanded ? 'Hide error details' : 'Error details')} aria-expanded={expanded} aria-controls={id} onClick={() => setExpanded(value => !value)}>{t(expanded ? 'Hide error details' : 'Error details')}</button></div>{expanded && <div id={id} className="motion-error-notice-details"><pre tabIndex={0} aria-label={t('Error details')}>{message}</pre>diff --git a/studio/src/components/ui/Menu.tsx b/studio/src/components/ui/Menu.tsxindex ce4382fa..324848ad 100644--- a/studio/src/components/ui/Menu.tsx+++ b/studio/src/components/ui/Menu.tsx@@ -8,6 +8,7 @@ import { Menu as BaseMenu } from "@base-ui/react/menu";import { useRef } from "react";import type { ComponentPropsWithoutRef, ElementType, ReactElement, ReactNode } from "react";import { cn } from "./cn";+import { Check } from "../../icons/RemixIcons";/*** Base UI lets `className` be a function of the part's state. Studio's parts@@ -209,7 +210,7 @@ export function MenuItem({ shortcut, tone, className, children, ...props }: Menu);}-/** Single-choice group; selection is `aria-checked` on each item, which the dot indicator draws from. */+/** Single-choice group; selection is `aria-checked` on each item. */export function MenuRadioGroup(props: ComponentPropsWithoutRef<typeof BaseMenu.RadioGroup>) {return <BaseMenu.RadioGroup {...props} />;}@@ -218,14 +219,14 @@ interface MenuRadioItemProps extends StyledProps<typeof BaseMenu.RadioItem> {"data-preview-state"?: "hover";}-/** One choice in a `MenuRadioGroup`. The dot renders only while it is checked. */+/** One choice in a `MenuRadioGroup`. The check renders only while it is checked. */export function MenuRadioItem({ className, children, ...props }: MenuRadioItemProps) {return (<BaseMenu.RadioItem className={cn(itemBase, className)} {...props}><span className="truncate">{children}</span>{/* Fixed box so a checked and an unchecked row keep the same width. */}<span className="flex size-3 shrink-0 items-center justify-center">- <BaseMenu.RadioItemIndicator className="size-1.5 rounded-full bg-accent" />+ <BaseMenu.RadioItemIndicator className="flex text-accent-ink"><Check size={12} /></BaseMenu.RadioItemIndicator></span></BaseMenu.RadioItem>);@@ -241,7 +242,7 @@ export function MenuCheckboxItem({<BaseMenu.CheckboxItem className={cn(itemBase, className)} {...props}><span className="truncate">{children}</span><span className="flex size-3 shrink-0 items-center justify-center text-accent-ink">- <BaseMenu.CheckboxItemIndicator>✓</BaseMenu.CheckboxItemIndicator>+ <BaseMenu.CheckboxItemIndicator className="flex"><Check size={12} /></BaseMenu.CheckboxItemIndicator></span></BaseMenu.CheckboxItem>);diff --git a/studio/src/components/ui/Select.tsx b/studio/src/components/ui/Select.tsxindex 7d25e2f9..5c9f50ce 100644--- a/studio/src/components/ui/Select.tsx+++ b/studio/src/components/ui/Select.tsx@@ -1,4 +1,4 @@-import { RemixIcon } from "../../icons/RemixIcons";+import { Check, RemixIcon } from "../../icons/RemixIcons";/*** Select: Base UI select in Input's box. The trigger keeps `role="combobox"`, which both hotkey selector* lists match. Options are data, not children, so typeahead and the value display can read labels.@@ -91,7 +91,10 @@ export function Select({"data-[disabled]:cursor-not-allowed data-[disabled]:opacity-40",)}>- <BaseSelect.ItemText className="truncate">{option.label}</BaseSelect.ItemText>+ <BaseSelect.ItemText className="min-w-0 flex-1 truncate">{option.label}</BaseSelect.ItemText>+ <span className="flex size-3 shrink-0 items-center justify-center text-accent-ink">+ <BaseSelect.ItemIndicator className="flex"><Check size={12} /></BaseSelect.ItemIndicator>+ </span></BaseSelect.Item>))}</BaseSelect.List>diff --git a/studio/src/components/ui/toastErrorMessage.ts b/studio/src/components/ui/toastErrorMessage.tsnew file mode 100644index 00000000..c319d2f6--- /dev/null+++ b/studio/src/components/ui/toastErrorMessage.ts@@ -0,0 +1,31 @@+import { isKnownMessage, sourceMessage } from '../../i18n/messages';++/** Toasts show recognized causes, never raw diagnostics or a details affordance. */+export function toastErrorMessage(raw: string): string {+ const message = sourceMessage(raw);+ if (/^VERSION_NOT_RESTORABLE:/.test(message)) return 'Historical files are unavailable. Version not restored.';+ if (/ENOENT|no such file|file not found|文件.*(?:丢失|不存在)|找不到.*文件/i.test(message)) {+ return 'Required file not found.';+ }+ if (/EACCES|EPERM|permission denied|access denied|no permission|权限不足|拒绝访问/i.test(message)) {+ return 'No permission to access this file.';+ }+ if (/failed to fetch|network error|networkerror|fetch failed|ECONNREFUSED|connection.*(?:lost|refused|failed)|连接.*(?:失败|中断)/i.test(message)) {+ return 'Connection lost.';+ }+ if (/external change|changed elsewhere|revision.*(?:changed|mismatch)|version mismatch|conflict|项目已切换|工程状态.*不匹配/i.test(message)) {+ return 'The project changed elsewhere.';+ }+ if (/unsupported.*(?:format|codec)|(?:format|codec).*not supported|不支持.*格式/i.test(message)) {+ return 'This file format is not supported.';+ }+ if (/preview.*(?:did not reload|could not|failed|timeout|timed out)|预览.*(?:失败|超时)/i.test(message)) {+ return /timeout|timed out|still waiting|超时/i.test(message)+ ? 'Preview update timed out.' : 'Preview could not be updated.';+ }+ if (/couldn.t save|could not save|failed to save|无法保存|保存失败/i.test(message)) {+ return 'Changes could not be saved.';+ }+ if (isKnownMessage(message) && message.length <= 180 && !/\n|details|Something went wrong/i.test(message)) return message;+ return 'Action not completed. Please try again.';+}diff --git a/studio/src/hooks/useRenderClipContent.test.ts b/studio/src/hooks/useRenderClipContent.test.tsindex 53794f93..42547861 100644--- a/studio/src/hooks/useRenderClipContent.test.ts+++ b/studio/src/hooks/useRenderClipContent.test.ts@@ -20,6 +20,7 @@ import { buildCompositionThumbnailUrl } from "../player/components/CompositionThimport { compositionCardThumbnailUrl } from "../components/sidebar/CompositionsTab";import { normalizeCompositionSrc } from "./useRenderClipContent";import { useRenderClipContent } from "./useRenderClipContent";+import { StudioHostContext } from "../motion/StudioHost";(globalThis as unknown as { IS_REACT_ACT_ENVIRONMENT: boolean }).IS_REACT_ACT_ENVIRONMENT = true;@@ -81,6 +82,7 @@ describe("useRenderClipContent", () => {el: TimelineElement,activePreviewUrl: string | null = "/api/projects/my-project/preview",context?: TimelineClipRenderContext,+ mvpEditor = false,): ReactNode {const host = document.createElement("div");document.body.append(host);@@ -99,7 +101,13 @@ describe("useRenderClipContent", () => {}act(() => {- root.render(React.createElement(Harness));+ root.render(+ React.createElement(+ StudioHostContext.Provider,+ { value: { mvpEditor } },+ React.createElement(Harness),+ ),+ );});act(() => root.unmount());return unwrapPeakMarks(content);@@ -283,6 +291,32 @@ describe("useRenderClipContent", () => {expect(isValidElement<{ labelInset?: number }>(waveform) && waveform.props.labelInset).toBe(0);});+ it("shows only video frames in MVP while retaining independent audio waveforms", () => {+ const video: TimelineElement = {+ id: "talk",+ tag: "video",+ start: 0,+ duration: 4,+ track: 0,+ src: "talk.mp4",+ hasAudio: true,+ };+ usePlayerStore.setState({ thumbnailMode: "adaptive" });+ const content = renderClipContent(video, null, undefined, true);+ expect(isValidElement(content) && content.type).toBe(VideoThumbnail);+ for (const thumbnailMode of ["adaptive", "hidden"] as const) {+ usePlayerStore.setState({ thumbnailMode });+ const audio = renderClipContent(+ { ...video, id: "audio", tag: "audio", track: 1 },+ null,+ undefined,+ true,+ );+ expect(isValidElement(audio) && audio.type).toBe(AudioWaveform);+ }+ expect(renderClipContent(video, null, undefined, true)).toBeNull();+ });+it("keeps a muted or silent video to thumbnails only", () => {usePlayerStore.setState({ thumbnailMode: "adaptive" });for (const extra of [{ hasAudio: true, muted: true }, { hasAudio: false }]) {diff --git a/studio/src/hooks/useRenderClipContent.ts b/studio/src/hooks/useRenderClipContent.tsindex 21479d2d..49ef0a8c 100644--- a/studio/src/hooks/useRenderClipContent.ts+++ b/studio/src/hooks/useRenderClipContent.ts@@ -25,6 +25,7 @@ import {import { usePlayerStore } from "../player/store/playerStore";import { thumbnailRevisionOf } from "../player/store/thumbnailSlice";import { effectiveThumbnailMode } from "../player/lib/thumbnailPolicy";+import { useMvpEditor } from "../motion/StudioHost";export function normalizeCompositionSrc(compSrc: string,@@ -130,6 +131,7 @@ export function useRenderClipContent({activePreviewUrl,effectiveTimelineDuration,}: UseRenderClipContentOptions) {+ const mvp = useMvpEditor();// Self-sourced so the adaptive policy gates thumbnail generation without App plumbing.const thumbnailMode = usePlayerStore((s) => s.thumbnailMode);const effectiveMode = effectiveThumbnailMode(thumbnailMode);@@ -151,7 +153,7 @@ export function useRenderClipContent({const waveform = (labelInset?: number) =>renderAudioClip(el, pid, sessionEpoch, style.label, context, labelInset);if (effectiveMode === "hidden") {- return rendersWaveform(el) ? waveform() : withSoundStrip(el, null, waveform);+ return rendersWaveform(el) ? waveform() : mvp ? null : withSoundStrip(el, null, waveform);}let compSrc = el.compositionSrc;@@ -249,7 +251,7 @@ export function useRenderClipContent({sessionEpoch,priority: context.priority,});- return withSoundStrip(el, thumbnail, waveform);+ return mvp ? thumbnail : withSoundStrip(el, thumbnail, waveform);}if (htmlPreviewEligible) {@@ -280,6 +282,7 @@ export function useRenderClipContent({effectiveMode,sessionEpoch,thumbnailRevisions,+ mvp,],);}diff --git a/studio/src/hooks/useToast.test.tsx b/studio/src/hooks/useToast.test.tsxindex d65b706c..9c101bd4 100644--- a/studio/src/hooks/useToast.test.tsx+++ b/studio/src/hooks/useToast.test.tsx@@ -47,3 +47,45 @@ it('announces brief failure feedback without actions and removes it after threeact(() => { vi.advanceTimersByTime(161); });expect(api.toasts).toHaveLength(0);});++it('coalesces repeated feedback and restarts its dismissal window', () => {+ act(() => { api.showToast('Connection lost. Changes were not saved.', 'error', 'feedback'); });+ act(() => { vi.advanceTimersByTime(2000); });+ act(() => { api.showToast('Connection lost. Changes were not saved.', 'error', 'feedback'); });+ expect(api.toasts).toHaveLength(1);+ act(() => { vi.advanceTimersByTime(2000); });+ expect(api.toasts[0].leaving).toBeUndefined();+ act(() => { vi.advanceTimersByTime(1160); });+ expect(api.toasts).toHaveLength(0);+});++it('shows one compact notice for repeated errors without diagnostic controls', () => {+ act(() => {+ api.showToast('InternalError: /private/example.html', 'error');+ api.showToast('InternalError: /private/example.html', 'error');+ });+ expect(api.toasts).toHaveLength(1);+ expect(host.querySelector('[role=alert]')?.textContent).toBe('Action not completed. Please try again.');+ expect(host.textContent).not.toContain('/private/');+ expect(host.querySelector('[aria-label="Error details"]')).toBeNull();+ expect(host.querySelectorAll('button')).toHaveLength(1);+ expect(host.querySelector('pre')).toBeNull();+ act(() => { vi.advanceTimersByTime(10000); });+ expect(api.toasts).toHaveLength(1);+});++it.each([+ ['Could not save: ENOENT /private/project.html', 'Required file not found.'],+ ['Could not save: EACCES /private/project.html', 'No permission to access this file.'],+ ['Could not save: Failed to fetch', 'Connection lost.'],+ ['The preview did not reload (timeout). It was still waiting for ready.', 'Preview update timed out.'],+ ['The preview did not reload (load failed).', 'Preview could not be updated.'],+ ['Failed to save position', 'Changes could not be saved.'],+ ['revision mismatch conflict', 'The project changed elsewhere.'],+ ['unsupported video codec', 'This file format is not supported.'],+])('shows a concise cause for %s', (raw, summary) => {+ act(() => api.showToast(raw, 'error'));+ expect(host.querySelector('[role=alert]')?.textContent).toBe(summary);+ expect(host.querySelector('[aria-label="Error details"]')).toBeNull();+ expect(host.innerHTML).not.toContain('/private/');+});diff --git a/studio/src/hooks/useToast.ts b/studio/src/hooks/useToast.tsindex c465c07e..38c1eb2e 100644--- a/studio/src/hooks/useToast.ts+++ b/studio/src/hooks/useToast.ts@@ -18,7 +18,6 @@ let nextToastId = 1;* Stacked toasts (max 3). Info toasts auto-dismiss after 3s; error toasts* persist until explicitly dismissed, unless explicitly marked brief feedback.* Feedback dismissal never changes the underlying operation or save guards.- * Identical active errors share one toast.*/export function useToast() {const [toasts, setToasts] = useState<ToastItem[]>([]);@@ -55,10 +54,13 @@ export function useToast() {(message: string, tone: AppToast["tone"] = "error", presentation?: AppToast["presentation"]): number => {const id = nextToastId++;setToasts((prev) => {- if (tone === "error" && prev.some((toast) => toast.tone === tone && toast.message === message && toast.presentation === presentation && !toast.leaving)) {- return prev;- }- const next = [...prev, { id, message, tone, presentation }];+ // Refresh an identical notice instead of stacking the same failure.+ const retained = prev.filter((toast) => {+ if (toast.message !== message || toast.tone !== tone || toast.presentation !== presentation) return true;+ clearTimer(toast.id);+ return false;+ });+ const next = [...retained, { id, message, tone, presentation }];// Cap the stack; drop the oldest (and its pending timer).while (next.length > MAX_TOASTS) {const dropped = next.shift();diff --git a/studio/src/i18n/I18n.test.tsx b/studio/src/i18n/I18n.test.tsxindex f13d0d20..09ea0a89 100644--- a/studio/src/i18n/I18n.test.tsx+++ b/studio/src/i18n/I18n.test.tsx@@ -172,17 +172,17 @@ it('updates an already visible toast when the interface language changes', () =>expect(host.querySelector('[role="status"]')?.textContent).toContain('Undid: Edit layer style');});-it('renders a dismissible restore error with a localized summary and unchanged diagnostic details', () => {+it('renders a dismissible restore error with a concise localized cause and no details controls', () => {const dismiss = vi.fn();const message = 'VERSION_NOT_RESTORABLE: Historical files are missing, unreadable or corrupt: assets/原始配乐.wav';act(() => root.render(<I18nProvider initialLocale="zh-CN"><StudioToast message={message} tone="error" onDismiss={dismiss} /></I18nProvider>));const alert = host.querySelector('[role="alert"]')!;- expect(alert.textContent).toBe('操作未能完成,可查看错误详情。');+ expect(alert.textContent).toBe('历史文件不可用,未恢复该版本');expect(host.textContent).not.toContain('assets/原始配乐.wav');expect(host.textContent).not.toContain('VERSION_NOT_RESTORABLE');- act(() => host.querySelector<HTMLButtonElement>('button[aria-expanded]')!.click());- expect(host.querySelector('pre')?.textContent).toBe(message);- act(() => host.querySelector<HTMLButtonElement>('.motion-error-notice-close')!.click());+ expect(host.querySelector('button[aria-expanded]')).toBeNull();+ expect(host.querySelector('pre')).toBeNull();+ act(() => host.querySelector<HTMLButtonElement>('[aria-label="关闭错误提示"]')!.click());expect(dismiss).toHaveBeenCalledOnce();});diff --git a/studio/src/i18n/error-ui.json b/studio/src/i18n/error-ui.jsonindex cfc51854..228f3460 100644--- a/studio/src/i18n/error-ui.json+++ b/studio/src/i18n/error-ui.json@@ -23,7 +23,15 @@"Use updated version": "使用最新版本","Keep my changes": "保留我的修改","Use the updated version and discard your unsaved changes?": "使用最新版本,并放弃你尚未保存的修改?",- "Keep your changes and replace the version updated elsewhere?": "保留你的修改,并替换其他地方更新的版本?"+ "Keep your changes and replace the version updated elsewhere?": "保留你的修改,并替换其他地方更新的版本?",+ "Required file not found.": "所需文件不存在",+ "No permission to access this file.": "没有文件访问权限",+ "Preview update timed out.": "预览更新超时",+ "Preview could not be updated.": "预览未能更新",+ "The project changed elsewhere.": "工程已在其他地方修改",+ "Changes could not be saved.": "修改未能保存",+ "Action not completed. Please try again.": "操作未完成,请重试",+ "Historical files are unavailable. Version not restored.": "历史文件不可用,未恢复该版本"},"ja": {"Reconnecting…": "再接続中…",@@ -49,7 +57,15 @@"Use updated version": "更新された版を使用","Keep my changes": "自分の変更を保持","Use the updated version and discard your unsaved changes?": "更新された版を使用し、未保存の変更を破棄しますか?",- "Keep your changes and replace the version updated elsewhere?": "自分の変更を保持し、別の場所で更新された版を置き換えますか?"+ "Keep your changes and replace the version updated elsewhere?": "自分の変更を保持し、別の場所で更新された版を置き換えますか?",+ "Required file not found.": "必要なファイルが見つかりません",+ "No permission to access this file.": "ファイルへのアクセス権限がありません",+ "Preview update timed out.": "プレビュー更新がタイムアウトしました",+ "Preview could not be updated.": "プレビューを更新できませんでした",+ "The project changed elsewhere.": "プロジェクトが別の場所で変更されました",+ "Changes could not be saved.": "変更を保存できませんでした",+ "Action not completed. Please try again.": "操作を完了できませんでした。再試行してください",+ "Historical files are unavailable. Version not restored.": "履歴ファイルを利用できないため、復元されませんでした"},"ko": {"Reconnecting…": "다시 연결 중…",@@ -75,7 +91,15 @@"Use updated version": "최신 버전 사용","Keep my changes": "내 변경 사항 유지","Use the updated version and discard your unsaved changes?": "최신 버전을 사용하고 저장하지 않은 변경 사항을 버릴까요?",- "Keep your changes and replace the version updated elsewhere?": "내 변경 사항을 유지하고 다른 곳에서 업데이트된 버전을 바꿀까요?"+ "Keep your changes and replace the version updated elsewhere?": "내 변경 사항을 유지하고 다른 곳에서 업데이트된 버전을 바꿀까요?",+ "Required file not found.": "필요한 파일을 찾을 수 없습니다",+ "No permission to access this file.": "파일에 접근할 권한이 없습니다",+ "Preview update timed out.": "미리보기 업데이트 시간이 초과되었습니다",+ "Preview could not be updated.": "미리보기를 업데이트하지 못했습니다",+ "The project changed elsewhere.": "프로젝트가 다른 곳에서 변경되었습니다",+ "Changes could not be saved.": "변경 사항을 저장하지 못했습니다",+ "Action not completed. Please try again.": "작업을 완료하지 못했습니다. 다시 시도하세요",+ "Historical files are unavailable. Version not restored.": "이전 버전 파일을 사용할 수 없어 복원되지 않았습니다"},"de": {"Reconnecting…": "Verbindung wird hergestellt…",@@ -101,7 +125,15 @@"Use updated version": "Aktualisierte Version verwenden","Keep my changes": "Meine Änderungen behalten","Use the updated version and discard your unsaved changes?": "Aktualisierte Version verwenden und ungespeicherte Änderungen verwerfen?",- "Keep your changes and replace the version updated elsewhere?": "Eigene Änderungen behalten und die andernorts aktualisierte Version ersetzen?"+ "Keep your changes and replace the version updated elsewhere?": "Eigene Änderungen behalten und die andernorts aktualisierte Version ersetzen?",+ "Required file not found.": "Benötigte Datei nicht gefunden.",+ "No permission to access this file.": "Keine Zugriffsberechtigung für diese Datei.",+ "Preview update timed out.": "Zeitüberschreitung beim Aktualisieren der Vorschau.",+ "Preview could not be updated.": "Vorschau konnte nicht aktualisiert werden.",+ "The project changed elsewhere.": "Projekt wurde andernorts geändert.",+ "Changes could not be saved.": "Änderungen konnten nicht gespeichert werden.",+ "Action not completed. Please try again.": "Vorgang nicht abgeschlossen. Bitte erneut versuchen.",+ "Historical files are unavailable. Version not restored.": "Verlaufsdateien nicht verfügbar. Version nicht wiederhergestellt."},"fr": {"Reconnecting…": "Reconnexion…",@@ -127,7 +159,15 @@"Use updated version": "Utiliser la version à jour","Keep my changes": "Garder mes modifications","Use the updated version and discard your unsaved changes?": "Utiliser la version à jour et abandonner vos modifications non enregistrées ?",- "Keep your changes and replace the version updated elsewhere?": "Garder vos modifications et remplacer la version mise à jour ailleurs ?"+ "Keep your changes and replace the version updated elsewhere?": "Garder vos modifications et remplacer la version mise à jour ailleurs ?",+ "Required file not found.": "Fichier requis introuvable.",+ "No permission to access this file.": "Accès à ce fichier non autorisé.",+ "Preview update timed out.": "Délai de mise à jour de l’aperçu dépassé.",+ "Preview could not be updated.": "Impossible de mettre à jour l’aperçu.",+ "The project changed elsewhere.": "Le projet a été modifié ailleurs.",+ "Changes could not be saved.": "Impossible d’enregistrer les modifications.",+ "Action not completed. Please try again.": "Opération non terminée. Réessayez.",+ "Historical files are unavailable. Version not restored.": "Fichiers historiques indisponibles. Version non restaurée."},"es": {"Reconnecting…": "Reconectando…",@@ -153,7 +193,15 @@"Use updated version": "Usar versión actualizada","Keep my changes": "Conservar mis cambios","Use the updated version and discard your unsaved changes?": "¿Usar la versión actualizada y descartar tus cambios sin guardar?",- "Keep your changes and replace the version updated elsewhere?": "¿Conservar tus cambios y reemplazar la versión actualizada en otro lugar?"+ "Keep your changes and replace the version updated elsewhere?": "¿Conservar tus cambios y reemplazar la versión actualizada en otro lugar?",+ "Required file not found.": "No se encontró el archivo necesario.",+ "No permission to access this file.": "Sin permiso para acceder a este archivo.",+ "Preview update timed out.": "La actualización de la vista previa agotó el tiempo.",+ "Preview could not be updated.": "No se pudo actualizar la vista previa.",+ "The project changed elsewhere.": "El proyecto se modificó en otro lugar.",+ "Changes could not be saved.": "No se pudieron guardar los cambios.",+ "Action not completed. Please try again.": "Operación incompleta. Inténtalo de nuevo.",+ "Historical files are unavailable. Version not restored.": "Archivos históricos no disponibles. Versión no restaurada."},"pt-BR": {"Reconnecting…": "Reconectando…",@@ -179,7 +227,15 @@"Use updated version": "Usar versão atualizada","Keep my changes": "Manter minhas alterações","Use the updated version and discard your unsaved changes?": "Usar a versão atualizada e descartar suas alterações não salvas?",- "Keep your changes and replace the version updated elsewhere?": "Manter suas alterações e substituir a versão atualizada em outro local?"+ "Keep your changes and replace the version updated elsewhere?": "Manter suas alterações e substituir a versão atualizada em outro local?",+ "Required file not found.": "Arquivo necessário não encontrado.",+ "No permission to access this file.": "Sem permissão para acessar este arquivo.",+ "Preview update timed out.": "A atualização da prévia excedeu o tempo limite.",+ "Preview could not be updated.": "Não foi possível atualizar a prévia.",+ "The project changed elsewhere.": "O projeto foi alterado em outro lugar.",+ "Changes could not be saved.": "Não foi possível salvar as alterações.",+ "Action not completed. Please try again.": "Operação não concluída. Tente novamente.",+ "Historical files are unavailable. Version not restored.": "Arquivos históricos indisponíveis. Versão não restaurada."},"it": {"Reconnecting…": "Riconnessione…",@@ -205,7 +261,15 @@"Use updated version": "Usa versione aggiornata","Keep my changes": "Mantieni le mie modifiche","Use the updated version and discard your unsaved changes?": "Usare la versione aggiornata e scartare le modifiche non salvate?",- "Keep your changes and replace the version updated elsewhere?": "Mantenere le tue modifiche e sostituire la versione aggiornata altrove?"+ "Keep your changes and replace the version updated elsewhere?": "Mantenere le tue modifiche e sostituire la versione aggiornata altrove?",+ "Required file not found.": "File necessario non trovato.",+ "No permission to access this file.": "Accesso al file non consentito.",+ "Preview update timed out.": "Tempo scaduto per l’aggiornamento dell’anteprima.",+ "Preview could not be updated.": "Impossibile aggiornare l’anteprima.",+ "The project changed elsewhere.": "Il progetto è stato modificato altrove.",+ "Changes could not be saved.": "Impossibile salvare le modifiche.",+ "Action not completed. Please try again.": "Operazione non completata. Riprova.",+ "Historical files are unavailable. Version not restored.": "File storici non disponibili. Versione non ripristinata."},"ru": {"Reconnecting…": "Переподключение…",@@ -231,7 +295,15 @@"Use updated version": "Использовать новую версию","Keep my changes": "Сохранить мои изменения","Use the updated version and discard your unsaved changes?": "Использовать новую версию и отменить ваши несохранённые изменения?",- "Keep your changes and replace the version updated elsewhere?": "Сохранить ваши изменения и заменить версию, обновлённую в другом месте?"+ "Keep your changes and replace the version updated elsewhere?": "Сохранить ваши изменения и заменить версию, обновлённую в другом месте?",+ "Required file not found.": "Нужный файл не найден.",+ "No permission to access this file.": "Нет доступа к этому файлу.",+ "Preview update timed out.": "Время обновления предпросмотра истекло.",+ "Preview could not be updated.": "Не удалось обновить предпросмотр.",+ "The project changed elsewhere.": "Проект изменён в другом месте.",+ "Changes could not be saved.": "Не удалось сохранить изменения.",+ "Action not completed. Please try again.": "Операция не завершена. Повторите попытку.",+ "Historical files are unavailable. Version not restored.": "Файлы истории недоступны. Версия не восстановлена."},"tr": {"Reconnecting…": "Yeniden bağlanılıyor…",@@ -257,6 +329,14 @@"Use updated version": "Güncel sürümü kullan","Keep my changes": "Değişikliklerimi koru","Use the updated version and discard your unsaved changes?": "Güncel sürüm kullanılıp kaydedilmemiş değişiklikleriniz silinsin mi?",- "Keep your changes and replace the version updated elsewhere?": "Değişiklikleriniz korunup başka yerde güncellenen sürüm değiştirilsin mi?"+ "Keep your changes and replace the version updated elsewhere?": "Değişiklikleriniz korunup başka yerde güncellenen sürüm değiştirilsin mi?",+ "Required file not found.": "Gerekli dosya bulunamadı.",+ "No permission to access this file.": "Bu dosyaya erişim izni yok.",+ "Preview update timed out.": "Önizleme güncellemesi zaman aşımına uğradı.",+ "Preview could not be updated.": "Önizleme güncellenemedi.",+ "The project changed elsewhere.": "Proje başka bir yerde değiştirildi.",+ "Changes could not be saved.": "Değişiklikler kaydedilemedi.",+ "Action not completed. Please try again.": "İşlem tamamlanamadı. Tekrar deneyin.",+ "Historical files are unavailable. Version not restored.": "Geçmiş dosyaları kullanılamıyor. Sürüm geri yüklenmedi."}}diff --git a/studio/src/i18n/mvp-ui.json b/studio/src/i18n/mvp-ui.jsonindex ab6655bb..72672d99 100644--- a/studio/src/i18n/mvp-ui.json+++ b/studio/src/i18n/mvp-ui.json@@ -188,7 +188,8 @@"No clips yet": "クリップはまだありません","No editable content": "編集できる内容がありません","No content to export. Add media first.": "書き出す内容がありません。先に素材を追加してください。",- "Select an element to edit its properties": "要素を選択してプロパティを編集"+ "Select an element to edit its properties": "要素を選択してプロパティを編集",+ "Untitled": "無題"},"ko": {"Join the OpenDesign community": "OpenDesign 커뮤니티에 참여하세요",@@ -379,7 +380,8 @@"No clips yet": "아직 클립이 없습니다","No editable content": "편집할 콘텐츠가 없습니다","No content to export. Add media first.": "내보낼 콘텐츠가 없습니다. 먼저 미디어를 추가하세요.",- "Select an element to edit its properties": "요소를 선택해 속성 편집"+ "Select an element to edit its properties": "요소를 선택해 속성 편집",+ "Untitled": "제목 없음"},"de": {"Join the OpenDesign community": "Tritt der OpenDesign-Community bei",@@ -570,7 +572,8 @@"No clips yet": "Noch keine Clips","No editable content": "Keine bearbeitbaren Inhalte","No content to export. Add media first.": "Keine Inhalte zum Exportieren. Füge zuerst Medien hinzu.",- "Select an element to edit its properties": "Element zum Bearbeiten wählen"+ "Select an element to edit its properties": "Element zum Bearbeiten wählen",+ "Untitled": "Unbenannt"},"fr": {"Join the OpenDesign community": "Rejoignez la communauté OpenDesign",@@ -761,7 +764,8 @@"No clips yet": "Aucun clip pour le moment","No editable content": "Aucun contenu à modifier","No content to export. Add media first.": "Aucun contenu à exporter. Ajoutez d’abord des médias.",- "Select an element to edit its properties": "Sélectionnez un élément à modifier"+ "Select an element to edit its properties": "Sélectionnez un élément à modifier",+ "Untitled": "Sans titre"},"ru": {"Join the OpenDesign community": "Присоединяйтесь к сообществу OpenDesign",@@ -952,7 +956,8 @@"No clips yet": "Пока нет клипов","No editable content": "Нет содержимого для редактирования","No content to export. Add media first.": "Нет содержимого для экспорта. Сначала добавьте медиафайлы.",- "Select an element to edit its properties": "Выберите элемент для правки"+ "Select an element to edit its properties": "Выберите элемент для правки",+ "Untitled": "Без названия"},"es": {"Join the OpenDesign community": "Únete a la comunidad de OpenDesign",@@ -1143,7 +1148,8 @@"No clips yet": "Aún no hay clips","No editable content": "No hay contenido editable","No content to export. Add media first.": "No hay contenido para exportar. Añade archivos multimedia primero.",- "Select an element to edit its properties": "Selecciona un elemento para editar"+ "Select an element to edit its properties": "Selecciona un elemento para editar",+ "Untitled": "Sin título"},"pt-BR": {"Join the OpenDesign community": "Junte-se à comunidade OpenDesign",@@ -1334,7 +1340,8 @@"No clips yet": "Nenhum clipe ainda","No editable content": "Nenhum conteúdo editável","No content to export. Add media first.": "Não há conteúdo para exportar. Adicione mídia primeiro.",- "Select an element to edit its properties": "Selecione um elemento para editar"+ "Select an element to edit its properties": "Selecione um elemento para editar",+ "Untitled": "Sem título"},"it": {"Join the OpenDesign community": "Unisciti alla community OpenDesign",@@ -1525,7 +1532,8 @@"No clips yet": "Nessuna clip ancora","No editable content": "Nessun contenuto modificabile","No content to export. Add media first.": "Nessun contenuto da esportare. Aggiungi prima dei media.",- "Select an element to edit its properties": "Seleziona un elemento da modificare"+ "Select an element to edit its properties": "Seleziona un elemento da modificare",+ "Untitled": "Senza titolo"},"tr": {"Join the OpenDesign community": "OpenDesign topluluğuna katılın",@@ -1716,6 +1724,7 @@"No clips yet": "Henüz klip yok","No editable content": "Düzenlenebilir içerik yok","No content to export. Add media first.": "Dışa aktarılacak içerik yok. Önce medya ekleyin.",- "Select an element to edit its properties": "Düzenlemek için bir öğe seçin"+ "Select an element to edit its properties": "Düzenlemek için bir öğe seçin",+ "Untitled": "Adsız"}}diff --git a/studio/src/i18n/mvp-zh-CN.json b/studio/src/i18n/mvp-zh-CN.jsonindex 61525dc7..4b8a2c1a 100644--- a/studio/src/i18n/mvp-zh-CN.json+++ b/studio/src/i18n/mvp-zh-CN.json@@ -1,4 +1,5 @@{+ "Untitled": "未命名","Join the OpenDesign community": "欢迎加入 OpenDesign 社群","System": "系统","Imported": "已导入",diff --git a/studio/src/motion/MotionStudioHost.test.tsx b/studio/src/motion/MotionStudioHost.test.tsxindex 96dad652..8a5f988e 100644--- a/studio/src/motion/MotionStudioHost.test.tsx+++ b/studio/src/motion/MotionStudioHost.test.tsx@@ -177,7 +177,7 @@ it('starts with a closed drawer in embeds regardless of the former collapse prefhistory.replaceState(null, '', '/');});-it('saves a project name on blur and keeps empty or cancelled edits from replacing it', async () => {+it('saves empty project names as Untitled while Escape cancels edits', async () => {state.rename.mockResolvedValue(true);render();const edit = () => {@@ -199,18 +199,25 @@ it('saves a project name on blur and keeps empty or cancelled edits from replaciinput = edit();change(input, ' ');await act(async () => input.blur());- expect(state.rename).toHaveBeenCalledTimes(1);+ expect(state.rename).toHaveBeenLastCalledWith('demo', '未命名');+ expect(state.rename).toHaveBeenCalledTimes(2);input = edit();change(input, 'Discard this');act(() => input.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', bubbles: true })));- expect(state.rename).toHaveBeenCalledTimes(1);+ expect(state.rename).toHaveBeenCalledTimes(2);expect(container.querySelector('[aria-label="项目名称"]')).toBe(input);expect(input.value).toBe('Demo');input = edit();change(input, 'Enter saves');await act(async () => input.dispatchEvent(new KeyboardEvent('keydown', { key: 'Enter', bubbles: true })));expect(state.rename).toHaveBeenLastCalledWith('demo', 'Enter saves');- expect(state.rename).toHaveBeenCalledTimes(2);+ expect(state.rename).toHaveBeenCalledTimes(3);+ input = edit();+ change(input, '');+ expect(input.placeholder).toBe('未命名');+ await act(async () => input.dispatchEvent(new KeyboardEvent('keydown', { key: 'Enter', bubbles: true })));+ expect(state.rename).toHaveBeenLastCalledWith('demo', '未命名');+ expect(state.rename).toHaveBeenCalledTimes(4);expect(document.activeElement).not.toBe(input);expect(container.querySelector('[aria-label="项目名称"]')).toBe(input);});diff --git a/studio/src/motion/MotionStudioHost.tsx b/studio/src/motion/MotionStudioHost.tsxindex ee44392b..89efa766 100644--- a/studio/src/motion/MotionStudioHost.tsx+++ b/studio/src/motion/MotionStudioHost.tsx@@ -76,8 +76,8 @@ function WorkspaceProject() {const finishEditing = () => { editingRef.current = false; setEditing(false); };const saveTitle = async () => {if (!editingRef.current || savingRef.current) return;- const nextTitle = title.trim();- if (!project || !nextTitle || nextTitle === project.title) { finishEditing(); return; }+ const nextTitle = title.trim() || t('Untitled');+ if (!project || nextTitle === project.title) { finishEditing(); return; }savingRef.current = true;try { if (await workspace.rename(project.id, nextTitle)) finishEditing(); }finally { savingRef.current = false; }@@ -88,7 +88,7 @@ function WorkspaceProject() {maxLength={100}aria-label={t('Project name')}value={editing ? title : project?.title || ''}- placeholder={t('Connecting…')}+ placeholder={t(project ? 'Untitled' : 'Connecting…')}disabled={workspace.busy || switchingDisabled || !project}onFocus={() => {if (editingRef.current) return;diff --git a/studio/src/motion/theme.css b/studio/src/motion/theme.cssindex d6003909..464b5876 100644--- a/studio/src/motion/theme.css+++ b/studio/src/motion/theme.css@@ -163,8 +163,8 @@ button, input, select, textarea { font-family: inherit; }.motion-asset-name-input[aria-invalid="true"] { border-color: var(--motion-danger); }/* Keep resize handles available without permanent lines between panel cards. */-.hf-dock .dv-split-view-container > .dv-sash-container > .dv-sash,-.hf-dock .dv-split-view-container > .dv-sash-container > .dv-sash:is(:hover, :active, :focus-visible) { background: transparent; }+:root[data-motion-ui] .hf-dock .dv-split-view-container > .dv-sash-container > .dv-sash,+:root[data-motion-ui] .hf-dock .dv-split-view-container > .dv-sash-container > .dv-sash:is(:hover, :active, :focus-visible) { background: transparent; }.hf-dock .dv-sash::after { content: ''; position: absolute; pointer-events: none; background: transparent; transition: background 120ms; }.hf-dock .dv-horizontal > .dv-sash-container > .dv-sash::after { width: 1px; height: 100%; top: 0; left: 2px; }.hf-dock .dv-vertical > .dv-sash-container > .dv-sash::after { height: 1px; width: 100%; left: 0; top: 2px; }@@ -280,7 +280,7 @@ button, input, select, textarea { font-family: inherit; }.motion-language-button { flex-shrink: 1; min-width: 0; white-space: nowrap; }.motion-language-button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: center; }-.motion-language-menu { width: 220px; max-width: calc(100vw - 24px); }+.motion-language-menu { width: 180px; max-width: calc(100vw - 24px); }:root[data-motion-ui] .hf-od-floating-surface.motion-language-menu {max-height: min(280px, calc(100dvh - 24px), var(--available-height, 280px));overflow-y: auto;@@ -314,8 +314,28 @@ button, input, select, textarea { font-family: inherit; }:root[data-motion-ui] .motion-composition-card[aria-current="true"] { background: var(--motion-inset); }:root[data-motion-ui] .motion-composition-card[aria-current="true"] .motion-composition-name { color: var(--motion-strong); font-weight: 600; }+.motion-composition-placeholder { background: var(--motion-inset); color: var(--motion-dim); }+.motion-composition-placeholder-mark {+ width: 20px;+ height: 20px;+ background: currentColor;+ -webkit-mask: url('./od-loading-mark.svg') center / contain no-repeat;+ mask: url('./od-loading-mark.svg') center / contain no-repeat;+}+:root[data-motion-ui] .hf-od-floating-surface.motion-speed-menu { background: var(--motion-raised); border: 0; outline: none; box-shadow: var(--motion-shadow-sm); }+:root[data-motion-ui] .hf-od-floating-surface.motion-preview-zoom-menu {+ width: 96px;+ min-width: 96px;+ background: var(--motion-raised);+ -webkit-backdrop-filter: none;+ backdrop-filter: none;+ border: 0;+ outline: none;+ box-shadow: var(--motion-shadow-sm);+}+/* Equal side columns center the title; narrow hosts preserve the controls before the title. */.motion-studio-header.motion-studio-header-centered { padding-block: 11.5px; display: grid; grid-template-columns: minmax(max-content, 1fr) minmax(0, 1fr) minmax(max-content, 1fr); gap: 12px; }.motion-studio-header.motion-studio-header-centered > div { min-width: 0; width: auto; }diff --git a/studio/src/player/components/SpeedMenu.tsx b/studio/src/player/components/SpeedMenu.tsxindex 5a64cb87..e3b8ea76 100644--- a/studio/src/player/components/SpeedMenu.tsx+++ b/studio/src/player/components/SpeedMenu.tsx@@ -31,7 +31,7 @@ export const SpeedMenu = memo(function SpeedMenu({align="end"container={typeof document !== "undefined" ? document.fullscreenElement as HTMLElement ?? undefined : undefined}aria-label={t("Playback speed options")}- className="motion-speed-menu min-w-[56px] overflow-hidden border-0 p-0"+ className="motion-speed-menu min-w-[80px] overflow-hidden border-0 p-0"trigger={<buttontype="button"@@ -56,7 +56,7 @@ export const SpeedMenu = memo(function SpeedMenu({<MenuRadioItemkey={rate}value={rate}- className={`gap-2 rounded-none px-3 py-1.5 font-mono text-[11px] tabular-nums ${rate === playbackRate ? "bg-hover font-semibold text-text-0" : ""}`}+ className={`gap-3 rounded-none px-3 py-1.5 font-mono text-[11px] tabular-nums ${rate === playbackRate ? "bg-hover font-semibold" : ""}`}>{rate}x</MenuRadioItem>diff --git a/studio/src/player/components/TimelineClip.tsx b/studio/src/player/components/TimelineClip.tsxindex a35eb0e3..bfd32d5b 100644--- a/studio/src/player/components/TimelineClip.tsx+++ b/studio/src/player/components/TimelineClip.tsx@@ -264,7 +264,7 @@ export const TimelineClip = memo(function TimelineClip({{/* Fade handles for anything the mixer hears: audio clips and videos markeddata-has-audio. They write data-fade-in/out, the timeline half of theinspector's Fade rows. */}- {hasFades && (+ {hasFades && !mvp && (<TimelineClipFadesel={el}pps={pps}diff --git a/studio/src/player/components/TimelineRuler.tsx b/studio/src/player/components/TimelineRuler.tsxindex d7044f2f..cecdcb24 100644--- a/studio/src/player/components/TimelineRuler.tsx+++ b/studio/src/player/components/TimelineRuler.tsx@@ -185,12 +185,15 @@ export const TimelineRuler = memo(function TimelineRuler({style={{ left: t * pps - 0.5 }}><span+ data-timeline-ruler-label=""className="absolute font-mono tabular-nums leading-none whitespace-nowrap"style={{color: theme.tickText,- left: TICK_LABEL_INSET_PX,+ left: `calc(${TICK_LABEL_INSET_PX}px * var(--timeline-zoom-inverse, 1))`,top: 5,fontSize: 10,+ transform: "scaleX(var(--timeline-zoom-inverse, 1))",+ transformOrigin: "left top",}}>{rulerTickText(t, tickFrameRate, effectiveDuration, majorTickInterval)}diff --git a/studio/src/player/components/clipMenuAudioItems.test.tsx b/studio/src/player/components/clipMenuAudioItems.test.tsxindex 50dccc27..aa36526d 100644--- a/studio/src/player/components/clipMenuAudioItems.test.tsx+++ b/studio/src/player/components/clipMenuAudioItems.test.tsx@@ -91,7 +91,8 @@ describe("ClipMenuAudioItems", () => {const host = render(music, "duck");const item = duckLabel(host);expect(item?.getAttribute("aria-checked")).toBe("true");- expect(item?.textContent).toBe("Duck under voice✓");+ expect(item?.textContent).toBe("Duck under voice");+ expect(item?.querySelector('[data-remix-icon="check-line"]')).toBeTruthy();});});diff --git a/studio/src/player/components/clipMenuAudioItems.tsx b/studio/src/player/components/clipMenuAudioItems.tsxindex d0ca9077..fc5fa77a 100644--- a/studio/src/player/components/clipMenuAudioItems.tsx+++ b/studio/src/player/components/clipMenuAudioItems.tsx@@ -1,4 +1,5 @@import { useI18n } from "../../i18n/I18n";+import { Check } from "../../icons/RemixIcons";import type { TimelineElement } from "../store/timelineElement";import { useTimelineEditContextOptional } from "../../contexts/TimelineEditContext";import { useStudioShellContextOptional } from "../../contexts/StudioContext";@@ -91,7 +92,7 @@ export function ClipMenuAudioItems({onClick={() => void toggleDuck()}><span>{t("Duck under voice")}</span>- <span aria-hidden="true">{ducked ? "✓" : ""}</span>+ <span aria-hidden="true">{ducked && <Check size={12} />}</span></button>);}diff --git a/studio/src/player/components/clipMenuToolItems.tsx b/studio/src/player/components/clipMenuToolItems.tsxindex e5d4cfbb..dbf83378 100644--- a/studio/src/player/components/clipMenuToolItems.tsx+++ b/studio/src/player/components/clipMenuToolItems.tsx@@ -1,4 +1,5 @@import { useI18n } from "../../i18n/I18n";+import { Check } from "../../icons/RemixIcons";import { useEffect, useRef, useState, type KeyboardEvent } from "react";import { HF_AUDIO_FX_ATTR } from "@hyperframes/core/audio-fx";import { HF_COLOR_GRADING_ATTR } from "@hyperframes/core/color-grading";@@ -158,7 +159,7 @@ function ChoiceSubmenu({><span className="flex items-center gap-1.5"><span aria-hidden="true" className="w-3 text-center">- {activeId === id ? "✓" : ""}+ {activeId === id && <Check size={12} />}</span>{text}</span>diff --git a/studio/src/player/components/timelineZoomInput.test.ts b/studio/src/player/components/timelineZoomInput.test.tsindex 1b439c7c..b0682418 100644--- a/studio/src/player/components/timelineZoomInput.test.ts+++ b/studio/src/player/components/timelineZoomInput.test.ts@@ -83,6 +83,8 @@ describe("requestTimelineZoom", () => {expect(currentTimelineZoomPercent()).toBe(150);// 4 s stays at 100px: 32 + 4 * 15 - left = 100, left = -8 clamps to 0, translated by 0.expect(row.style.transform).toBe("translateX(0px) scaleX(1.5)");+ // Ruler text cancels the parent's horizontal scale throughout the preview.+ expect(Number(row.style.getPropertyValue("--timeline-zoom-inverse")) * 1.5).toBeCloseTo(1);vi.advanceTimersByTime(150);unsubscribe();expect(writes).toHaveBeenCalledTimes(1);@@ -93,6 +95,7 @@ describe("requestTimelineZoom", () => {userZoomCount: 1,});expect(row.style.transform).toBe("");+ expect(row.style.getPropertyValue("--timeline-zoom-inverse")).toBe("");});it("keeps the time under the pointer while previewing, then lays it out there", () => {@@ -182,6 +185,7 @@ describe("requestTimelineZoom", () => {await Promise.resolve();expect(usePlayerStore.getState().timelinePps).toBe(10);expect(mountedRow.style.transform).toContain("scaleX(1.5)");+ expect(Number(mountedRow.style.getPropertyValue("--timeline-zoom-inverse")) * 1.5).toBeCloseTo(1);});it("lays a pending zoom out at once when settled, as a press does", () => {@@ -212,6 +216,7 @@ describe("requestTimelineZoom", () => {vi.advanceTimersByTime(300);expect(usePlayerStore.getState().timelinePps).toBe(10);expect(row.style.transform).toBe("");+ expect(row.style.getPropertyValue("--timeline-zoom-inverse")).toBe("");});it("lays the zoom out before the timeline counts as at rest", () => {@@ -391,6 +396,22 @@ describe("zoomTimelineStep", () => {for (let i = 0; i < 30; i++) vi.advanceTimersToNextFrame();};+ it.each(["in", "out"] as const)("keeps the ruler text scale neutral through a zoom-%s animation", (direction) => {+ usePlayerStore.setState({ currentTime: 110, duration: 1000, zoomMode: "manual", manualZoomPercent: 400, timelinePps: 40 });+ const { row } = viewport(4000);+ zoomTimelineStep(direction);+ let previewFrames = 0;+ for (let i = 0; i < 30; i++) {+ vi.advanceTimersToNextFrame();+ const scale = /scaleX\(([\d.]+)\)/.exec(row.style.transform);+ if (!scale) continue;+ previewFrames++;+ expect(Number(scale[1]) * Number(row.style.getPropertyValue("--timeline-zoom-inverse"))).toBeCloseTo(1, 10);+ }+ expect(previewFrames).toBeGreaterThan(1);+ expect(row.style.getPropertyValue("--timeline-zoom-inverse")).toBe("");+ });+it("counts as a person's zoom", () => {viewport();zoomTimelineStep("in");diff --git a/studio/src/player/components/timelineZoomInput.ts b/studio/src/player/components/timelineZoomInput.tsindex dd1ec494..54e09324 100644--- a/studio/src/player/components/timelineZoomInput.ts+++ b/studio/src/player/components/timelineZoomInput.ts@@ -144,6 +144,7 @@ function clearScaled(scroll: HTMLElement) {el.style.transform = "";el.style.transformOrigin = "";el.style.willChange = "";+ el.style.removeProperty("--timeline-zoom-inverse");});}@@ -166,11 +167,14 @@ function drawnRange(scroll: HTMLDivElement, pps: number, contentOrigin: number):function scalePreview(scroll: HTMLElement) {if (!preview) return;const transform = `translateX(${preview.shift}px) scaleX(${preview.pps / preview.basePps})`;+ const inverseScale = String(preview.basePps / preview.pps);scroll.querySelectorAll<HTMLElement>(SCALED).forEach((el) => {// The attribute's value is where time zero sits in the element, when not at its left edge.el.style.transformOrigin = `${el.dataset.timelineZoomScale || 0}px 0`;el.style.willChange = "transform";el.style.transform = transform;+ // Keep ruler glyphs at their natural width while their tick positions scale.+ el.style.setProperty("--timeline-zoom-inverse", inverseScale);});}diff --git a/studio/src/styles/components.css b/studio/src/styles/components.cssindex 165151ff..ede231ab 100644--- a/studio/src/styles/components.css+++ b/studio/src/styles/components.css@@ -16,11 +16,7 @@@container motion-player (max-width: 420px) {.motion-player-secondary { gap: 2px; }-}--@container motion-player (max-width: 420px) {.motion-player-control-row {- grid-template-columns: minmax(0, 1fr) 32px 28px;column-gap: 8px;}.motion-player-optional { display: none; }