diff --git a/data/tasks.json b/data/tasks.json index 0e8efb0..4430a6a 100644 --- a/data/tasks.json +++ b/data/tasks.json @@ -33,7 +33,7 @@ "projectId": "2", "sprintId": "sprint-1", "createdAt": "2026-02-18T17:01:23.109Z", - "updatedAt": "2026-02-18T17:01:23.109Z", + "updatedAt": "2026-02-20T05:01:04.207Z", "comments": [ { "id": "c1", @@ -57,7 +57,6 @@ { "id": "2", "title": "MoodWeave App Idea - UPDATED", - "sprintId": "1771551323429", "projectId": "1", "status": "backlog", "priority": "high", @@ -69,7 +68,7 @@ "OpenClaw iOS" ], "createdAt": "2026-02-18T17:01:23.109Z", - "updatedAt": "2026-02-20T02:28:23.700Z" + "updatedAt": "2026-02-20T05:02:47.264Z" }, { "id": "3", @@ -323,7 +322,7 @@ "priority": "low", "projectId": "3", "createdAt": "2026-02-18T17:01:23.109Z", - "updatedAt": "2026-02-18T17:01:23.109Z", + "updatedAt": "2026-02-20T05:02:42.002Z", "comments": [ { "id": "c52", @@ -472,7 +471,7 @@ ] } ], - "lastUpdated": 1771556223745, + "lastUpdated": 1771563767290, "sprints": [ { "name": "Sprint 1", @@ -506,4 +505,4 @@ "createdAt": "2026-02-20T01:37:45.241Z" } ] -} +} \ No newline at end of file diff --git a/src/components/BacklogView.tsx b/src/components/BacklogView.tsx index 55df60e..4b73c64 100644 --- a/src/components/BacklogView.tsx +++ b/src/components/BacklogView.tsx @@ -1,12 +1,13 @@ "use client" -import { useState } from "react" +import { useState, type ReactNode } from "react" import { DndContext, DragEndEvent, DragOverlay, DragStartEvent, PointerSensor, + useDroppable, useSensor, useSensors, closestCorners, @@ -17,8 +18,8 @@ import { useSortable, } from "@dnd-kit/sortable" import { CSS } from "@dnd-kit/utilities" -import { useTaskStore, Task, Sprint } from "@/stores/useTaskStore" -import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card" +import { useTaskStore, Task } from "@/stores/useTaskStore" +import { Card, CardContent } from "@/components/ui/card" import { Badge } from "@/components/ui/badge" import { Button } from "@/components/ui/button" import { Plus, GripVertical, ChevronDown, ChevronRight, Calendar } from "lucide-react" @@ -66,13 +67,15 @@ function SortableTaskRow({