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
- Definition: Core Components are **distinct UI elements** or **functional blocks** on the page that have a clear, identifiable role. Each component must include:
Copy file name to clipboardExpand all lines: backend/src/build-system/handlers/ux/sitemap-document/uxsmd.ts
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -46,15 +46,22 @@ export class UXSMDHandler implements BuildHandler<string> {
46
46
},
47
47
{
48
48
role: 'user',
49
-
content: `This is the product requiremnt ${prdContent}`,
49
+
content: `
50
+
Here is the Product Requirements Document (PRD):
51
+
52
+
${prdContent}
53
+
54
+
Please generate the Full UX Sitemap Document now, focusing on MVP features but ensuring each page (especially Home) has enough detail to be functional.`,
50
55
},
51
56
{
52
-
role: 'assistant',
53
-
content: 'Here is the initial UX Sitemap Document...',
57
+
role: 'user',
58
+
content: `Check if you meet all PRD details, add more pages, and details if needed. Focus on MVP (Minimum Viable Product).`,
54
59
},
55
60
{
56
61
role: 'user',
57
-
content: 'Add more detail about user flows.',
62
+
content: `Please add more detail about the Core Components in each <gen_page>.
63
+
Focus on step-by-step actions the user takes, and any alternative paths mentioned in the PRD.
64
+
Also, expand on how these components interrelate to the page's primary features.`,
0 commit comments