1- import { ArrowPathIcon , ArrowTopRightOnSquareIcon } from "@heroicons/react/20/solid" ;
1+ import { ArrowPathIcon } from "@heroicons/react/20/solid" ;
2+ import { Link } from "@remix-run/react" ;
23import { formatDurationNanoseconds } from "@trigger.dev/core/v3" ;
34import { type ReactNode , useEffect , useRef } from "react" ;
45import { cn } from "~/utils/cn" ;
@@ -11,6 +12,7 @@ import { v3RunSpanPath } from "~/utils/pathBuilder";
1112import { DateTime } from "../primitives/DateTime" ;
1213import { Paragraph } from "../primitives/Paragraph" ;
1314import { Spinner } from "../primitives/Spinner" ;
15+ import { SimpleTooltip } from "../primitives/Tooltip" ;
1416import {
1517 Table ,
1618 TableBlankRow ,
@@ -208,14 +210,18 @@ export function LogsTable({
208210 < DateTime date = { log . startTime } />
209211 </ TableCell >
210212 < TableCell >
211- < a
212- href = { runPath }
213- className = "flex items-center gap-1 text-blue-500 hover:underline"
214- title = "View run"
215- >
216- < span className = "font-mono text-xs" > { log . runId . slice ( 0 , 12 ) } ...</ span >
217- < ArrowTopRightOnSquareIcon className = "size-3" />
218- </ a >
213+ < SimpleTooltip
214+ content = "Jump to run"
215+ disableHoverableContent
216+ button = {
217+ < Link
218+ to = { runPath }
219+ className = "flex items-center gap-1 text-blue-500 hover:text-blue-400"
220+ >
221+ { log . runId . slice ( 0 , 12 ) } …
222+ </ Link >
223+ }
224+ />
219225 </ TableCell >
220226 < TableCell onClick = { handleRowClick } hasAction >
221227 < span className = "font-mono text-xs" > { log . taskIdentifier } </ span >
0 commit comments