From 175bb36edaf02e6ac6fc443cff5ffd403b4a5e23 Mon Sep 17 00:00:00 2001 From: AP Solanki <88495030+ateendra24@users.noreply.github.com> Date: Thu, 18 Dec 2025 10:38:07 +0530 Subject: [PATCH] feat: add tutorial help component for video trimming guidance --- src/components/video-editor/TutorialHelp.tsx | 145 ++++++++++++++++++ .../video-editor/timeline/TimelineEditor.tsx | 3 + 2 files changed, 148 insertions(+) create mode 100644 src/components/video-editor/TutorialHelp.tsx diff --git a/src/components/video-editor/TutorialHelp.tsx b/src/components/video-editor/TutorialHelp.tsx new file mode 100644 index 0000000..35cad44 --- /dev/null +++ b/src/components/video-editor/TutorialHelp.tsx @@ -0,0 +1,145 @@ +import { + Dialog, + DialogContent, + DialogDescription, + DialogHeader, + DialogTitle, + DialogTrigger, +} from "@/components/ui/dialog"; +import { Button } from "@/components/ui/button"; +import { HelpCircle, Scissors, ArrowRight } from "lucide-react"; + +export function TutorialHelp() { + return ( + + ); +} diff --git a/src/components/video-editor/timeline/TimelineEditor.tsx b/src/components/video-editor/timeline/TimelineEditor.tsx index 1cc56d7..e516cfc 100644 --- a/src/components/video-editor/timeline/TimelineEditor.tsx +++ b/src/components/video-editor/timeline/TimelineEditor.tsx @@ -19,6 +19,7 @@ import { } from "@/components/ui/dropdown-menu"; import { type AspectRatio, getAspectRatioLabel } from "@/utils/aspectRatioUtils"; import { formatShortcut } from "@/utils/platformUtils"; +import { TutorialHelp } from "../TutorialHelp"; const ZOOM_ROW_ID = "row-zoom"; const TRIM_ROW_ID = "row-trim"; @@ -907,6 +908,8 @@ export default function TimelineEditor({ ))} +
+