55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
{
|
|
"task_id": "task_create_component_transaction_history",
|
|
"entity_id": "component_transaction_history",
|
|
"generated_at": "2025-12-18T01:57:52.724666",
|
|
"workflow_version": "v001",
|
|
"target": {
|
|
"type": "component",
|
|
"definition": {
|
|
"id": "component_transaction_history",
|
|
"name": "TransactionHistory",
|
|
"description": "List of points transactions",
|
|
"file_path": "app/components/TransactionHistory.tsx",
|
|
"status": "PENDING",
|
|
"props": {
|
|
"transactions": "Transaction[]"
|
|
},
|
|
"features": [
|
|
"List of transactions with date, amount, source",
|
|
"Color coding (green for earned, red for spent)",
|
|
"Pagination or infinite scroll",
|
|
"Empty state message",
|
|
"Dark theme styling"
|
|
]
|
|
}
|
|
},
|
|
"related": {
|
|
"models": [],
|
|
"apis": [],
|
|
"components": []
|
|
},
|
|
"dependencies": {
|
|
"entity_ids": [],
|
|
"definitions": []
|
|
},
|
|
"files": {
|
|
"to_create": [
|
|
"app/components/TransactionHistory.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"
|
|
}
|
|
]
|
|
} |