'use client' /** * `` — single ticket row inside the Help Center list. * * Visual chrome is 1:1 with the delivery list (``) via * the shared `` primitive. The differentiator: the * entire summary row is a ` {isExpanded && (
)} ) } /** Ticket priority → StatusBadge colorScheme. HIGH / URGENT → red, * MEDIUM → yellow, LOW / unknown → default-muted. Kept local because * the central `getStatusColorScheme` is keyed on workflow status, not * severity, and conflating them would mis-render an "OPEN" status as * a low-priority badge or vice-versa. */ function mapPriorityScheme(priority: string): NonNullable { if (priority === 'HIGH' || priority === 'URGENT') return 'error' if (priority === 'MEDIUM') return 'warning' return 'default' }