mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
Adding back some comments that were inadvertently removed
This commit is contained in:
@@ -147,7 +147,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
|
|||||||
setEnableButtons(true)
|
setEnableButtons(true)
|
||||||
setPrimaryButtonText("Resume Task")
|
setPrimaryButtonText("Resume Task")
|
||||||
setSecondaryButtonText("Terminate")
|
setSecondaryButtonText("Terminate")
|
||||||
setDidClickCancel(false)
|
setDidClickCancel(false) // special case where we reset the cancel button state
|
||||||
break
|
break
|
||||||
case "resume_completed_task":
|
case "resume_completed_task":
|
||||||
setTextAreaDisabled(false)
|
setTextAreaDisabled(false)
|
||||||
@@ -322,12 +322,15 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
|
|||||||
case "command":
|
case "command":
|
||||||
case "tool":
|
case "tool":
|
||||||
case "browser_action_launch":
|
case "browser_action_launch":
|
||||||
|
// responds to the API with a "This operation failed" and lets it try again
|
||||||
vscode.postMessage({ type: "askResponse", askResponse: "noButtonClicked" })
|
vscode.postMessage({ type: "askResponse", askResponse: "noButtonClicked" })
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
setTextAreaDisabled(true)
|
setTextAreaDisabled(true)
|
||||||
setClineAsk(undefined)
|
setClineAsk(undefined)
|
||||||
setEnableButtons(false)
|
setEnableButtons(false)
|
||||||
|
// setPrimaryButtonText(undefined)
|
||||||
|
// setSecondaryButtonText(undefined)
|
||||||
disableAutoScrollRef.current = false
|
disableAutoScrollRef.current = false
|
||||||
}, [clineAsk, startNewTask, isStreaming])
|
}, [clineAsk, startNewTask, isStreaming])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user