diff --git a/ui/src/components/NewProjectDialog.tsx b/ui/src/components/NewProjectDialog.tsx index 1ba5e5d6..b163f3dc 100644 --- a/ui/src/components/NewProjectDialog.tsx +++ b/ui/src/components/NewProjectDialog.tsx @@ -31,6 +31,7 @@ import { PROJECT_COLORS } from "@paperclip/shared"; import { cn } from "../lib/utils"; import { MarkdownEditor, type MarkdownEditorRef } from "./MarkdownEditor"; import { StatusBadge } from "./StatusBadge"; +import { ChoosePathButton } from "./PathInstructionsModal"; const projectStatuses = [ { value: "backlog", label: "Backlog" }, @@ -333,12 +334,15 @@ export function NewProjectDialog() { {(workspaceSetup === "local" || workspaceSetup === "both") && (
- setWorkspaceLocalPath(e.target.value)} - placeholder="/absolute/path/to/workspace" - /> +
+ setWorkspaceLocalPath(e.target.value)} + placeholder="/absolute/path/to/workspace" + /> + +
)} {(workspaceSetup === "repo" || workspaceSetup === "both") && ( diff --git a/ui/src/components/OnboardingWizard.tsx b/ui/src/components/OnboardingWizard.tsx index ec6dbfdd..63157618 100644 --- a/ui/src/components/OnboardingWizard.tsx +++ b/ui/src/components/OnboardingWizard.tsx @@ -19,6 +19,7 @@ import { cn } from "../lib/utils"; import { getUIAdapter } from "../adapters"; import { defaultCreateValues } from "./agent-config-defaults"; import { AsciiArtAnimation } from "./AsciiArtAnimation"; +import { ChoosePathButton } from "./PathInstructionsModal"; import { Building2, Bot, @@ -63,7 +64,6 @@ export function OnboardingWizard() { const [command, setCommand] = useState(""); const [args, setArgs] = useState(""); const [url, setUrl] = useState(""); - const [cwdPickerNotice, setCwdPickerNotice] = useState(null); // Step 3 const [taskTitle, setTaskTitle] = useState("Create your CEO HEARTBEAT.md"); @@ -94,7 +94,6 @@ export function OnboardingWizard() { setCommand(""); setArgs(""); setUrl(""); - setCwdPickerNotice(null); setTaskTitle("Create your CEO HEARTBEAT.md"); setTaskDescription("You're the CEO of the company, make sure you have a file agents/ceo/HEARTBEAT.md that tells you your core loop. You MUST use the Paperclip SKILL."); setCreatedCompanyId(null); @@ -415,44 +414,8 @@ export function OnboardingWizard() { value={cwd} onChange={(e) => setCwd(e.target.value)} /> - + - {cwdPickerNotice && ( -

{cwdPickerNotice}

- )}
{workspaceMode === "local" && (
- setWorkspaceCwd(e.target.value)} - placeholder="/absolute/path/to/workspace" - /> +
+ setWorkspaceCwd(e.target.value)} + placeholder="/absolute/path/to/workspace" + /> + +