57 lines
1.4 KiB
YAML
57 lines
1.4 KiB
YAML
{
|
|
"task_id": "task_create_component_quiz_question",
|
|
"entity_id": "component_quiz_question",
|
|
"generated_at": "2025-12-18T01:57:52.724372",
|
|
"workflow_version": "v001",
|
|
"target": {
|
|
"type": "component",
|
|
"definition": {
|
|
"id": "component_quiz_question",
|
|
"name": "QuizQuestion",
|
|
"description": "Quiz question with multiple choice",
|
|
"file_path": "app/components/QuizQuestion.tsx",
|
|
"status": "PENDING",
|
|
"props": {
|
|
"question": "string",
|
|
"options": "string[]",
|
|
"onAnswer": "(answer: string) => void",
|
|
"selectedAnswer": "string | null"
|
|
},
|
|
"features": [
|
|
"Question text display",
|
|
"Radio button options",
|
|
"Highlight selected answer",
|
|
"Dark theme styling"
|
|
]
|
|
}
|
|
},
|
|
"related": {
|
|
"models": [],
|
|
"apis": [],
|
|
"components": []
|
|
},
|
|
"dependencies": {
|
|
"entity_ids": [],
|
|
"definitions": []
|
|
},
|
|
"files": {
|
|
"to_create": [
|
|
"app/components/QuizQuestion.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"
|
|
}
|
|
]
|
|
} |