ui: add tooltip to Working Directory field in onboarding wizard
Adds a question mark hint icon next to the "Working directory" label explaining that users should create a dedicated folder for their agents. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -20,6 +20,7 @@ import { getUIAdapter } from "../adapters";
|
|||||||
import { defaultCreateValues } from "./agent-config-defaults";
|
import { defaultCreateValues } from "./agent-config-defaults";
|
||||||
import { AsciiArtAnimation } from "./AsciiArtAnimation";
|
import { AsciiArtAnimation } from "./AsciiArtAnimation";
|
||||||
import { ChoosePathButton } from "./PathInstructionsModal";
|
import { ChoosePathButton } from "./PathInstructionsModal";
|
||||||
|
import { HintIcon } from "./agent-config-primitives";
|
||||||
import {
|
import {
|
||||||
Building2,
|
Building2,
|
||||||
Bot,
|
Bot,
|
||||||
@@ -437,9 +438,12 @@ export function OnboardingWizard() {
|
|||||||
{(adapterType === "claude_local" || adapterType === "codex_local") && (
|
{(adapterType === "claude_local" || adapterType === "codex_local") && (
|
||||||
<div className="space-y-3">
|
<div className="space-y-3">
|
||||||
<div>
|
<div>
|
||||||
<label className="text-xs text-muted-foreground mb-1 block">
|
<div className="flex items-center gap-1.5 mb-1">
|
||||||
|
<label className="text-xs text-muted-foreground">
|
||||||
Working directory
|
Working directory
|
||||||
</label>
|
</label>
|
||||||
|
<HintIcon text="Paperclip works best if you create a new folder for your agents to keep their memories and stay organized. Create a new folder and put the path here." />
|
||||||
|
</div>
|
||||||
<div className="flex items-center gap-2 rounded-md border border-border px-2.5 py-1.5">
|
<div className="flex items-center gap-2 rounded-md border border-border px-2.5 py-1.5">
|
||||||
<FolderOpen className="h-3.5 w-3.5 text-muted-foreground shrink-0" />
|
<FolderOpen className="h-3.5 w-3.5 text-muted-foreground shrink-0" />
|
||||||
<input
|
<input
|
||||||
|
|||||||
Reference in New Issue
Block a user