Skip to content

Commit 8258569

Browse files
committed
Rename the FOCUS_CHAT_INPUT command to FOCUS_PROMPT_FIELD for clarity
1 parent e5ec4a7 commit 8258569

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/vscode/src/views/panel/frontend/Home/Home.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const Home: React.FC<Props> = (props) => {
4949
<div className={styles['inner__buttons']}>
5050
<Enter
5151
label="Open View: New chat"
52-
description="Send messages with a chatbot"
52+
description="Send messages with chatbots"
5353
on_click={props.on_new_chat}
5454
/>
5555
<Enter

‎packages/vscode/src/views/panel/frontend/hooks/use-panel.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export const use_panel = (vscode: any) => {
232232
set_progress_state(undefined)
233233
} else if (message.command == 'SHOW_CHAT_INITIALIZED') {
234234
set_chat_initialized_title(message.title)
235-
} else if (message.command == 'FOCUS_CHAT_INPUT') {
235+
} else if (message.command == 'FOCUS_PROMPT_FIELD') {
236236
set_chat_input_focus_key((k) => k + 1)
237237
} else if (message.command == 'SHOW_COMMIT_MESSAGE_MODAL') {
238238
set_commit_message_to_review({

0 commit comments

Comments
 (0)