From 43dfeb7dc9f616b64eae8e52f72482f43c9c6085 Mon Sep 17 00:00:00 2001 From: Louis Knight-Webb Date: Sun, 22 Jun 2025 23:07:37 +0100 Subject: [PATCH] copy --- frontend/src/components/OnboardingDialog.tsx | 52 +++++++++++++++----- 1 file changed, 39 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/OnboardingDialog.tsx b/frontend/src/components/OnboardingDialog.tsx index 8c5e7f8b..e80e2a27 100644 --- a/frontend/src/components/OnboardingDialog.tsx +++ b/frontend/src/components/OnboardingDialog.tsx @@ -8,17 +8,31 @@ import { DialogTitle, } from "@/components/ui/dialog"; import { Button } from "@/components/ui/button"; -import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; +import { + Select, + SelectContent, + SelectItem, + SelectTrigger, + SelectValue, +} from "@/components/ui/select"; import { Label } from "@/components/ui/label"; import { Input } from "@/components/ui/input"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Sparkles, Code } from "lucide-react"; import type { EditorType, ExecutorConfig } from "shared/types"; -import { EXECUTOR_TYPES, EDITOR_TYPES, EXECUTOR_LABELS, EDITOR_LABELS } from "shared/types"; +import { + EXECUTOR_TYPES, + EDITOR_TYPES, + EXECUTOR_LABELS, + EDITOR_LABELS, +} from "shared/types"; interface OnboardingDialogProps { open: boolean; - onComplete: (config: { executor: ExecutorConfig; editor: { editor_type: EditorType; custom_command: string | null } }) => void; + onComplete: (config: { + executor: ExecutorConfig; + editor: { editor_type: EditorType; custom_command: string | null }; + }) => void; } export function OnboardingDialog({ open, onComplete }: OnboardingDialogProps) { @@ -36,7 +50,9 @@ export function OnboardingDialog({ open, onComplete }: OnboardingDialogProps) { }); }; - const isValid = editorType !== "custom" || (editorType === "custom" && customCommand.trim() !== ""); + const isValid = + editorType !== "custom" || + (editorType === "custom" && customCommand.trim() !== ""); return ( {}}> @@ -44,10 +60,11 @@ export function OnboardingDialog({ open, onComplete }: OnboardingDialogProps) {
- Welcome to Mission Control + Welcome to Vibe Kanban
- Let's set up your coding preferences. You can always change these later in Settings. + Let's set up your coding preferences. You can always change these + later in Settings.
@@ -64,7 +81,9 @@ export function OnboardingDialog({ open, onComplete }: OnboardingDialogProps) {

- {executor.type === "claude" && "Claude will handle your coding tasks with advanced reasoning."} - {executor.type === "amp" && "Amp provides powerful code generation and debugging capabilities."} - {executor.type === "echo" && "Echo is a simple testing executor that repeats your commands."} + {executor.type === "claude" && "Claude Code from Anthropic"} + {executor.type === "amp" && "From Sourcegraph"} + {executor.type === "echo" && + "This is just for debugging vibe-kanban itself"}

@@ -112,7 +132,8 @@ export function OnboardingDialog({ open, onComplete }: OnboardingDialogProps) {

- This editor will be used to open task attempts and project files. + This editor will be used to open task attempts and project + files.

@@ -126,7 +147,8 @@ export function OnboardingDialog({ open, onComplete }: OnboardingDialogProps) { onChange={(e) => setCustomCommand(e.target.value)} />

- Enter the command to run your custom editor. Use spaces for arguments (e.g., "code --wait"). + Enter the command to run your custom editor. Use spaces for + arguments (e.g., "code --wait").

)} @@ -135,7 +157,11 @@ export function OnboardingDialog({ open, onComplete }: OnboardingDialogProps) { -