@@ -312,26 +312,18 @@ export function LogDetailView({ logId, initialLog, onClose, searchTerm }: LogDet
312312
313313function DetailsTab ( { log, runPath, searchTerm } : { log : LogEntry ; runPath : string ; searchTerm ?: string } ) {
314314 const logWithExtras = log as LogEntry & {
315- metadata ?: Record < string , unknown > ;
316315 attributes ?: Record < string , unknown > ;
317316 } ;
318317
319318
320- let metadata : Record < string , unknown > | null = null ;
321- let beautifiedMetadata : string | null = null ;
322319 let beautifiedAttributes : string | null = null ;
323320
324- if ( logWithExtras . metadata ) {
325- beautifiedMetadata = JSON . stringify ( logWithExtras . metadata , null , 2 ) ;
326- beautifiedMetadata = formatStringJSON ( beautifiedMetadata ) ;
327- }
328-
329321 if ( logWithExtras . attributes ) {
330322 beautifiedAttributes = JSON . stringify ( logWithExtras . attributes , null , 2 ) ;
331323 beautifiedAttributes = formatStringJSON ( beautifiedAttributes ) ;
332324 }
333325
334- const showMetadata = beautifiedMetadata && beautifiedMetadata !== "{}" ;
326+ // const showMetadata = beautifiedMetadata && beautifiedMetadata !== "{}";
335327 const showAttributes = beautifiedAttributes && beautifiedAttributes !== "{}" ;
336328
337329 return (
@@ -412,18 +404,6 @@ function DetailsTab({ log, runPath, searchTerm }: { log: LogEntry; runPath: stri
412404 </ Property . Table >
413405 </ div >
414406
415- { /* Metadata - only available in full log detail */ }
416- { showMetadata && beautifiedMetadata && (
417- < div className = "mb-6" >
418- < PacketDisplay
419- data = { beautifiedMetadata }
420- dataType = "application/json"
421- title = "Metadata"
422- searchTerm = { searchTerm }
423- />
424- </ div >
425- ) }
426-
427407 { /* Attributes - only available in full log detail */ }
428408 { showAttributes && beautifiedAttributes && (
429409 < div className = "mb-6" >
@@ -519,7 +499,7 @@ function RunTab({ log, runPath }: { log: LogEntry; runPath: string }) {
519499
520500 { runData . rootRun && (
521501 < Property . Item >
522- < Property . Label > Root run</ Property . Label >
502+ < Property . Label > Root and parent run</ Property . Label >
523503 < Property . Value >
524504 < SimpleTooltip
525505 button = {
@@ -550,39 +530,6 @@ function RunTab({ log, runPath }: { log: LogEntry; runPath: string }) {
550530 </ Property . Item >
551531 ) }
552532
553- { runData . parentRun && (
554- < Property . Item >
555- < Property . Label > Parent run</ Property . Label >
556- < Property . Value >
557- < SimpleTooltip
558- button = {
559- < TextLink
560- to = { v3RunPath ( organization , project , environment , {
561- friendlyId : runData . parentRun . friendlyId ,
562- } ) }
563- className = "group flex flex-wrap items-center gap-x-1 gap-y-0"
564- >
565- < CopyableText
566- value = { runData . parentRun . taskIdentifier }
567- copyValue = { runData . parentRun . taskIdentifier }
568- asChild
569- />
570- < span className = "break-all text-text-dimmed transition-colors group-hover:text-text-bright/80" >
571- < CopyableText
572- value = { runData . parentRun . friendlyId }
573- copyValue = { runData . parentRun . friendlyId }
574- asChild
575- />
576- </ span >
577- </ TextLink >
578- }
579- content = { `Jump to parent run` }
580- disableHoverableContent
581- />
582- </ Property . Value >
583- </ Property . Item >
584- ) }
585-
586533 { runData . batch && (
587534 < Property . Item >
588535 < Property . Label > Batch</ Property . Label >
0 commit comments