@@ -283,7 +283,7 @@ export function TaskRunsTable({
283
283
runs . map ( ( run , index ) => {
284
284
const path = v3RunSpanPath ( organization , project , run , { spanId : run . spanId } ) ;
285
285
return (
286
- < TableRow key = { run . id } >
286
+ < TableRow to = { path } key = { run . id } >
287
287
{ allowSelection && (
288
288
< TableCell className = "pl-3 pr-0" >
289
289
< Checkbox
@@ -298,33 +298,29 @@ export function TaskRunsTable({
298
298
/>
299
299
</ TableCell >
300
300
) }
301
- < TableCell to = { path } alignment = "right" >
302
- { formatNumber ( run . number ) }
303
- </ TableCell >
304
- < TableCell to = { path } >
301
+ < TableCell alignment = "right" > { formatNumber ( run . number ) } </ TableCell >
302
+ < TableCell >
305
303
< EnvironmentLabel
306
304
environment = { run . environment }
307
305
userName = { run . environment . userName }
308
306
/>
309
307
</ TableCell >
310
- < TableCell to = { path } >
308
+ < TableCell >
311
309
< span className = "flex items-center gap-x-1" >
312
310
{ run . taskIdentifier }
313
311
{ run . rootTaskRunId === null ? < Badge variant = "extra-small" > Root</ Badge > : null }
314
312
</ span >
315
313
</ TableCell >
316
- < TableCell to = { path } > { run . version ?? "–" } </ TableCell >
317
- < TableCell to = { path } >
314
+ < TableCell > { run . version ?? "–" } </ TableCell >
315
+ < TableCell >
318
316
< SimpleTooltip
319
317
content = { descriptionForTaskRunStatus ( run . status ) }
320
318
disableHoverableContent
321
319
button = { < TaskRunStatusCombo status = { run . status } /> }
322
320
/>
323
321
</ TableCell >
324
- < TableCell to = { path } >
325
- { run . startedAt ? < DateTime date = { run . startedAt } /> : "–" }
326
- </ TableCell >
327
- < TableCell to = { path } className = "w-[1%]" actionClassName = "pr-0 tabular-nums" >
322
+ < TableCell > { run . startedAt ? < DateTime date = { run . startedAt } /> : "–" } </ TableCell >
323
+ < TableCell className = "w-[1%]" actionClassName = "pr-0 tabular-nums" >
328
324
< div className = "flex items-center gap-1" >
329
325
< RectangleStackIcon className = "size-4 text-text-dimmed" />
330
326
{ run . startedAt ? (
@@ -340,7 +336,7 @@ export function TaskRunsTable({
340
336
) }
341
337
</ div >
342
338
</ TableCell >
343
- < TableCell to = { path } className = "w-[1%]" actionClassName = "px-4 tabular-nums" >
339
+ < TableCell className = "w-[1%]" actionClassName = "px-4 tabular-nums" >
344
340
< div className = "flex items-center gap-1" >
345
341
< ClockIcon className = "size-4 text-blue-500" />
346
342
{ run . startedAt && run . finishedAt ? (
@@ -354,7 +350,7 @@ export function TaskRunsTable({
354
350
) }
355
351
</ div >
356
352
</ TableCell >
357
- < TableCell to = { path } actionClassName = "pl-0 tabular-nums" >
353
+ < TableCell actionClassName = "pl-0 tabular-nums" >
358
354
< div className = "flex items-center gap-1" >
359
355
< CpuChipIcon className = "size-4 text-success" />
360
356
{ run . usageDurationMs > 0
@@ -365,21 +361,17 @@ export function TaskRunsTable({
365
361
</ div >
366
362
</ TableCell >
367
363
{ showCompute && (
368
- < TableCell to = { path } className = "tabular-nums" >
364
+ < TableCell className = "tabular-nums" >
369
365
{ run . costInCents > 0 ? formatCurrencyAccurate ( run . costInCents / 100 ) : "–" }
370
366
</ TableCell >
371
367
) }
372
- < TableCell to = { path } >
368
+ < TableCell >
373
369
{ run . isTest ? < CheckIcon className = "size-4 text-charcoal-400" /> : "–" }
374
370
</ TableCell >
375
- < TableCell to = { path } >
376
- { run . createdAt ? < DateTime date = { run . createdAt } /> : "–" }
377
- </ TableCell >
378
- < TableCell to = { path } >
379
- { run . delayUntil ? < DateTime date = { run . delayUntil } /> : "–" }
380
- </ TableCell >
381
- < TableCell to = { path } > { run . ttl ?? "–" } </ TableCell >
382
- < TableCell to = { path } actionClassName = "py-1" >
371
+ < TableCell > { run . createdAt ? < DateTime date = { run . createdAt } /> : "–" } </ TableCell >
372
+ < TableCell > { run . delayUntil ? < DateTime date = { run . delayUntil } /> : "–" } </ TableCell >
373
+ < TableCell > { run . ttl ?? "–" } </ TableCell >
374
+ < TableCell actionClassName = "py-1" >
383
375
< div className = "flex gap-1" >
384
376
{ run . tags . map ( ( tag ) => < RunTag key = { tag } tag = { tag } /> ) || "–" }
385
377
</ div >
0 commit comments