Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ export function LogDetailsContent({ log, onActiveTabChange }: LogDetailsContentP
Version
</span>
<div className='flex w-0 flex-1 justify-end'>
<Badge variant='green' size='md' className='max-w-full truncate'>
<Badge variant='green' size='sm' className='max-w-full truncate'>
{log.deploymentVersionName || `v${log.deploymentVersion}`}
</Badge>
</div>
Expand All @@ -542,16 +542,23 @@ export function LogDetailsContent({ log, onActiveTabChange }: LogDetailsContentP
<span className='font-medium text-[var(--text-tertiary)] text-caption'>
Snapshot
</span>
<Chip
variant='primary'
leftIcon={Eye}
flush
onClick={() => setIsExecutionSnapshotOpen(true)}
>
<Chip leftIcon={Eye} flush onClick={() => setIsExecutionSnapshotOpen(true)}>
View Snapshot
</Chip>
</div>
)}

{/* Troubleshoot */}
{canTroubleshoot && (
<div className='flex h-10 items-center justify-between px-3'>
<span className='font-medium text-[var(--text-tertiary)] text-caption'>
Troubleshoot
</span>
<Chip leftIcon={Wrench} flush onClick={handleTroubleshoot}>
Troubleshoot in Chat
</Chip>
</div>
)}
</div>

{/* Workflow Input */}
Expand Down Expand Up @@ -581,19 +588,6 @@ export function LogDetailsContent({ log, onActiveTabChange }: LogDetailsContentP
</div>
)}

{/* Troubleshoot */}
{canTroubleshoot && (
<Chip
variant='primary'
leftIcon={Wrench}
flush
className='self-start'
onClick={handleTroubleshoot}
>
Troubleshoot in Chat
</Chip>
)}

{/* Files */}
{log.files && log.files.length > 0 && <FileCards files={log.files} isExecutionFile />}

Expand Down
Loading