From bb92935c7285de07a98dabc982d32488acabd83c Mon Sep 17 00:00:00 2001 From: James Ritchie Date: Mon, 22 Jun 2026 17:31:43 +0100 Subject: [PATCH] feat(webapp): update task and cached task span icons (#4014) ## Summary Refreshes the SVG artwork for the main task icon and the cached task variant shown on the run trace span view. The cached icon (previously a hardcoded blue "T" in a dashed border) now lives alongside `TaskIcon` in `TaskIcon.tsx` and is drawn with `currentColor`, so it inherits the `text-tasks` theme color like the other span icons instead of ignoring it. The standalone `TaskCachedIcon.tsx` file is removed and its two import sites updated. --- .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 000000000..7a675e01e --- /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 650f9be39..000000000 --- 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 ba73c34c5..c0cdc3fd4 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 ( + + + + + + + + + + + + + +