'use client'; /* WorkerStatusRow — phase 03 (DASH-03). * * Compact 3-cell read-only status row showing analyzer worker, RMM worker, * and backup success rate. Each cell is a next/link to the corresponding * desktop admin page. status='ok' = emerald dot, 'warn' = amber, 'down' = * destructive. */ import Link from 'next/link'; import { ExternalLink } from 'lucide-react'; export type WorkerStatus = 'ok' | 'warn' | 'down'; export interface WorkerStatusEntry { id: string; label: string; value: string; status: WorkerStatus; href: string; } interface WorkerStatusRowProps { entries: WorkerStatusEntry[]; } const DOT_COLOR: Record = { ok: 'bg-emerald-500', warn: 'bg-amber-500', down: 'bg-destructive', }; export function WorkerStatusRow({ entries }: WorkerStatusRowProps) { return (

Workers & backups

{entries.map(e => (
); }