import { RiskChip } from './RiskChip.tsx'; import { StatusPill, type Status } from './StatusPill.tsx'; type Props = { status: Status; title: string; meta: string; risk?: 'everyday'; /** 0 to 1. Shown on a working change. */ progress?: number; }; /** One change on the board. A change that needs the owner is outlined in the accent colour and says why. */ export function BoardCard({ status, title, meta, risk, progress }: Props) { return (

{title}

{meta}

{status === 'working' && risk && }
{status === 'working' && progress !== undefined && (
)} {status === 'needs-you' &&

Wursor is waiting for your answer

}
); }