From 5cf40f36a154f0f73206340690bc7efc9b03348b Mon Sep 17 00:00:00 2001 From: joaner <1726541+joaner@users.noreply.github.com> Date: Thu, 22 Oct 2026 17:38:20 +0900 Subject: [PATCH] fix: stack panels on narrow screens and load videos with CORS --- .changeset/stack-narrow-video-cors.md | 5 ++ src/core/utils/featureUtils.ts | 11 +++ src/platform/services/mediaCopy.ts | 1 + src/react/components/DockviewLayout.tsx | 75 +++++++++++++++---- .../panels/ChartPanel/ChartPanel.tsx | 2 +- .../panels/ImagePanel/ImagePanel.tsx | 1 + .../panels/VideoPanel/VideoPanel.tsx | 1 + tests/browser/embed-layout.browser.spec.tsx | 41 ++++++++++ tests/visual-layout-order.spec.ts | 15 +++- 9 files changed, 136 insertions(+), 16 deletions(-) create mode 100644 .changeset/stack-narrow-video-cors.md diff --git a/.changeset/stack-narrow-video-cors.md b/.changeset/stack-narrow-video-cors.md new file mode 100644 index 0000000..763d485 --- /dev/null +++ b/.changeset/stack-narrow-video-cors.md @@ -0,0 +1,5 @@ +--- +'@ioai/lerobot-studio': patch +--- + +Fix two embedding problems. Narrow containers (under 600px wide, measured on the viewer container rather than the window) now default to a single stacked column of panels that scrolls, and the chart panel toolbar wraps instead of clipping its line-chart and split-view controls; the desktop layout is unchanged. Every `