fix: map Non-Functional Reqs to features_scope phase, remove circular 'Generated when PRD finalized' hint

Made-with: Cursor
This commit is contained in:
2026-03-17 17:15:26 -07:00
parent 062e836ff9
commit 8eb6c149cb
3 changed files with 4 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ const PRD_SECTIONS: { label: string; phase: string | null }[] = [
{ label: "Screen Specs", phase: "features_scope" },
{ label: "Business Model", phase: "business_model" },
{ label: "Integrations & Dependencies", phase: "screens_data" },
{ label: "Non-Functional Reqs", phase: null }, // generated at PRD finalization
{ label: "Non-Functional Reqs", phase: "features_scope" },
{ label: "Risks & Mitigations", phase: "risks_questions" },
{ label: "Open Questions", phase: "risks_questions" },
];
@@ -242,10 +242,7 @@ export function FreshIdeaMain({ projectId, projectName }: FreshIdeaMainProps) {
</div>
{!isDone && (
<div style={{ fontSize: "0.65rem", color: "#a09a90", marginTop: 2, lineHeight: 1.3 }}>
{phase === null
? "Generated when PRD is finalized"
: "Complete this phase in Vibn"
}
Complete this phase in Vibn
</div>
)}
</div>