55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
{
|
|
"task_id": "task_create_component_points_display",
|
|
"entity_id": "component_points_display",
|
|
"generated_at": "2025-12-18T01:57:52.724158",
|
|
"workflow_version": "v001",
|
|
"target": {
|
|
"type": "component",
|
|
"definition": {
|
|
"id": "component_points_display",
|
|
"name": "PointsDisplay",
|
|
"description": "Display current points balance",
|
|
"file_path": "app/components/PointsDisplay.tsx",
|
|
"status": "PENDING",
|
|
"props": {
|
|
"balance": "number",
|
|
"showAnimation": "boolean (optional)"
|
|
},
|
|
"features": [
|
|
"Large points number display",
|
|
"Coin/points icon",
|
|
"Optional animation on change",
|
|
"Dark theme styling"
|
|
]
|
|
}
|
|
},
|
|
"related": {
|
|
"models": [],
|
|
"apis": [],
|
|
"components": []
|
|
},
|
|
"dependencies": {
|
|
"entity_ids": [],
|
|
"definitions": []
|
|
},
|
|
"files": {
|
|
"to_create": [
|
|
"app/components/PointsDisplay.tsx"
|
|
],
|
|
"reference": []
|
|
},
|
|
"acceptance": [
|
|
{
|
|
"criterion": "Component renders without errors",
|
|
"verification": "Import and render in test"
|
|
},
|
|
{
|
|
"criterion": "Props are typed correctly",
|
|
"verification": "TypeScript compilation"
|
|
},
|
|
{
|
|
"criterion": "Events fire correctly",
|
|
"verification": "Test event handlers"
|
|
}
|
|
]
|
|
} |