Skip to content

Commit aa4f229

Browse files
committed
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 d65756f commit aa4f229

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)