From 5c1ae6858a063f4cf4ad026c522d5ee344983e9d Mon Sep 17 00:00:00 2001 From: lorentz Date: Fri, 10 Apr 2026 14:40:10 +0000 Subject: [PATCH] =?UTF-8?q?Task=20card=20right=20sidebar:=202-col=20layout?= =?UTF-8?q?=20=E2=80=94=20data=20col=20(due/status/level)=20+=20icon=20col?= =?UTF-8?q?=20(complete/NA/edit)=20+=20full-width=20notes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/app/(dashboard)/tasks/page-client.tsx | 105 +++++++++--------- 1 file changed, 51 insertions(+), 54 deletions(-) diff --git a/ondeck/src/app/(dashboard)/tasks/page-client.tsx b/ondeck/src/app/(dashboard)/tasks/page-client.tsx index 18b3844..14486ec 100644 --- a/ondeck/src/app/(dashboard)/tasks/page-client.tsx +++ b/ondeck/src/app/(dashboard)/tasks/page-client.tsx @@ -224,10 +224,10 @@ function TaskCard({ task: initial }: { task: Task }) { {task.title} + {task.client && ( +

{task.client.name}

+ )}
- {task.client && ( - Client {task.client.name} - )} Policy # {task.policy?.policyNumber || '—'} Type {task.policy?.policyType || '—'} Renewal {task.policy?.expirationDate ? formatRenewalDate(task.policy.expirationDate) : '—'} @@ -239,63 +239,60 @@ function TaskCard({ task: initial }: { task: Task }) { )}
- {/* Right sidebar */} -
- {/* Info: Due / Status / Level */} -
-
- Due - {formatDate(task.dueDate)} -
-
- Status + {/* Right sidebar: 2-col grid */} +
+
+ {/* Left col: Due / Status / Level (data only) */} +
+ + {formatDate(task.dueDate)} + + + {levelLabel} +
-
- Level - {levelLabel} -
-
- {/* Actions: 2×2 grid */} -
- - -
-
- {task.status !== 'COMPLETED' && task.status !== 'NA' && task.status !== 'CANCELLED' ? ( + {/* Right col: Complete / N/A / Edit (icons) */} +
- ) : ( - - )} - + {task.status !== 'COMPLETED' && task.status !== 'NA' && task.status !== 'CANCELLED' && ( + + )} + +
+ {/* Notes: full width bottom */} +