mirror of
https://github.com/BradGroux/veritas-kanban.git
synced 2026-10-05 19:27:50 +00:00
style(activity): Status history task title color matches status
- working/thinking → green - sub-agent → blue - error → red - idle → gray
This commit is contained in:
parent
d6518f66db
commit
74ca2decbe
1 changed files with 9 additions and 1 deletions
|
|
@ -596,7 +596,15 @@ function StatusHistoryPanel({ onTaskClick }: StatusHistoryPanelProps) {
|
|||
<span
|
||||
className={cn(
|
||||
'text-sm truncate flex-1',
|
||||
entry.taskId && onTaskClick && 'text-primary hover:underline'
|
||||
entry.taskId && onTaskClick && 'hover:underline',
|
||||
// Color based on newStatus
|
||||
entry.newStatus === 'working' || entry.newStatus === 'thinking'
|
||||
? 'text-green-500'
|
||||
: entry.newStatus === 'sub-agent'
|
||||
? 'text-blue-500'
|
||||
: entry.newStatus === 'error'
|
||||
? 'text-red-500'
|
||||
: 'text-gray-500'
|
||||
)}
|
||||
title={entry.taskTitle || 'No task'}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue