Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions webview-ui/src/components/chat/ChatRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ export const ChatRowContent = ({
onSuggestionClick,
onFollowUpUnmount,
onBatchFileResponse,
editable,
isFollowUpAnswered,
}: ChatRowContentProps) => {
const { t } = useTranslation()
Expand Down Expand Up @@ -540,21 +539,7 @@ export const ChatRowContent = ({
// Get previous todos from the latest todos in the task context
const previousTodos = getPreviousTodos(clineMessages, message.ts)

return (
<>
<TodoChangeDisplay previousTodos={previousTodos} newTodos={todos} />
<UpdateTodoListToolBlock
todos={todos}
content={(tool as any).content}
onChange={(updatedTodos) => {
if (typeof vscode !== "undefined" && vscode?.postMessage) {
vscode.postMessage({ type: "updateTodoList", payload: { todos: updatedTodos } })
}
}}
editable={!!(editable && isLast)}
/>
</>
)
return <TodoChangeDisplay previousTodos={previousTodos} newTodos={todos} />
}
case "newFileCreated":
return (
Expand Down
Loading