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
Integrate OnboardingWidget into the main Dashboard view #896
Injecting the widget at the top of the layout ensures it's the very first thing a new user sees. We use the custom hook we created to keep the data fetching abstracted from the UI layer.
File: propr-ui/src/components/Dashboard.tsx
--- a/propr-ui/src/components/Dashboard.tsx+++ b/propr-ui/src/components/Dashboard.tsx@@ -3,8 +3,9 @@
import TaskStatsChart from './TaskStatsChart';
import RepositoryBreakdown from './RepositoryBreakdown';
import TopModels from './TopModels';
-import { NewPlanForm, KPICard, transformRepoData, getInitialSelectedRepo, Repo } from './Dashboard/index';+import { NewPlanForm, KPICard, transformRepoData, getInitialSelectedRepo, Repo, OnboardingWidget } from './Dashboard/index';
import TaskList from './TaskList';
+import { useSystemReadiness } from '../hooks/useSystemReadiness';
const Dashboard: React.FC = () => {
const [repos, setRepos] = useState<Repo[]>([]);
@@ -17,6 +18,10 @@
const fileInputRef = useRef<HTMLInputElement>(null);
const navigate = useNavigate();
+ // System readiness for onboarding+ const readiness = useSystemReadiness();+ const needsOnboarding = !readiness.isLoading && (!readiness.hasAgents || !readiness.hasRepos);+
// Expanded state from parent component
const [isPlanFormExpanded, setIsPlanFormExpanded] = useState(false);
@@ -128,6 +133,12 @@
<div className="flex-1 min-w-0 p-6 overflow-y-auto">
<div className="max-w-[1200px] mx-auto">
+ {/* Onboarding Flow for New Users */}+ {needsOnboarding && (+ <OnboardingWidget hasAgents={readiness.hasAgents} hasRepos={readiness.hasRepos} />+ )}+
{/* Create Plan Form - Only expanded if user clicks into it */}
<NewPlanForm
repos={repos}
Activity
propr-dev commentedon Mar 3, 2026
Suggested Implementation:
Implementation Approach
Injecting the widget at the top of the layout ensures it's the very first thing a new user sees. We use the custom hook we created to keep the data fetching abstracted from the UI layer.
File:
propr-ui/src/components/Dashboard.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-20251101896/claude-opus-4-5-20251101-integrate-onboardingwidge-20260303-1219-dzy892-epic-create-usesystemreadiness-xcnissue-896-20260303-1219-claude-opus-4-5-20251101-dzy🔍 Track Task Execution