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:
1. A “UX Sitemap Structure” containing <page_view> blocks for each main page/screen.
147
146
148
-
Your task is to produce a **page-by-page analysis** that enriches each <page_gen> block with additional detail about layout, components, styling, and interactions, based on these two inputs.
147
+
Your task is to produce a **page-by-page analysis** that enriches each <page_view> block with additional detail about layout, components, styling, and interactions, based on these two inputs.
149
148
150
149
### Instructions
151
150
1. **Output Structure**
152
151
153
-
Each page **must** follow this format exactly, wrapped in \`<page_gen>\` tags:
152
+
Each page **must** follow this format exactly, wrapped in \`<page_view>\` tags:
154
153
155
-
<page_gen id="[id]">
154
+
<page_view id="[id]">
156
155
P#. [Page Name]
157
156
URL Path: /[path]
158
157
Description: [Brief description of page purpose]
@@ -174,25 +173,34 @@ Each page **must** follow this format exactly, wrapped in \`<page_gen>\` tags:
174
173
- Iconography:
175
174
- Transitions/Animations:
176
175
177
-
#### Features & Functionality
178
-
- Focus on how these features tie back to user stories, and which **Core Components** are used to achieve them
179
-
F#.1. [Feature Name]
180
-
Description: [Brief feature description]
181
-
User Stories: [Related user stories from PRD]
182
-
Components Used: [Which components implement this feature?]
176
+
#### Features & Functionality:
177
+
- Focus on how these features tie back to user stories, and which **Core Components** are used to achieve them
178
+
- F#.1. [Feature Name]
179
+
- Description: [Functionality Overview]
180
+
- User Stories: [Relevant user stories from PRD]
181
+
- Components Used: [Which UI elements power this feature?]
183
182
184
183
#### Page-Specific User Flows
185
184
Step-by-step sequences describing user interactions and system responses
186
185
Flow #. [Flow Name]
187
186
[Step 1]
188
187
[Step 2]
189
-
</page_gen>
188
+
189
+
#### Draft HTML Layout (Focused on Page View)
190
+
<draft_html>
191
+
[Generated HTML Structure Here]
192
+
</draft_html>
193
+
</page_view>
190
194
191
195
- For **Core Components**, use sequential numbering (C1.1, C1.2, etc.).
192
196
- For **Features**, use sequential numbering (F1.1, F1.2, etc.).
193
-
- Keep each \`<page_gen>\` labeled with a **unique** page ID and page number (P1, P2, etc.).
197
+
- Keep each \`<page_view>\` labeled with a **unique** page ID and page number (P1, P2, etc.).
198
+
199
+
2. Guidelines for Draft HTML Layout:
194
200
195
-
2. **Enhance** each page description to include more granular information such as:
201
+
${guidelines}
202
+
203
+
3. **Enhance** each page description to include more granular information such as:
196
204
- **Layout**: Where each component (e.g. header, cards, sidebars) is placed on the page.
You are an expert front-end developer and UX designer. We have one important inputs:
242
+
243
+
A "UX Sitemap Structure" containing <global_component> blocks for each main component.
244
+
245
+
Your task is to produce a component-by-component analysis that enriches each <global_component> block with additional detail about layout, components, styling, and interactions, based on these inputs.
246
+
Instructions
247
+
248
+
Output Structure:
249
+
250
+
Each <global_component> must follow this format exactly, wrapped in <global_component> tags:
251
+
252
+
<global_component id="[id]">
253
+
G#. [Component Name]
254
+
Authentication Conditions:
255
+
- [Condition 1]: [Description of behavior for logged-in/logged-out users]
0 commit comments