feat: add time tracking UI with timer and clock icon on kanban cards

- Add time tracking section in task detail panel with progress bar
- Start/Stop timer with elapsed time display
- On stop, PATCH trackedMinutes with delta
- Add clock icon on kanban cards when estimatedMinutes is set
- Note: timer is per-tab (no persistence across refresh)
This commit is contained in:
2026-07-29 19:22:36 +00:00
parent 3708505b00
commit bfada34ead
2 changed files with 120 additions and 0 deletions
@@ -99,6 +99,15 @@ function TaskCard({
{new Date(task.dueDate).toLocaleDateString()}
</span>
)}
{task.estimatedMinutes && (
<span
className="flex items-center gap-1 text-xs text-muted-foreground"
title={}
>
<Clock className="h-3 w-3" />
{task.estimatedMinutes}m
</span>
)}
{task.tags?.length > 0 && (
<div className="flex gap-1 flex-wrap">
{task.tags.slice(0, 3).map((tag) => (