diff --git a/ui/.gitignore b/ui/.gitignore
index 40b878d..04c01ba 100644
--- a/ui/.gitignore
+++ b/ui/.gitignore
@@ -1 +1,2 @@
-node_modules/
\ No newline at end of file
+node_modules/
+dist/
\ No newline at end of file
diff --git a/ui/.prettierignore b/ui/.prettierignore
new file mode 100644
index 0000000..b022b85
--- /dev/null
+++ b/ui/.prettierignore
@@ -0,0 +1,12 @@
+# Build artifacts
+dist/
+build/
+
+# Dependencies
+node_modules/
+
+# Coverage
+coverage/
+
+# Generated files
+*.log
diff --git a/ui/src/components/CurrentTaskFooter.tsx b/ui/src/components/CurrentTaskFooter.tsx
index b10b5c2..fddbab7 100644
--- a/ui/src/components/CurrentTaskFooter.tsx
+++ b/ui/src/components/CurrentTaskFooter.tsx
@@ -1,6 +1,6 @@
import { useEffect, useState } from "react";
import { Task, Category } from "@/types/task";
-import { Square } from "lucide-react";
+import { Square, Pause } from "lucide-react";
import { Button } from "@/components/ui/button";
import { formatTimeAsHHmm } from "@/lib/utils";
@@ -8,12 +8,14 @@ interface CurrentTaskFooterProps {
currentTask: Task | null;
categories: Category[];
onTaskTimer: (taskId: string, action: "start" | "stop" | "complete") => void;
+ onPauseTask: (task: Task) => void;
}
export const CurrentTaskFooter = ({
currentTask,
categories,
onTaskTimer,
+ onPauseTask,
}: CurrentTaskFooterProps) => {
const [currentTime, setCurrentTime] = useState(new Date());
const [elapsedTime, setElapsedTime] = useState(0);
@@ -93,6 +95,20 @@ export const CurrentTaskFooter = ({
経過時間
+
+