diff --git a/apps/desktop/src/renderer/src/pages/onboarding/components/try-it-step.tsx b/apps/desktop/src/renderer/src/pages/onboarding/components/try-it-step.tsx
index e6d43b69..4435991a 100644
--- a/apps/desktop/src/renderer/src/pages/onboarding/components/try-it-step.tsx
+++ b/apps/desktop/src/renderer/src/pages/onboarding/components/try-it-step.tsx
@@ -1,27 +1,34 @@
+import { useNavigate } from 'react-router-dom'
import { Button } from '@multica/ui/components/ui/button'
-import { Loading } from '@multica/ui/components/ui/loading'
-import { ChatView } from '@multica/ui/components/chat-view'
+import { Separator } from '@multica/ui/components/ui/separator'
import { HugeiconsIcon } from '@hugeicons/react'
-import { ArrowLeft02Icon } from '@hugeicons/core-free-icons'
-import { SamplePrompt } from '../../../components/onboarding/sample-prompt'
+import {
+ ArrowLeft02Icon,
+ ArrowRight01Icon,
+ Search01Icon,
+ FolderOpenIcon,
+ CommandLineIcon,
+} from '@hugeicons/core-free-icons'
import { StepDots } from './step-dots'
-import { useLocalChat } from '../../../hooks/use-local-chat'
-const samplePrompts = [
+const tryPrompts = [
{
- title: 'Latest AI news',
- prompt:
- "Search the web for today's top AI news and give me a 3-bullet summary with sources.",
+ icon: Search01Icon,
+ title: 'Search the web',
+ description: "Get today's AI news",
+ prompt: "Search the web for today's top AI news and give me a 3-bullet summary with sources.",
},
{
- title: 'Analyze this project',
- prompt:
- 'Look at the files in my current directory and give me a brief summary of what this project is about.',
+ icon: FolderOpenIcon,
+ title: 'Read your files',
+ description: 'Summarize this directory',
+ prompt: 'Look at the files in my current directory and give me a brief summary of what this project is about.',
},
{
- title: 'Quick task',
- prompt:
- 'Write a one-liner shell command that shows my system info (OS, CPU cores, memory) and run it.',
+ icon: CommandLineIcon,
+ title: 'Run a command',
+ description: 'Show system info',
+ prompt: 'Write a one-liner shell command that shows my system info (OS, CPU cores, memory) and run it.',
},
]
@@ -31,91 +38,81 @@ interface TryItStepProps {
}
export default function TryItStep({ onComplete, onBack }: TryItStepProps) {
- const {
- agentId,
- initError,
- messages,
- streamingIds,
- isLoading,
- isLoadingHistory,
- isLoadingMore,
- hasMore,
- error,
- pendingApprovals,
- sendMessage,
- loadMore,
- resolveApproval,
- } = useLocalChat()
+ const navigate = useNavigate()
+
+ const handlePromptClick = (prompt: string) => {
+ console.log('[TryItStep] Selected prompt:', prompt)
+ // TODO: Pass prompt to chat page
+ onComplete()
+ navigate('/chat')
+ }
return (
-
- {/* Left column — prompts */}
-
-
-
+
+
+ {/* Back button */}
+
-
-
- Try it out
-
-
- Your agent can search the web, read files, and run commands.
- Click a prompt to see it in action.
-
-
+ {/* Header */}
+
+
+ You're all set 🎉
+
+
+ Your agent is ready to help. Try a sample task, or dive right in.
+