/* ActiveEngineers — top engineers today by hours logged.
*
* Compact list: name + ticket count + hours bar. Sorted by hours
* desc upstream. Empty when no time has been logged yet today. */
'use client';
import { Activity } from 'lucide-react';
import { EmptyState } from '@/components/ui/empty-state';
interface Engineer {
resourceId: string;
name: string;
hours: number;
ticketsTouched: number;
}
interface ActiveEngineersProps {
data: Engineer[];
}
export function ActiveEngineers({ data }: ActiveEngineersProps) {
if (data.length === 0) {
return (