Tag options

This commit is contained in:
2025-11-10 22:56:34 +01:00
parent f0c9c89298
commit 9c5c284a42
12 changed files with 1981 additions and 15 deletions
+4
View File
@@ -6,6 +6,7 @@ import { DragDropContext, Droppable, Draggable } from "@hello-pangea/dnd";
import { PlusIcon } from "lucide-react";
import { SetState, Task } from "@/lib/types";
import BoardTask from "./Task";
import { Color } from "@/lib/ui/color";
const columnLabels: Record<string, string> = {
todo: "To do",
@@ -14,10 +15,12 @@ const columnLabels: Record<string, string> = {
};
export default function BoardView({
tags,
tasks,
setTasks,
createTask,
}: {
tags: Record<string, { color: Color; name: string }>;
tasks: Task[];
setTasks: SetState<Task[]>;
createTask: (status: string) => void;
@@ -93,6 +96,7 @@ export default function BoardView({
}
provided={provided}
task={task}
tags={tags}
/>
)}
</Draggable>