import { ArrowRight, CheckCircle, Clock, Heartbeat, Warning, } from "../ui/icons"; import type { SectionId, StandupReport } from "@shared/types"; import { getAgentInitials } from "../../lib/formatters"; import { useT } from "../../i18n"; import { Card, Eyebrow } from "../ui"; interface StandupProps { report: StandupReport | null; onNavigate: (section: SectionId, entityId?: string) => void; } export function StandupView({ report, onNavigate }: StandupProps) { const t = useT(); if (!report) { return (
{t("standup.noData")}
{t("standup.noDataDesc")}
); } return (

{t("standup.dailyStandup")}

{t("standup.generatedAt").replace("{time}", new Date(report.generatedAt).toLocaleString())}

{report.summary}
{report.agentReports.filter(r => r.tasksCompleted24h > 0).length}
{t("standup.productive")}
{report.blockers.length}
{t("standup.blockers")}
{report.pendingApprovals}
{t("standup.pendingApprovals")}
80 ? "text-destructive" : "text-foreground"}`}> {report.budgetUtilization}%
{t("standup.budgetUsed")}
{report.companyHighlights.length > 0 ? (
{t("standup.highlights")}
{report.companyHighlights.map((h, i) => (
{h}
))}
) : null} {report.blockers.length > 0 ? (
{t("standup.blockers")}
{report.blockers.map((b, i) => (
{b}
))}
) : null}
{t("standup.agentStatus")}
{report.agentReports.map((ar) => ( ))}
); }