import { JIRA_URL } from "../constants.ts"; import type { ProblemItem, Problems } from "../types.ts"; export const problemCount = (p: Problems) => p.dates.length + p.unassigned.length + p.late.length; const K = ({ k }: { k: string }) => {k}; function Section({ title, list }: { title: string; list: ProblemItem[] }) { if (!list.length) return null; return ( <>

{title} ({list.length})

); } export function ProblemsDrawer({ problems, onClose }: { problems: Problems; onClose(): void }) { return ( ); }