From e4b1b26c1d61854b93c2cc3cba1714df2d7417d5 Mon Sep 17 00:00:00 2001 From: Clawd Date: Sat, 28 Feb 2026 08:11:41 -0800 Subject: Add onboarding screen for first-time users MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Show welcome view when no project is selected - Explain the Research → Plan → Implement workflow - Include ANTHROPIC_API_KEY setup instructions - List getting started steps (add project, create session, describe work) - Explain iteration workflow with Review/Submit buttons - Add CSS styling for onboarding content --- renderer/src/components/DocumentPane.tsx | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'renderer/src/components/DocumentPane.tsx') diff --git a/renderer/src/components/DocumentPane.tsx b/renderer/src/components/DocumentPane.tsx index e44b0fb..a22ecad 100644 --- a/renderer/src/components/DocumentPane.tsx +++ b/renderer/src/components/DocumentPane.tsx @@ -6,6 +6,7 @@ interface DocumentPaneProps { onChange: (content: string) => void; phase: Phase; disabled: boolean; + showOnboarding?: boolean; } function renderMarkdown(md: string): string { @@ -50,10 +51,46 @@ export function DocumentPane({ onChange, phase, disabled, + showOnboarding, }: DocumentPaneProps) { const [isEditing, setIsEditing] = useState(false); const renderedHtml = useMemo(() => renderMarkdown(content), [content]); + if (showOnboarding) { + return ( +
+
+ Welcome to Claude Flow +
+
+

Claude Flow

+

+ A structured workflow for AI-assisted coding: Research → Plan → Implement. +

+ +

Setup

+

Export your Anthropic API key:

+
export ANTHROPIC_API_KEY=your-key-here
+

Get one at platform.claude.com

+ +

Getting Started

+
    +
  1. Add a project — Select a codebase folder
  2. +
  3. Create a session — Start a new task
  4. +
  5. Describe your work — Tell Claude what you want to build
  6. +
+ +

Workflow

+

Research: Claude analyzes your codebase and writes findings to research.md. Add notes like // REVIEW: check this — click Review when done.

+

Plan: Claude drafts an implementation plan in plan.md with code snippets and a TODO list. Iterate the same way.

+

Implement: Claude executes the plan, marking tasks complete as it goes.

+ +

Iterate on research and plan docs as long as you want. Click Submit when happy to move to the next phase.

+
+
+ ); + } + if (phase === "implement") { return (
-- cgit v1.2.3