diff --git a/apps/web/src/app/(v2)/chat/threads/page.tsx b/apps/web/src/app/(v2)/chat/threads/page.tsx index 6c1f6d0d..a078c175 100644 --- a/apps/web/src/app/(v2)/chat/threads/page.tsx +++ b/apps/web/src/app/(v2)/chat/threads/page.tsx @@ -41,6 +41,7 @@ function AllThreadsPageContent() { const { statusMap, + taskPlanMap, statusCounts, isLoading: statusLoading, } = useThreadsStatus(threadIds, threads); @@ -197,6 +198,7 @@ function AllThreadsPageContent() { thread={thread} status={statusMap[thread.id]} statusLoading={statusLoading} + taskPlan={taskPlanMap[thread.id]} /> ))} @@ -212,6 +214,7 @@ function AllThreadsPageContent() { thread={thread} status={statusMap[thread.id]} statusLoading={statusLoading} + taskPlan={taskPlanMap[thread.id]} /> ))} diff --git a/apps/web/src/components/tasks/index.tsx b/apps/web/src/components/tasks/index.tsx index fcafb071..b693700b 100644 --- a/apps/web/src/components/tasks/index.tsx +++ b/apps/web/src/components/tasks/index.tsx @@ -100,11 +100,13 @@ export function TasksSidebar({ const getStateIcon = (state: string) => { switch (state) { case "completed": - return ; + return ( + + ); case "current": - return ; + return ; default: - return ; + return ; } }; @@ -137,7 +139,7 @@ export function TasksSidebar({ return (
@@ -149,14 +151,16 @@ export function TasksSidebar({ style={{ minWidth: isOpen ? "320px" : "0" }} > {/* Header */} -
+
-

Tasks

+

+ Tasks +

@@ -165,11 +169,11 @@ export function TasksSidebar({ {/* Task selector */} {taskPlan.tasks.length > 1 && (
-