feat(ticket): redesign audit timeline with structured history events

This commit is contained in:
2026-07-01 22:23:49 +05:30
parent 1a94ff80e6
commit c73ba0a01f
13 changed files with 390 additions and 243 deletions

8
src/utils/person.ts Normal file
View File

@@ -0,0 +1,8 @@
import type { TicketActor } from '@/types';
export function getPersonLabel(
person: TicketActor | null | undefined,
fallback = 'Unknown',
) {
return person?.name || person?.email || fallback;
}