Files
openmotion/packages
open-design-crew[bot] 4fdf2c3290 feat(studio): add compact audio previews with live waveforms (#391)
* feat(studio): add compact audio previews with live mirrored spectrum

* Register the audio preview stylesheet with the class resolution gate

The compact audio preview adds motion-audio-preview-icon, -track and
-waveform rules in components/nle/audioPreview.css. That sheet is imported
by AssetPreviewDialog, so the classes resolve at runtime, but the token
gate only reads the compiled app sheet plus its declared host and component
stylesheets. Register the new component sheet there, matching how the shared
editor styles joined the gate, so the audio preview classes stay verified
instead of failing the Studio regression shard.

Generated-By: looper 0.16.2 (runner=fixer, agent=pi)

* fix(studio): replace broken audio-only MP4 thumbnails with audio covers

* fix(studio): refine audio covers with responsive music icons

* fix(studio): use a filled music icon for audio covers

* fix(studio): match audio cover music note to the supplied reference

* fix(studio): lighten the audio cover icon foreground

* fix(studio): let the shared control row own the audio preview tracks

The audio preview declared its own grid-template-columns outside any container
query, so its higher-specificity rule beat the shared motion-player 420px and
300px fallbacks and kept three fixed tracks in the narrow dialog.

Move the wider middle column into a shared motion-player-control-row-lg variant
beside the base recipe, apply it only in the compact audio preview, and guard
the ownership with a focused styles test.

Generated-By: looper 0.16.2 (runner=fixer, agent=pi)

* fix(studio): reuse audio rows and remove custom asset covers

* fix(studio): clamp audio asset names to two lines

Reuse overflow-only tooltips for complete filenames and retain the existing row controls and metadata.

---------

Co-authored-by: fengcao <fengcao@fengcaodeMacBook-Pro.local>
Co-authored-by: 罗高 <luogao@192.168.5.135>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-16 20:19:36 +08:00
..