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.
This commit is contained in:
Waleed
2026-03-30 21:17:58 -07:00
committed by GitHub
parent 7d4dd26760
commit d091441e39

View File

@@ -247,7 +247,7 @@ function formatCost(cost?: Record<string, unknown>): 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 {