align on code section

This commit is contained in:
Ty Dunn 2023-07-17 11:36:21 -05:00
parent 594f7ceb5c
commit e5b15e3898
3 changed files with 6 additions and 6 deletions

View file

@ -58,7 +58,7 @@ class DemoPolicy(Policy):
if history.get_current() is None:
return (
MessageStep(name="Welcome to Continue", message=dedent("""\
- Highlight code and ask a question or give instructions
- Highlight code section and ask a question or give instructions
- Use `cmd+m` (Mac) / `ctrl+m` (Windows) to open Continue
- Use `/help` to ask questions about how to use Continue""")) >>
WelcomeStep() >>

View file

@ -245,11 +245,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();
}}
@ -261,7 +261,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;

View file

@ -154,8 +154,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 && (