diff --git a/apps/web/components/workspace/DailyReportPanel.tsx b/apps/web/components/workspace/DailyReportPanel.tsx index 089c8af..39ba275 100644 --- a/apps/web/components/workspace/DailyReportPanel.tsx +++ b/apps/web/components/workspace/DailyReportPanel.tsx @@ -46,22 +46,26 @@ export function DailyReportPanel({ report }: Props) { ) : (
- {report.items.map((item) => ( -
-
-

{item.workContent}

- - {formatWorkHoursShort(item.hours)} - + {report.items.map((item) => { + const contextLabel = [item.productName, item.projectName, item.versionName].filter(Boolean).join(' / '); + + return ( +
+
+

{item.workContent}

+ + {formatWorkHoursShort(item.hours)} + +
+

{item.taskTitle}

+ {contextLabel && ( +

+ {contextLabel} +

+ )}
-

{item.taskTitle}

- {(item.productName || item.projectName || item.versionName) && ( -

- {[item.productName, item.projectName, item.versionName].filter(Boolean).join(' / ')} -

- )} -
- ))} + ); + })}
)}