Skip to content

Commit aa037a2

Browse files
committed
Better trace icon
1 parent 25c1aba commit aa037a2

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export function TraceIcon({ className }: { className?: string }) {
2+
return (
3+
<svg className={className} viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
4+
<rect x="2" y="2" width="13" height="6" rx="2" fill="currentColor" />
5+
<rect x="9" y="9" width="13" height="6" rx="2" fill="currentColor" />
6+
<rect x="2" y="16" width="13" height="6" rx="2" fill="currentColor" />
7+
</svg>
8+
);
9+
}

apps/webapp/app/components/runs/v3/RunIcon.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import { MiddlewareIcon } from "~/assets/icons/MiddlewareIcon";
1818
import { FunctionIcon } from "~/assets/icons/FunctionIcon";
1919
import { TriggerIcon } from "~/assets/icons/TriggerIcon";
2020
import { PythonLogoIcon } from "~/assets/icons/PythonLogoIcon";
21+
import { TraceIcon } from "~/assets/icons/TraceIcon";
2122

2223
type TaskIconProps = {
2324
name: string | undefined;
@@ -65,7 +66,7 @@ export function RunIcon({ name, className, spanName }: TaskIconProps) {
6566
case "wait":
6667
return <PauseIcon className={cn(className, "text-teal-500")} />;
6768
case "trace":
68-
return <Squares2X2Icon className={cn(className, "text-text-dimmed")} />;
69+
return <TraceIcon className={cn(className, "text-text-dimmed")} />;
6970
case "tag":
7071
return <TagIcon className={cn(className, "text-text-dimmed")} />;
7172
case "queue":

0 commit comments

Comments
 (0)