|
| 1 | +export interface OnboardingStepConfig { |
| 2 | + id: string; |
| 3 | + title: string; |
| 4 | + description: string; |
| 5 | + details: string[]; |
| 6 | + accentColor: string; |
| 7 | +} |
| 8 | + |
| 9 | +export const ONBOARDING_STEPS: OnboardingStepConfig[] = [ |
| 10 | + { |
| 11 | + id: "welcome", |
| 12 | + title: "Welcome to OK Code", |
| 13 | + description: |
| 14 | + "Your AI-powered coding companion. Let's take a quick tour of the features that will supercharge your workflow.", |
| 15 | + details: [ |
| 16 | + "Work alongside AI agents that read, write, and reason about your code", |
| 17 | + "Every conversation runs in an isolated git worktree by default", |
| 18 | + "This tour takes about a minute — you can skip at any time", |
| 19 | + ], |
| 20 | + accentColor: "primary", |
| 21 | + }, |
| 22 | + { |
| 23 | + id: "chat", |
| 24 | + title: "AI-Powered Conversations", |
| 25 | + description: |
| 26 | + "Chat with AI coding agents in real time. Ask questions, request changes, or let the agent drive entire features.", |
| 27 | + details: [ |
| 28 | + "Choose between multiple providers — Codex and Claude", |
| 29 | + "Stream responses in real time as the agent works", |
| 30 | + "Attach images and terminal context directly in your prompts", |
| 31 | + ], |
| 32 | + accentColor: "sky", |
| 33 | + }, |
| 34 | + { |
| 35 | + id: "git", |
| 36 | + title: "Built-in Git Workflows", |
| 37 | + description: |
| 38 | + "Every thread can run in its own git worktree, keeping your main branch safe while the agent experiments freely.", |
| 39 | + details: [ |
| 40 | + "New threads automatically create isolated worktrees", |
| 41 | + "Switch branches, create PRs, and manage worktrees from the toolbar", |
| 42 | + "Link threads to existing pull requests for focused code review", |
| 43 | + ], |
| 44 | + accentColor: "emerald", |
| 45 | + }, |
| 46 | + { |
| 47 | + id: "diff", |
| 48 | + title: "Review Changes Side-by-Side", |
| 49 | + description: |
| 50 | + "Inspect every code change the agent makes with a built-in diff viewer before accepting anything.", |
| 51 | + details: [ |
| 52 | + "Inline and side-by-side diff views with syntax highlighting", |
| 53 | + "Accept or reject changes per-file with a single click", |
| 54 | + "Word-level highlighting shows exactly what changed", |
| 55 | + ], |
| 56 | + accentColor: "amber", |
| 57 | + }, |
| 58 | + { |
| 59 | + id: "terminal", |
| 60 | + title: "Integrated Terminal", |
| 61 | + description: |
| 62 | + "A full terminal lives inside every thread — run commands, see output, and feed context back to the agent.", |
| 63 | + details: [ |
| 64 | + "Up to four terminal tabs per thread for parallel workflows", |
| 65 | + "Select terminal output and add it directly to your prompt", |
| 66 | + "Track running subprocesses with live activity indicators", |
| 67 | + ], |
| 68 | + accentColor: "violet", |
| 69 | + }, |
| 70 | + { |
| 71 | + id: "plan", |
| 72 | + title: "AI-Generated Plans", |
| 73 | + description: |
| 74 | + "Switch to Plan mode and let the agent outline a structured implementation strategy before writing a single line of code.", |
| 75 | + details: [ |
| 76 | + "Step-by-step plans with status tracking as work progresses", |
| 77 | + "Review, copy, or export plans as Markdown", |
| 78 | + 'Click "Implement Plan" to kick off execution in a new thread', |
| 79 | + ], |
| 80 | + accentColor: "rose", |
| 81 | + }, |
| 82 | + { |
| 83 | + id: "approvals", |
| 84 | + title: "Stay in Control", |
| 85 | + description: |
| 86 | + "You decide what gets executed. The agent asks for your approval before making changes, so nothing happens without your say-so.", |
| 87 | + details: [ |
| 88 | + "Approve, request changes, or cancel any proposed action", |
| 89 | + "Switch between full-access and approval-required modes per thread", |
| 90 | + "Review pending file changes before they're applied", |
| 91 | + ], |
| 92 | + accentColor: "orange", |
| 93 | + }, |
| 94 | + { |
| 95 | + id: "getStarted", |
| 96 | + title: "You're All Set!", |
| 97 | + description: "You're ready to start building. Here are a few shortcuts to help you move fast.", |
| 98 | + details: [ |
| 99 | + "Press Cmd+N (or Ctrl+N) to create a new thread instantly", |
| 100 | + "Use the sidebar to switch between projects and threads", |
| 101 | + "Open Settings to customize models, themes, and keybindings", |
| 102 | + ], |
| 103 | + accentColor: "primary", |
| 104 | + }, |
| 105 | +]; |
0 commit comments