From b11aed5ba9edff312ab0faecb02569bc99038fbf Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 4 Aug 2023 00:40:17 +0200 Subject: [PATCH] Rename `TaskGroupColumn` to `BoardColumn` --- .../board/[board]/{TaskGroupColumn.tsx => BoardColumn.tsx} | 4 ++-- todoblue/src/app/board/[board]/BoardMainTaskGroups.tsx | 4 ++-- todoblue/src/app/board/[board]/TaskGroupColumn.module.css | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename todoblue/src/app/board/[board]/{TaskGroupColumn.tsx => BoardColumn.tsx} (71%) diff --git a/todoblue/src/app/board/[board]/TaskGroupColumn.tsx b/todoblue/src/app/board/[board]/BoardColumn.tsx similarity index 71% rename from todoblue/src/app/board/[board]/TaskGroupColumn.tsx rename to todoblue/src/app/board/[board]/BoardColumn.tsx index 15d1d84..d8e49f0 100644 --- a/todoblue/src/app/board/[board]/TaskGroupColumn.tsx +++ b/todoblue/src/app/board/[board]/BoardColumn.tsx @@ -3,9 +3,9 @@ import {TaskGroup} from "@/app/board/[board]/useBoardTaskArranger" import style from "./TaskGroupColumn.module.css" -export function TaskGroupColumn({taskGroup}: {taskGroup: TaskGroup}) { +export function BoardColumn({taskGroup}: {taskGroup: TaskGroup}) { return ( -
+

{taskGroup.name}

diff --git a/todoblue/src/app/board/[board]/BoardMainTaskGroups.tsx b/todoblue/src/app/board/[board]/BoardMainTaskGroups.tsx index c7118f3..04b5ec3 100644 --- a/todoblue/src/app/board/[board]/BoardMainTaskGroups.tsx +++ b/todoblue/src/app/board/[board]/BoardMainTaskGroups.tsx @@ -1,4 +1,4 @@ -import {TaskGroupColumn} from "@/app/board/[board]/TaskGroupColumn" +import {BoardColumn} from "@/app/board/[board]/BoardColumn" import {useManagedBoard} from "@/app/board/[board]/BoardManager" import style from "./BoardMainTaskGroups.module.css" @@ -8,7 +8,7 @@ export function BoardMainTaskGroups() { return (
- {taskGroups.map((tg) => )} + {taskGroups.map((tg) => )}
) } diff --git a/todoblue/src/app/board/[board]/TaskGroupColumn.module.css b/todoblue/src/app/board/[board]/TaskGroupColumn.module.css index 51c34df..e2cbb8d 100644 --- a/todoblue/src/app/board/[board]/TaskGroupColumn.module.css +++ b/todoblue/src/app/board/[board]/TaskGroupColumn.module.css @@ -1,4 +1,4 @@ -.taskGroupColumn { +.boardColumn { display: flex; flex-direction: column; gap: 8px;