diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-17 12:05:05 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-17 12:05:05 -0700 |
commit | 5236e6287e9bacb15a285a03a27f6919d87f9626 (patch) | |
tree | b711f46d19584f02aac2a3928cd8d6c9a6fc0a07 /extension/react-app/src/components | |
parent | 79b4da7e0afe773d161d2e50688dd31791efa1e1 (diff) | |
parent | f509a2b30d8bee581d1bfd91586acc54e9209599 (diff) | |
download | sncontinue-5236e6287e9bacb15a285a03a27f6919d87f9626.tar.gz sncontinue-5236e6287e9bacb15a285a03a27f6919d87f9626.tar.bz2 sncontinue-5236e6287e9bacb15a285a03a27f6919d87f9626.zip |
Merge branch 'main' of https://github.com/continuedev/continue
Diffstat (limited to 'extension/react-app/src/components')
-rw-r--r-- | extension/react-app/src/components/ComboBox.tsx | 6 | ||||
-rw-r--r-- | extension/react-app/src/components/PillButton.tsx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx index 0ea8a3e1..f327e3a3 100644 --- a/extension/react-app/src/components/ComboBox.tsx +++ b/extension/react-app/src/components/ComboBox.tsx @@ -249,11 +249,11 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => { props.onToggleAddContext(); }} > - Highlight to Add Context + Highlight code section </EmptyPillDiv> ) : ( <HeaderButtonWithText - text="Add to Context" + text="Add more code to context" onClick={() => { props.onToggleAddContext(); }} @@ -265,7 +265,7 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => { <div className="flex px-2" ref={divRef} hidden={!downshiftProps.isOpen}> <MainTextInput disabled={props.disabled} - placeholder={`Ask a question, give instructions, or type '/' to see slash commands. ${getMetaKeyLabel()}⏎ to edit.`} + placeholder={`Ask a question, give instructions, or type '/' to see slash commands`} {...getInputProps({ onChange: (e) => { const target = e.target as HTMLTextAreaElement; diff --git a/extension/react-app/src/components/PillButton.tsx b/extension/react-app/src/components/PillButton.tsx index eba5cf8f..c24dba83 100644 --- a/extension/react-app/src/components/PillButton.tsx +++ b/extension/react-app/src/components/PillButton.tsx @@ -159,8 +159,8 @@ const PillButton = (props: PillButtonProps) => { </Button> <StyledTooltip id={`edit-${props.index}`}> {props.editing - ? "Editing this range (with rest of file as context)" - : "Edit this range"} + ? "Editing this section (with entire file as context)" + : "Edit this section"} </StyledTooltip> <StyledTooltip id={`delete-${props.index}`}>Delete</StyledTooltip> {props.warning && ( |