Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(desktop): fix Try It step UI overflow and missing chat input
Jiayuan Zhang5c5bf46a9532
diff --git a/apps/desktop/src/renderer/src/components/onboarding/sample-prompt.tsx b/apps/desktop/src/renderer/src/components/onboarding/sample-prompt.tsxindex 0849879ed6..25676ddde8 100644--- a/apps/desktop/src/renderer/src/components/onboarding/sample-prompt.tsx+++ b/apps/desktop/src/renderer/src/components/onboarding/sample-prompt.tsx@@ -13,7 +13,7 @@ export function SamplePrompt({ title, prompt, onClick }: SamplePromptProps) {onClick={onClick}className="w-full text-left p-4 rounded-xl border border-border bg-card hover:bg-accent/50 transition-colors group flex items-center justify-between">- <div className="space-y-0.5 pr-4">+ <div className="space-y-0.5 pr-4 min-w-0"><p className="font-medium text-sm">{title}</p><p className="text-xs text-muted-foreground truncate">{prompt}</p></div>diff --git a/apps/desktop/src/renderer/src/pages/onboarding/try-it.tsx b/apps/desktop/src/renderer/src/pages/onboarding/try-it.tsxindex 5bc3933cb8..a47af389ab 100644--- a/apps/desktop/src/renderer/src/pages/onboarding/try-it.tsx+++ b/apps/desktop/src/renderer/src/pages/onboarding/try-it.tsx@@ -54,8 +54,6 @@ export default function TryItStep() {navigate('/onboarding/connect')}- const hasMessages = messages.length > 0-return (<div className="h-full flex">{/* Left column — prompts */}@@ -109,19 +107,7 @@ export default function TryItStep() {<Loading />Initializing agent...</div>- ) : !hasMessages && !isLoading ? (- <div className="flex-1 flex items-center justify-center px-12">- <div className="max-w-sm text-center space-y-3">- <h3 className="text-lg font-medium">Agent ready</h3>- <p className="text-sm text-muted-foreground leading-relaxed">- Click a prompt on the left to start a conversation, or type- your own message below.- </p>- </div>- </div>- ) : null}-- {agentId && (hasMessages || isLoading) && (+ ) : (<ChatViewmessages={messages}streamingIds={streamingIds}