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:
@@ -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) => (
|
||||
|
||||
Reference in New Issue
Block a user