feat(studio): phone editing for Video Studio + Image Editor (remove desktop gate)
Replaces the "desktop only" gate on phones with real mobile editing layouts. Shared: - BottomSheet (mobile slide-up panel) hosting the desktop side-docks on phones. - Side panels made width-fluid (w-full on mobile, fixed on md+): StudioSidebarContent, ImageEditorRightPanel. Video Studio (VideoStudioMobileLayout): - Canvas fills the viewport; the vertical tool dock becomes a scrollable bottom bar; each tool's panel + the timeline open as bottom sheets. Exported MAIN_DOCK_ITEMS. Image Editor (ImageEditorMobileLayout): - Canvas fills the viewport; toolbar → scrollable bottom bar; Adjust/Filters/Layers panel + shape picker open as bottom sheets. Exported IMAGE_TOOLS/IMAGE_SHAPES. - Touch editing: Stage now handles onTouchStart/Move/End (draw, select, move) with touch-action:none; draw-tool stroke works with a finger. Pointer handlers widened to MouseEvent | TouchEvent. i18n: added timeline/preview/panels keys (fa+en, parity verified). Full next build + tsc clean. (Studio is auth-gated — verify editing on a device.) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -914,6 +914,7 @@
|
||||
"toolShape": "Shape",
|
||||
"toolDraw": "Draw",
|
||||
"toolAi": "AI",
|
||||
"panels": "Adjust",
|
||||
"shapeRectangle": "Rectangle",
|
||||
"shapeCircle": "Circle",
|
||||
"shapeLine": "Line",
|
||||
@@ -1223,6 +1224,8 @@
|
||||
"transitions": "Transitions",
|
||||
"font": "Font",
|
||||
"myWatermark": "My Watermark",
|
||||
"timeline": "Timeline",
|
||||
"preview": "Preview",
|
||||
"toolsNavLabel": "Studio tools",
|
||||
"guideMe": "Guide me",
|
||||
"guideComingSoon": "👋 Guide coming soon!",
|
||||
|
||||
@@ -914,6 +914,7 @@
|
||||
"toolShape": "شکل",
|
||||
"toolDraw": "ترسیم",
|
||||
"toolAi": "هوش مصنوعی",
|
||||
"panels": "تنظیمات",
|
||||
"shapeRectangle": "مستطیل",
|
||||
"shapeCircle": "دایره",
|
||||
"shapeLine": "خط",
|
||||
@@ -1223,6 +1224,8 @@
|
||||
"transitions": "گذارها",
|
||||
"font": "فونت",
|
||||
"myWatermark": "واترمارک من",
|
||||
"timeline": "خط زمان",
|
||||
"preview": "پیشنمایش",
|
||||
"toolsNavLabel": "ابزارهای استودیو",
|
||||
"guideMe": "راهنماییام کن",
|
||||
"guideComingSoon": "👋 راهنما بهزودی ارائه میشود!",
|
||||
|
||||
Reference in New Issue
Block a user