You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create OnboardingWidget component for Dashboard #894
We build a composite widget that sequences the setup tasks. By managing the status dynamically (calculating 'active' vs 'pending' based on the completion of prior steps), we naturally guide the user through a linear setup process without overwhelming them.
importReactfrom'react';import{useNavigate}from'react-router-dom';import{OnboardingStep,StepStatus}from'./OnboardingStep';import{Sparkles}from'lucide-react';exportinterfaceOnboardingWidgetProps{hasAgents: boolean;hasRepos: boolean;}exportconstOnboardingWidget: React.FC<OnboardingWidgetProps>=({ hasAgents, hasRepos })=>{constnavigate=useNavigate();// Determine the status of each step strictly based on dependenciesconstgetAgentStatus=(): StepStatus=>hasAgents ? 'completed' : 'active';constgetRepoStatus=(): StepStatus=>{if(hasRepos)return'completed';if(hasAgents)return'active';// Only active if the previous step is donereturn'pending';};// Do not render if the user has completed onboardingif(hasAgents&&hasRepos){returnnull;}return(<divclassName="bg-white border border-indigo-100 rounded-xl p-6 mb-8 shadow-sm"><divclassName="flex items-center gap-3 mb-6"><divclassName="w-10 h-10 rounded-lg bg-indigo-100 flex items-center justify-center text-indigo-600 shadow-sm"><Sparklessize={20}/></div><div><h2className="text-xl font-bold text-gray-900">WelcometoProPR!</h2><pclassName="text-sm text-gray-500 mt-0.5">CompletethesequickstepstosetupyourAIautomationworkspace.</p></div></div><divclassName="grid grid-cols-1 lg:grid-cols-2 gap-4"><OnboardingStepnumber={1}title="Configure an AI Agent"description="Connect an AI model (like Claude, Gemini, or Codex) to serve as your automated developer engine."status={getAgentStatus()}ctaText="Add AI Agent"onCtaClick={()=>navigate('/settings/agents')}/><OnboardingStep
number={2}title="Add a Repository"description="Select a GitHub repository for the AI to monitor, allowing it to plan and create pull requests."status={getRepoStatus()}
ctaText="Add Repository"onCtaClick={()=>navigate('/repositories')}/></div></div>);};
Activity
propr-dev commentedon Mar 3, 2026
Suggested Implementation:
Implementation Approach
We build a composite widget that sequences the setup tasks. By managing the status dynamically (calculating 'active' vs 'pending' based on the completion of prior steps), we naturally guide the user through a linear setup process without overwhelming them.
File:
propr-ui/src/components/Dashboard/OnboardingWidget.tsxpropr-dev commentedon Mar 3, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-4-5-20251101 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-4-5-20251101894/claude-opus-4-5-20251101-create-onboardingwidget-c-20260303-1212-g97892-epic-create-usesystemreadiness-xcnissue-894-20260303-1212-claude-opus-4-5-20251101-g97🔍 Track Task Execution
Implementation Summary
Implementation Summary