Skip to content

Commit a8a3707

Browse files
committed
🤖 feat: Hide completed TODOs while streaming
Only show completed TODOs when chat is not streaming to reduce clutter during active work. When streaming stops, completed todos reappear to provide context on what was accomplished. - Filter out completed todos in PinnedTodoList when canInterrupt is true - Pass filtered todos to TodoList component
1 parent 54d8b9d commit a8a3707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/PinnedTodoList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const PinnedTodoList: React.FC<PinnedTodoListProps> = ({ workspaceId }) =
4747
</span>
4848
TODO{expanded ? ":" : ""}
4949
</div>
50-
{expanded && <TodoList todos={todos} />}
50+
{expanded && <TodoList todos={displayTodos} />}
5151
</div>
5252
);
5353
};

0 commit comments

Comments
 (0)