Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
/** Display name for a user row: name, then first/last, then email. */
export function personName(
person: {
name: string | null;
firstName: string | null;
lastName: string | null;
email: string | null;
} | null,
): string | null {
if (!person) return null;
const full = [person.firstName, person.lastName].filter(Boolean).join(" ");
return person.name || full || person.email || null;
}