Skip to content

Commit 4352bb7

Browse files
committed
Standardize the prompt template variable input UI by using the input box title instead of the prompt field
1 parent f7388cc commit 4352bb7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/vscode/src/views/panel/backend/message-handlers/handle-show-prompt-template-quick-pick.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export const handle_show_prompt_template_quick_pick = async (
7777
vscode.QuickPickItem & { template?: PromptTemplate; index?: number }
7878
>()
7979
templates_quick_pick.matchOnDetail = true
80+
templates_quick_pick.title = 'Prompt Templates'
8081
templates_quick_pick.placeholder = 'Manage and use your prompt templates'
8182

8283
const edit_button = {
@@ -331,8 +332,7 @@ export const handle_show_prompt_template_quick_pick = async (
331332
if (variables.length > 0) {
332333
for (const variable of variables) {
333334
const value = await vscode.window.showInputBox({
334-
prompt: `Enter a value for the variable "${variable}"`,
335-
placeHolder: variable
335+
title: `Enter "${variable}" Variable`
336336
})
337337

338338
if (value) {

0 commit comments

Comments
 (0)