From 062e836ff90702d271957c6d2f75d452003d707d Mon Sep 17 00:00:00 2001 From: Mark Henderson Date: Tue, 17 Mar 2026 17:10:06 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20always=20show=20chat=20on=20Vibn=20tab?= =?UTF-8?q?=20=E2=80=94=20swap=20empty=20'done'=20state=20for=20thin=20PRD?= =?UTF-8?q?-ready=20notice=20bar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Made-with: Cursor --- components/project-main/FreshIdeaMain.tsx | 87 ++++++++--------------- 1 file changed, 29 insertions(+), 58 deletions(-) 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.