"use client"; import type { ForeshadowView } from "@/lib/api/types"; import type { ForeshadowStatus } from "@/lib/foreshadow/board"; import { ForeshadowCard } from "./ForeshadowCard"; interface KanbanColumnProps { status: ForeshadowStatus; items: ForeshadowView[]; busy: boolean; onTransition: ( code: string, toStatus: ForeshadowStatus | null, progressNote: string, ) => void; } // 单个状态泳道(UX §6.8)。OVERDUE 列整列琥珀强调(表头 + 卡片)。 export function KanbanColumn({ status, items, busy, onTransition, }: KanbanColumnProps) { const overdue = status === "OVERDUE"; return (
{overdue ? "⚠ " : ""} {status} {items.length}
); }