|
|
@@ -1077,7 +1077,8 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
|
|
|
onClick={() => {
|
|
|
scrollToBottomSmooth()
|
|
|
disableAutoScrollRef.current = false
|
|
|
- }}>
|
|
|
+ }}
|
|
|
+ title="Scroll to bottom of chat">
|
|
|
<span className="codicon codicon-chevron-down" style={{ fontSize: "18px" }}></span>
|
|
|
</ScrollToBottomButton>
|
|
|
</div>
|
|
|
@@ -1101,6 +1102,25 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
|
|
|
flex: secondaryButtonText ? 1 : 2,
|
|
|
marginRight: secondaryButtonText ? "6px" : "0",
|
|
|
}}
|
|
|
+ title={
|
|
|
+ primaryButtonText === "Retry"
|
|
|
+ ? "Try the operation again"
|
|
|
+ : primaryButtonText === "Save"
|
|
|
+ ? "Save the file changes"
|
|
|
+ : primaryButtonText === "Approve"
|
|
|
+ ? "Approve this action"
|
|
|
+ : primaryButtonText === "Run Command"
|
|
|
+ ? "Execute this command"
|
|
|
+ : primaryButtonText === "Start New Task"
|
|
|
+ ? "Begin a new task"
|
|
|
+ : primaryButtonText === "Resume Task"
|
|
|
+ ? "Continue the current task"
|
|
|
+ : primaryButtonText === "Proceed Anyways"
|
|
|
+ ? "Continue despite warnings"
|
|
|
+ : primaryButtonText === "Proceed While Running"
|
|
|
+ ? "Continue while command executes"
|
|
|
+ : undefined
|
|
|
+ }
|
|
|
onClick={(e) => handlePrimaryButtonClick(inputValue, selectedImages)}>
|
|
|
{primaryButtonText}
|
|
|
</VSCodeButton>
|
|
|
@@ -1113,6 +1133,17 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
|
|
|
flex: isStreaming ? 2 : 1,
|
|
|
marginLeft: isStreaming ? 0 : "6px",
|
|
|
}}
|
|
|
+ title={
|
|
|
+ isStreaming
|
|
|
+ ? "Cancel the current operation"
|
|
|
+ : secondaryButtonText === "Start New Task"
|
|
|
+ ? "Begin a new task"
|
|
|
+ : secondaryButtonText === "Reject"
|
|
|
+ ? "Reject this action"
|
|
|
+ : secondaryButtonText === "Terminate"
|
|
|
+ ? "End the current task"
|
|
|
+ : undefined
|
|
|
+ }
|
|
|
onClick={(e) => handleSecondaryButtonClick(inputValue, selectedImages)}>
|
|
|
{isStreaming ? "Cancel" : secondaryButtonText}
|
|
|
</VSCodeButton>
|