From 1b99c4109800eba615197dbd3ad3829f0c3a6d9b Mon Sep 17 00:00:00 2001 From: James Ritchie Date: Mon, 22 Jun 2026 16:15:06 +0100 Subject: [PATCH] feat(webapp): update task and cached task span icons Update the SVG artwork for the main task icon and the cached task variant shown on the run trace span view. The cached icon now lives alongside TaskIcon in TaskIcon.tsx and uses currentColor, so it inherits the text-tasks theme color like the other span icons. --- .server-changes/cached-task-icon-svg.md | 6 + .../app/assets/icons/TaskCachedIcon.tsx | 49 ------- apps/webapp/app/assets/icons/TaskIcon.tsx | 131 +++++++++++++++--- .../webapp/app/components/runs/v3/RunIcon.tsx | 3 +- .../app/routes/storybook.icons/route.tsx | 3 +- 5 files changed, 123 insertions(+), 69 deletions(-) create mode 100644 .server-changes/cached-task-icon-svg.md delete mode 100644 apps/webapp/app/assets/icons/TaskCachedIcon.tsx diff --git a/.server-changes/cached-task-icon-svg.md b/.server-changes/cached-task-icon-svg.md new file mode 100644 index 00000000000..7a675e01e13 --- /dev/null +++ b/.server-changes/cached-task-icon-svg.md @@ -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. diff --git a/apps/webapp/app/assets/icons/TaskCachedIcon.tsx b/apps/webapp/app/assets/icons/TaskCachedIcon.tsx deleted file mode 100644 index 650f9be396a..00000000000 --- a/apps/webapp/app/assets/icons/TaskCachedIcon.tsx +++ /dev/null @@ -1,49 +0,0 @@ -export function TaskCachedIcon({ className }: { className?: string }) { - return ( - - - - - - - - - - - - - - - - - - - ); -} diff --git a/apps/webapp/app/assets/icons/TaskIcon.tsx b/apps/webapp/app/assets/icons/TaskIcon.tsx index ba73c34c502..c0cdc3fd440 100644 --- a/apps/webapp/app/assets/icons/TaskIcon.tsx +++ b/apps/webapp/app/assets/icons/TaskIcon.tsx @@ -8,58 +8,157 @@ export function TaskIcon({ className }: { className?: string }) { fill="none" xmlns="http://www.w3.org/2000/svg" > - - + + + + ); +} + +export function TaskCachedIcon({ className }: { className?: string }) { + return ( + + + + + + + + + + + + + +