diff --git a/apps/fabro-web/app/components/stage-insights-sidebar.tsx b/apps/fabro-web/app/components/stage-insights-sidebar.tsx index 71ffa5094..d718f0828 100644 --- a/apps/fabro-web/app/components/stage-insights-sidebar.tsx +++ b/apps/fabro-web/app/components/stage-insights-sidebar.tsx @@ -246,22 +246,22 @@ function TodoSection({ todos }: { todos: TodoListProjection | null }) { } function TodoRow({ todo }: { todo: TodoProjection }) { - const { Icon, color, srLabel } = todoStatusVisual(todo.status); + const { Icon, color, srLabel, spin } = todoStatusVisual(todo.status); const muted = todo.status === TodoStatus.COMPLETED; return (
  • - + {todo.subject}
  • ); } -function todoStatusVisual(status: TodoStatus): { Icon: IconType; color: string; srLabel: string } { +function todoStatusVisual(status: TodoStatus): { Icon: IconType; color: string; srLabel: string; spin?: boolean } { switch (status) { case TodoStatus.COMPLETED: return { Icon: CheckCircleIcon, color: "text-mint", srLabel: "Completed" }; case TodoStatus.IN_PROGRESS: - return { Icon: ArrowPathIcon, color: "text-teal-500", srLabel: "In progress" }; + return { Icon: ArrowPathIcon, color: "text-teal-500", srLabel: "In progress", spin: true }; case TodoStatus.DELETED: return { Icon: XCircleIcon, color: "text-fg-muted", srLabel: "Deleted" }; case TodoStatus.PENDING: