From afc8f1530824020482854f7b39ce498c3b0e947f Mon Sep 17 00:00:00 2001 From: waleed Date: Mon, 30 Mar 2026 17:07:21 -0700 Subject: [PATCH 1/3] feat(logs): add copy link and deep link support for log entries --- .../components/log-row-context-menu/log-row-context-menu.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/sim/app/workspace/[workspaceId]/logs/components/log-row-context-menu/log-row-context-menu.tsx b/apps/sim/app/workspace/[workspaceId]/logs/components/log-row-context-menu/log-row-context-menu.tsx index 0a283a401a..a84865f423 100644 --- a/apps/sim/app/workspace/[workspaceId]/logs/components/log-row-context-menu/log-row-context-menu.tsx +++ b/apps/sim/app/workspace/[workspaceId]/logs/components/log-row-context-menu/log-row-context-menu.tsx @@ -1,6 +1,7 @@ 'use client' import { memo } from 'react' +import { Link } from 'lucide-react' import { DropdownMenu, DropdownMenuContent, From d65756f4b56cc004aff5260743cc39345b162eb0 Mon Sep 17 00:00:00 2001 From: waleed Date: Mon, 30 Mar 2026 17:28:05 -0700 Subject: [PATCH 2/3] fix(logs): move Link icon to emcn and handle clipboard rejections --- .../components/log-row-context-menu/log-row-context-menu.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/sim/app/workspace/[workspaceId]/logs/components/log-row-context-menu/log-row-context-menu.tsx b/apps/sim/app/workspace/[workspaceId]/logs/components/log-row-context-menu/log-row-context-menu.tsx index a84865f423..0a283a401a 100644 --- a/apps/sim/app/workspace/[workspaceId]/logs/components/log-row-context-menu/log-row-context-menu.tsx +++ b/apps/sim/app/workspace/[workspaceId]/logs/components/log-row-context-menu/log-row-context-menu.tsx @@ -1,7 +1,6 @@ 'use client' import { memo } from 'react' -import { Link } from 'lucide-react' import { DropdownMenu, DropdownMenuContent, From aa4f229b462e18e1ef53cb6d96e46f338d8b541c Mon Sep 17 00:00:00 2001 From: waleed Date: Mon, 30 Mar 2026 21:04:38 -0700 Subject: [PATCH 3/3] feat(notifications): use executionId deep-link for View Log URLs Switch buildLogUrl from ?search= to ?executionId= so email and Slack 'View Log' buttons open the logs page with the specific execution auto-selected and the details panel expanded. --- apps/sim/background/workspace-notification-delivery.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sim/background/workspace-notification-delivery.ts b/apps/sim/background/workspace-notification-delivery.ts index 41d08f80cb..9e0d7b632a 100644 --- a/apps/sim/background/workspace-notification-delivery.ts +++ b/apps/sim/background/workspace-notification-delivery.ts @@ -247,7 +247,7 @@ function formatCost(cost?: Record): string { } function buildLogUrl(workspaceId: string, executionId: string): string { - return `${getBaseUrl()}/workspace/${workspaceId}/logs?search=${encodeURIComponent(executionId)}` + return `${getBaseUrl()}/workspace/${workspaceId}/logs?executionId=${encodeURIComponent(executionId)}` } function formatAlertReason(alertConfig: AlertConfig): string {