Skip to content

Commit bd25575

Browse files
samejrericallam
authored andcommitted
Adds new streams icon
1 parent 3edc3c3 commit bd25575

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
export function StreamsIcon({ className }: { className?: string }) {
2+
return (
3+
<svg className={className} viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
4+
<path d="M3 19C3 19 5.01155 17 8 17C10.9885 17 13 18.9973 16 18.9973C19 18.9973 21 17 21 17" stroke="currentColor" strokeWidth="2" strokeLinecap="round"/>
5+
<path d="M3 13.0001C3 13.0001 5.01155 11 8 11C10.9885 11 13 13 16 13C19 13 21 11.0001 21 11.0001" stroke="currentColor" strokeWidth="2" strokeLinecap="round"/>
6+
<path d="M3 7C3 7 5.01155 5 8 5C10.9885 5 13 6.9973 16 6.9973C19 6.9973 21 5 21 5" stroke="currentColor" strokeWidth="2" strokeLinecap="round"/>
7+
</svg>
8+
);
9+
}
10+

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import { TriggerIcon } from "~/assets/icons/TriggerIcon";
2020
import { PythonLogoIcon } from "~/assets/icons/PythonLogoIcon";
2121
import { TraceIcon } from "~/assets/icons/TraceIcon";
2222
import { WaitpointTokenIcon } from "~/assets/icons/WaitpointTokenIcon";
23+
import { StreamsIcon } from "~/assets/icons/StreamsIcon";
2324

2425
type TaskIconProps = {
2526
name: string | undefined;
@@ -107,6 +108,8 @@ export function RunIcon({ name, className, spanName }: TaskIconProps) {
107108
case "task-hook-onFailure":
108109
case "task-hook-catchError":
109110
return <FunctionIcon className={cn(className, "text-error")} />;
111+
case "streams":
112+
return <StreamsIcon className={cn(className, "text-text-dimmed")} />;
110113
}
111114

112115
return <InformationCircleIcon className={cn(className, "text-text-dimmed")} />;

0 commit comments

Comments
 (0)