Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .server-changes/cached-task-icon-svg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
area: webapp
type: improvement
---

Refresh the task and cached-task span icons shown in the run trace view with new SVG artwork.
49 changes: 0 additions & 49 deletions apps/webapp/app/assets/icons/TaskCachedIcon.tsx

This file was deleted.

131 changes: 115 additions & 16 deletions apps/webapp/app/assets/icons/TaskIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,58 +8,157 @@ export function TaskIcon({ className }: { className?: string }) {
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<rect x="11" y="16" width="2" height="6" rx="1" fill="currentColor" />
<rect x="11" y="2" width="2" height="6" rx="1" fill="currentColor" />
<rect x="11" y="16" width="2" height="7" rx="1" fill="currentColor" />
<rect x="11" y="1" width="2" height="7" rx="1" fill="currentColor" />
<rect
x="13"
y="11"
width="2"
height="11"
height="12"
rx="1"
transform="rotate(90 13 11)"
fill="currentColor"
/>
<rect
x="22"
x="23"
y="11"
width="2"
height="6"
height="7"
rx="1"
transform="rotate(90 22 11)"
transform="rotate(90 23 11)"
fill="currentColor"
/>
<rect
x="5.63604"
y="19.7782"
x="4.92758"
y="20.4867"
width="2"
height="10.9999"
height="12.0018"
rx="1"
transform="rotate(-135 5.63604 19.7782)"
transform="rotate(-135 4.92758 20.4867)"
fill="currentColor"
/>
<rect
x="15.3185"
y="10.0958"
width="2"
height="6.30698"
height="6.99687"
rx="1"
transform="rotate(-135 15.3185 10.0958)"
fill="currentColor"
/>
<rect
x="19.7781"
y="18.364"
x="20.3488"
y="18.9346"
width="2"
height="6.18952"
height="6.99653"
rx="1"
transform="rotate(135 19.7781 18.364)"
transform="rotate(135 20.3488 18.9346)"
fill="currentColor"
/>
<rect
x="13.4161"
y="12.002"
width="2"
height="11.0027"
height="11.9956"
rx="1"
transform="rotate(135 13.4161 12.002)"
fill="currentColor"
/>
</svg>
);
}

export function TaskCachedIcon({ className }: { className?: string }) {
return (
<svg
className={className}
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<rect x="11" y="16" width="2" height="3" rx="1" fill="currentColor" />
<rect x="11" y="20" width="2" height="3" rx="1" fill="currentColor" />
<rect x="11" y="5" width="2" height="3" rx="1" fill="currentColor" />
<rect x="11" y="1" width="2" height="3" rx="1" fill="currentColor" />
<rect
x="13"
y="11"
width="2"
height="12"
rx="1"
transform="rotate(90 13 11)"
fill="currentColor"
/>
<rect
x="19"
y="11"
width="2"
height="3"
rx="1"
transform="rotate(90 19 11)"
fill="currentColor"
/>
<rect
x="23"
y="11"
width="2"
height="3"
rx="1"
transform="rotate(90 23 11)"
fill="currentColor"
/>
<rect
x="4.92758"
y="20.4867"
width="2"
height="12.0018"
rx="1"
transform="rotate(-135 4.92758 20.4867)"
fill="currentColor"
/>
<rect
x="15.3185"
y="10.0958"
width="2"
height="2.99815"
rx="1"
transform="rotate(-135 15.3185 10.0958)"
fill="currentColor"
/>
<rect
x="18.1445"
y="7.26978"
width="2"
height="3.00029"
rx="1"
transform="rotate(-135 18.1445 7.26978)"
fill="currentColor"
/>
<rect
x="17.5259"
y="16.1117"
width="2"
height="3.00436"
rx="1"
transform="rotate(135 17.5259 16.1117)"
fill="currentColor"
/>
<rect
x="20.3488"
y="18.9346"
width="2"
height="3.00154"
rx="1"
transform="rotate(135 20.3488 18.9346)"
fill="currentColor"
/>
<rect
x="13.4161"
y="12.002"
width="2"
height="11.9956"
rx="1"
transform="rotate(135 13.4161 12.002)"
fill="currentColor"
Expand Down
3 changes: 1 addition & 2 deletions apps/webapp/app/components/runs/v3/RunIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ import {
XAIIcon,
} from "~/assets/icons/AiProviderIcons";
import { AttemptIcon } from "~/assets/icons/AttemptIcon";
import { TaskIcon } from "~/assets/icons/TaskIcon";
import { TaskCachedIcon, TaskIcon } from "~/assets/icons/TaskIcon";
import { cn } from "~/utils/cn";
import { tablerIcons } from "~/utils/tablerIcons";
import tablerSpritePath from "~/components/primitives/tabler-sprite.svg";
import { TaskCachedIcon } from "~/assets/icons/TaskCachedIcon";
import { PauseIcon } from "~/assets/icons/PauseIcon";
import { RunFunctionIcon } from "~/assets/icons/RunFunctionIcon";
import { MiddlewareIcon } from "~/assets/icons/MiddlewareIcon";
Expand Down
3 changes: 1 addition & 2 deletions apps/webapp/app/routes/storybook.icons/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ import { StarIcon } from "~/assets/icons/StarIcon";
import { StatusIcon } from "~/assets/icons/StatusIcon";
import { StreamsIcon } from "~/assets/icons/StreamsIcon";
import { TableIcon } from "~/assets/icons/TableIcon";
import { TaskCachedIcon } from "~/assets/icons/TaskCachedIcon";
import { TaskIcon, TaskIconSmall } from "~/assets/icons/TaskIcon";
import { TaskCachedIcon, TaskIcon, TaskIconSmall } from "~/assets/icons/TaskIcon";
import { TestTubeIcon } from "~/assets/icons/TestTubeIcon";
import { TextInlineIcon } from "~/assets/icons/TextInlineIcon";
import { TextWrapIcon } from "~/assets/icons/TextWrapIcon";
Expand Down