Skip to content

Commit c0d01e4

Browse files
committed
Added some new span icons
1 parent 4b790bd commit c0d01e4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import { FunctionIcon } from "~/assets/icons/FunctionIcon";
1919
import { TriggerIcon } from "~/assets/icons/TriggerIcon";
2020
import { PythonLogoIcon } from "~/assets/icons/PythonLogoIcon";
2121
import { TraceIcon } from "~/assets/icons/TraceIcon";
22+
import { HttpCallbackIcon } from "~/assets/icons/HttpCallbackIcon";
23+
import { WaitpointTokenIcon } from "~/assets/icons/WaitpointTokenIcon";
2224

2325
type TaskIconProps = {
2426
name: string | undefined;
@@ -75,6 +77,12 @@ export function RunIcon({ name, className, spanName }: TaskIconProps) {
7577
return <TriggerIcon className={cn(className, "text-orange-500")} />;
7678
case "python":
7779
return <PythonLogoIcon className={className} />;
80+
case "wait-http-callback":
81+
return <HttpCallbackIcon className={cn(className, "text-teal-500")} />;
82+
case "wait-token":
83+
return <WaitpointTokenIcon className={cn(className, "text-sky-500")} />;
84+
case "function":
85+
return <FunctionIcon className={cn(className, "text-text-dimmed")} />;
7886
//log levels
7987
case "debug":
8088
case "log":

0 commit comments

Comments
 (0)