diff --git a/components/project-main/FreshIdeaMain.tsx b/components/project-main/FreshIdeaMain.tsx index a3ee2b9..8971008 100644 --- a/components/project-main/FreshIdeaMain.tsx +++ b/components/project-main/FreshIdeaMain.tsx @@ -83,61 +83,7 @@ export function FreshIdeaMain({ projectId, projectName }: FreshIdeaMainProps) { router.push(`/${workspace}/project/${projectId}/build`); }; - // Once the PRD exists, show a clean "done" state in the main panel. - // The Atlas conversation history lives in the left CooChat sidebar. - if (hasPrd) { - return ( -
-
-
-
-
- Discovery complete -
-
- Your PRD is saved. The full discovery conversation is in the left panel — talk to your COO to plan what to build next. -
-
-
- - View PRD → - - - Go to Build - -
-
-
- ); - } + // PRD exists — show a thin notice bar at the top, then keep the chat fully accessible const completedSections = PRD_SECTIONS.filter(({ phase }) => phase === null ? allDone : savedPhaseIds.has(phase) @@ -149,8 +95,33 @@ export function FreshIdeaMain({ projectId, projectName }: FreshIdeaMainProps) { {/* ── Left: Atlas chat ── */}
- {/* Decision banner — shown when all 6 phases are saved */} - {allDone && !dismissed && ( + + {/* PRD ready notice — replaces the decision banner once PRD is saved */} + {hasPrd && ( +
+
+ ✦ PRD saved — you can keep refining here or view the full document. +
+ + View PRD → + +
+ )} + + {/* Decision banner — shown when all 6 phases are saved but PRD not yet generated */} + {allDone && !dismissed && !hasPrd && (
- ✦ Discovery complete — what's next? + ✦ Discovery complete — what's next?
All 6 phases captured. Generate your PRD or jump into Build.