Skip to content

Commit 35bb7a2

Browse files
committed
Root and parent task styling inspector
1 parent 77bd829 commit 35bb7a2

File tree

1 file changed

+20
-7
lines changed
  • apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.v3.$projectParam.runs.$runParam.spans.$spanParam

1 file changed

+20
-7
lines changed

apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.v3.$projectParam.runs.$runParam.spans.$spanParam/route.tsx

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,12 @@ function SpanBody({
319319
{ friendlyId: run.friendlyId },
320320
{ spanId: run.spanId }
321321
)}
322+
className="group flex flex-wrap items-center gap-x-1 gap-y-0"
322323
>
323-
{run.taskIdentifier} ({run.friendlyId})
324+
{run.taskIdentifier}
325+
<span className="break-all text-text-dimmed transition-colors group-hover:text-text-bright/80">
326+
({run.friendlyId})
327+
</span>
324328
</TextLink>
325329
))}
326330
</div>
@@ -614,9 +618,12 @@ function RunBody({
614618
},
615619
{ spanId: run.relationships.root.spanId }
616620
)}
621+
className="group flex flex-wrap items-center gap-x-1 gap-y-0"
617622
>
618-
{run.relationships.root.taskIdentifier} (
619-
{run.relationships.root.friendlyId})
623+
{run.relationships.root.taskIdentifier}
624+
<span className="break-all text-text-dimmed transition-colors group-hover:text-text-bright/80">
625+
({run.relationships.root.friendlyId})
626+
</span>
620627
</TextLink>
621628
</Property.Value>
622629
</Property.Item>
@@ -634,9 +641,12 @@ function RunBody({
634641
},
635642
{ spanId: run.relationships.root.spanId }
636643
)}
644+
className="group flex flex-wrap items-center gap-x-1 gap-y-0"
637645
>
638-
{run.relationships.root.taskIdentifier} (
639-
{run.relationships.root.friendlyId})
646+
{run.relationships.root.taskIdentifier}
647+
<span className="break-all text-text-dimmed transition-colors group-hover:text-text-bright/80">
648+
({run.relationships.root.friendlyId})
649+
</span>
640650
</TextLink>
641651
</Property.Value>
642652
</Property.Item>
@@ -653,9 +663,12 @@ function RunBody({
653663
},
654664
{ spanId: run.relationships.parent.spanId }
655665
)}
666+
className="group flex flex-wrap items-center gap-x-1 gap-y-0"
656667
>
657-
{run.relationships.parent.taskIdentifier} (
658-
{run.relationships.parent.friendlyId})
668+
{run.relationships.parent.taskIdentifier}
669+
<span className="break-all text-text-dimmed transition-colors group-hover:text-text-bright/80">
670+
({run.relationships.parent.friendlyId})
671+
</span>
659672
</TextLink>
660673
</Property.Value>
661674
</Property.Item>

0 commit comments

Comments
 (0)