Skip to content

[P0] Create PRD process doesn't update screen when creating document nor when finished #192

Description

@frankbria

After the user finishes answering questions in the Discovery Phase, the agent then begins to create the PRD. The Discovery Progress section correctly switches to:
Generating Project Requirements Document...
Starting
0%
The Lead Agent is analyzing your answers and creating a detailed PRD
with a spinner indicating things are happening. But it also has a progress bar that stays at 0%. And there's no visual indication that the document is done.

When the user randomly clicks on View PRD - after waiting some time - the document appears in a pop up window. However, the Generating Project Requirements Document... is still displaying with a spinner at 0% and never stops.

Expected Behavior:
When the user finishes answering questions in the Discovery Phase, the agent begins to create the PRD. The Discovery Progress section switches to: Generating Project Requirements Document... And the section starts at 0%. As progress is made, the progress bar updates gradually to 100% and the box updates with Finished Generating Document and the View PRD button turns dark. (It should be grayed out before). The spinner should also stop when the documents are done.

The section should simply now be a small section on the page (to take focus to the next stage) and the user should be able to view the documents anytime with the View PRD button.

The process should then move onto Task Creation in the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0-blocker-betaCritical blocker - must fix before beta testingbugSomething isn't workingux

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions