58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
{
|
|
"task_id": "task_create_component_task_card",
|
|
"entity_id": "component_task_card",
|
|
"generated_at": "2025-12-18T01:57:52.724228",
|
|
"workflow_version": "v001",
|
|
"target": {
|
|
"type": "component",
|
|
"definition": {
|
|
"id": "component_task_card",
|
|
"name": "TaskCard",
|
|
"description": "Display a single task",
|
|
"file_path": "app/components/TaskCard.tsx",
|
|
"status": "PENDING",
|
|
"props": {
|
|
"task": "Task object",
|
|
"onComplete": "() => void",
|
|
"isCompleted": "boolean"
|
|
},
|
|
"features": [
|
|
"Task title and description",
|
|
"Points reward badge",
|
|
"Task type icon",
|
|
"Completion status",
|
|
"Complete button",
|
|
"Dark theme card styling"
|
|
]
|
|
}
|
|
},
|
|
"related": {
|
|
"models": [],
|
|
"apis": [],
|
|
"components": []
|
|
},
|
|
"dependencies": {
|
|
"entity_ids": [],
|
|
"definitions": []
|
|
},
|
|
"files": {
|
|
"to_create": [
|
|
"app/components/TaskCard.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"
|
|
}
|
|
]
|
|
} |