mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user