Add debugging logs to BacklogView

This commit is contained in:
OpenClaw Bot 2026-02-19 20:16:45 -06:00
parent 67c6b83a78
commit c0ca8721e8
2 changed files with 6 additions and 11 deletions

View File

@ -56,18 +56,12 @@
{
"id": "2",
"title": "MoodWeave App Idea",
"description": "Social mood tracking with woven visualizations",
"type": "idea",
"sprintId": "1771551323429",
"projectId": "1",
"status": "backlog",
"priority": "medium",
"projectId": "1",
"createdAt": "2026-02-18T17:01:23.109Z",
"updatedAt": "2026-02-18T17:01:23.109Z",
"comments": [],
"tags": [
"ios",
"social"
]
"type": "idea",
"updatedAt": "2026-02-20T02:15:46.591Z"
},
{
"id": "3",
@ -456,7 +450,7 @@
"updatedAt": "2026-02-20T01:52:57.259Z"
}
],
"lastUpdated": 1771552377259,
"lastUpdated": 1771553746591,
"sprints": [
{
"name": "Sprint 1",

View File

@ -312,6 +312,7 @@ export function BacklogView() {
.sort((a, b) => new Date(a.startDate).getTime() - new Date(b.startDate).getTime())
.map((sprint) => {
const sprintTasks = tasks.filter((t) => t.sprintId === sprint.id)
console.log(`Sprint ${sprint.name}: ${sprintTasks.length} tasks`, sprintTasks.map(t => t.title))
return (
<div key={sprint.id} id={`sprint-${sprint.id}`}>
<TaskSection