Skip to content

Commit d091441

Browse files
authored
feat(logs): add copy link and deep-link support for log entries (#3863)
* feat(logs): add copy link and deep link support for log entries * fix(logs): move Link icon to emcn and handle clipboard rejections * 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.
1 parent 7d4dd26 commit d091441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/background/workspace-notification-delivery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ function formatCost(cost?: Record<string, unknown>): string {
247247
}
248248

249249
function buildLogUrl(workspaceId: string, executionId: string): string {
250-
return `${getBaseUrl()}/workspace/${workspaceId}/logs?search=${encodeURIComponent(executionId)}`
250+
return `${getBaseUrl()}/workspace/${workspaceId}/logs?executionId=${encodeURIComponent(executionId)}`
251251
}
252252

253253
function formatAlertReason(alertConfig: AlertConfig): string {

0 commit comments

Comments
 (0)