Skip to content

Automate browser based workflows with AI

SKY-9157: highlight selected timeline step with amber ring (#5825)

Celal Zamanoğlu8a5c8b053f83
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/RunCard.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/RunCard.tsx
index 7a42b48cf..35788c8ba 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/RunCard.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/RunCard.tsx
@@ -37,9 +37,9 @@ function RunCard({
status != null && "border-l-2 border-l-transparent",
{
"cursor-pointer hover:ring-white/25": !!onClick,
- "border-l-destructive": status === "failure",
- "border-l-success": status === "success",
- "ring-white/25": active,
+ "border-l-destructive": status === "failure" && !active,
+ "border-l-success": status === "success" && !active,
+ "ring-2 ring-white/55 hover:ring-white/55": active,
},
className,
)}
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx
index a28a073dc..c1dae4a92 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx
@@ -476,7 +476,7 @@ function WorkflowRunTimelineBlockItem({
"cursor-pointer rounded-lg ring-1 ring-transparent transition-all duration-200 [&:hover:not(:has([data-slot=runcard]:hover,[data-slot=block-item]:hover))]:ring-white/30",
getBlockElevation(depth),
{
- "ring-white/30":
+ "ring-2 ring-white/55 [&:hover:not(:has([data-slot=runcard]:hover,[data-slot=block-item]:hover))]:ring-white/55":
isWorkflowRunBlock(activeItem) &&
activeItem.workflow_run_block_id === block.workflow_run_block_id,
},