From ecb6d0fa56f09ec382b025763064d6f1e33435ee Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Thu, 2 Jul 2026 17:39:20 -0400 Subject: [PATCH] format --- .../src/components/DebugLogCard.tsx | 64 +++++++++---------- .../src/pages/DebugLogsAll.tsx | 1 - .../src/pages/UserDebugLogs.tsx | 1 - 3 files changed, 32 insertions(+), 34 deletions(-) diff --git a/frontend/apps/artcraft-dashboard/src/components/DebugLogCard.tsx b/frontend/apps/artcraft-dashboard/src/components/DebugLogCard.tsx index 61ab4978db..bfb7cd65d7 100644 --- a/frontend/apps/artcraft-dashboard/src/components/DebugLogCard.tsx +++ b/frontend/apps/artcraft-dashboard/src/components/DebugLogCard.tsx @@ -86,8 +86,6 @@ export interface DebugLogCardProps { log: DebugLog; copiedId: string | null; onCopy: (value: string, id: string) => void; - /** Show a direct link to the event's debug-logs page in the header row. */ - showEventLink?: boolean; /** Start expanded (defaults to true). */ defaultExpanded?: boolean; /** Expand/collapse-all broadcast from the page. */ @@ -98,7 +96,6 @@ export function DebugLogCard({ log, copiedId, onCopy, - showEventLink = false, defaultExpanded = true, expandAll, }: DebugLogCardProps) { @@ -135,48 +132,51 @@ export function DebugLogCard({ {log.maybe_log_level.toUpperCase()} )} - {showEventLink && ( + + {formatDebugLogDateTime(log.created_at)} + + {log.maybe_url && ( + + {log.maybe_url} + + )} + {maybeUser && ( e.stopPropagation()} - > - - {log.event_token} - - - )} - {maybeUser && ( - e.stopPropagation()} > {maybeUser.display_name} - - - logs - )} - - {formatDebugLogDateTime(log.created_at)} - - - #{log.id} + {log.maybe_ip_address && ( + + {log.maybe_ip_address} + + )} + e.stopPropagation()} + > + + {log.event_token} + + + (#{log.id}) + diff --git a/frontend/apps/artcraft-dashboard/src/pages/UserDebugLogs.tsx b/frontend/apps/artcraft-dashboard/src/pages/UserDebugLogs.tsx index fd7d6f94ae..1a85c8c8a0 100644 --- a/frontend/apps/artcraft-dashboard/src/pages/UserDebugLogs.tsx +++ b/frontend/apps/artcraft-dashboard/src/pages/UserDebugLogs.tsx @@ -254,7 +254,6 @@ export function UserDebugLogs() { log={log} copiedId={copiedId} onCopy={copy} - showEventLink defaultExpanded={false} expandAll={expandAll} />