'use client'; import { AlertTriangle, CalendarDays, ClipboardList, Clock3 } from 'lucide-react'; import { WORK_ACTIVITY_CATEGORY_LABEL, type WorkActivityCategory } from '@/lib/work-activity'; import type { WorkspaceDailyReport } from '@/lib/workspace-daily-report'; import { formatDateTimeShort } from '@/lib/format'; import { formatWorkHours, formatWorkHoursShort } from '@/lib/work-hours'; interface Props { report: WorkspaceDailyReport; } export function DailyReportPanel({ report }: Props) { const groupOrder: WorkActivityCategory[] = ['delivery', 'progress', 'creation', 'risk', 'note']; const hasActivities = groupOrder.some((key) => report.groups[key].length > 0); const hasLegacyWorklogs = report.items.length > 0; const hasNeedsProgress = report.needsProgressItems.length > 0; return ( ); }