From 7ab2fee3799a12b418b952fe5ecdb8e8f841a735 Mon Sep 17 00:00:00 2001 From: waleed Date: Wed, 1 Jul 2026 19:42:45 -0700 Subject: [PATCH] fix(logs): right-size and reorganize log-detail action chips MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two concrete regressions from the earlier Chip conversion (#5341): - Both chips used variant='primary' (the solid inverse-fill treatment), the heaviest chrome in the design system, reserved for a single standout action per context (Save, Upgrade, Add key) — never a peer among several row actions. Two solid pills stacked in a narrow side panel read as oversized. Switched both to the bare (default) chip, matching every analogous row action in Settings. - The Version badge was size='md' while its siblings (Level, Trigger) are size='sm' — an inconsistency. Aligned to 'sm'. Also folded the floating 'Troubleshoot in Chat' chip into the Details card as its own row (matching 'Snapshot' exactly) instead of leaving it orphaned below Workflow Output — every row in the card now shares one shape (label left, trailing content right), consistent top to bottom. --- .../components/log-details/log-details.tsx | 34 ++++++++----------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/apps/sim/app/workspace/[workspaceId]/logs/components/log-details/log-details.tsx b/apps/sim/app/workspace/[workspaceId]/logs/components/log-details/log-details.tsx index 945b3835479..3dd9a4a9d87 100644 --- a/apps/sim/app/workspace/[workspaceId]/logs/components/log-details/log-details.tsx +++ b/apps/sim/app/workspace/[workspaceId]/logs/components/log-details/log-details.tsx @@ -529,7 +529,7 @@ export function LogDetailsContent({ log, onActiveTabChange }: LogDetailsContentP Version
- + {log.deploymentVersionName || `v${log.deploymentVersion}`}
@@ -542,16 +542,23 @@ export function LogDetailsContent({ log, onActiveTabChange }: LogDetailsContentP Snapshot - setIsExecutionSnapshotOpen(true)} - > + setIsExecutionSnapshotOpen(true)}> View Snapshot )} + + {/* Troubleshoot */} + {canTroubleshoot && ( +
+ + Troubleshoot + + + Troubleshoot in Chat + +
+ )} {/* Workflow Input */} @@ -581,19 +588,6 @@ export function LogDetailsContent({ log, onActiveTabChange }: LogDetailsContentP )} - {/* Troubleshoot */} - {canTroubleshoot && ( - - Troubleshoot in Chat - - )} - {/* Files */} {log.files && log.files.length > 0 && }