Skip to content

Commit a3b3ef0

Browse files
committed
Update UI text prompts and labels for clarity and consistency
1 parent eabbc05 commit a3b3ef0

6 files changed

Lines changed: 9 additions & 11 deletions

File tree

‎apps/editor/src/commands/apply-context-command/apply-context-command.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export const apply_context_command = (
9494
})
9595

9696
main_quick_pick_options.push({
97-
label: 'Files of a commit...',
97+
label: 'Files touched by a commit...',
9898
value: 'commit_files'
9999
})
100100

‎apps/editor/src/commands/apply-context-command/sources/check-all-with-keywords-source.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ export const handle_check_all_with_keywords_source = async (
1414
while (true) {
1515
const input_box = vscode.window.createInputBox()
1616
input_box.title = 'Keyword Search'
17-
input_box.prompt =
18-
'Enter keywords separated by comma (use & for AND, quotes for whole words)'
17+
input_box.prompt = 'Enter keywords separated by comma.'
1918
input_box.placeholder = 'e.g. user, login&auth, "changePassword"'
2019
input_box.ignoreFocusOut = true
2120
input_box.buttons = [vscode.QuickInputButtons.Back]

‎apps/editor/src/commands/apply-context-command/sources/workspace-state-source.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ export const handle_workspace_state_source = async (
287287
active_dialog_count++
288288
const input_box = vscode.window.createInputBox()
289289
input_box.title = 'Rename Context'
290-
input_box.prompt = 'Enter new name for context'
290+
input_box.prompt = 'Enter new name for context.'
291291
input_box.value = item.context.name
292292

293293
const new_name = await new Promise<string | undefined | 'back'>(

‎apps/editor/src/commands/check-all-with-keywords.ts‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ export const check_all_with_keywords_command = (
1818
try {
1919
const input_box = vscode.window.createInputBox()
2020
input_box.title = 'Keyword Search'
21-
input_box.prompt =
22-
'Enter keywords separated by comma (use & for AND, quotes for whole words)'
21+
input_box.prompt = 'Enter keywords separated by comma.'
2322
input_box.placeholder = 'e.g. username, login&auth, "changePassword"'
2423
input_box.ignoreFocusOut = true
2524

@@ -134,7 +133,7 @@ export const check_all_with_keywords_command = (
134133
quick_pick.items = quick_pick_items
135134
quick_pick.selectedItems = quick_pick_items
136135
quick_pick.canSelectMany = true
137-
quick_pick.placeholder = 'Select files to include'
136+
quick_pick.placeholder = 'Select files to check for context'
138137
quick_pick.title = `Found ${matched_files.length} file${
139138
matched_files.length == 1 ? '' : 's'
140139
}`

‎apps/editor/src/commands/generate-commit-message-command/generate-commit-message-command.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const generate_commit_message_command = (
5858
const input_box = vscode.window.createInputBox()
5959
input_box.value = commit_message
6060
input_box.title = 'Commit Message'
61-
input_box.prompt = 'Review the commit message'
61+
input_box.prompt = 'Review the commit message.'
6262

6363
const close_button = {
6464
iconPath: new vscode.ThemeIcon('close'),

‎apps/editor/src/views/utils/upsert-model-provider.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const upsert_model_provider = async (params: {
3737
const input_box = vscode.window.createInputBox()
3838
input_box.ignoreFocusOut = true
3939
input_box.title = params.is_creation ? 'Name' : 'Edit Name'
40-
input_box.prompt = 'Name of the custom model provider'
40+
input_box.prompt = 'Name of the custom model provider.'
4141
input_box.value = params.current_name
4242
if (!params.is_creation) {
4343
input_box.valueSelection = [0, input_box.value.length]
@@ -109,7 +109,7 @@ export const upsert_model_provider = async (params: {
109109
const input_box = vscode.window.createInputBox()
110110
input_box.ignoreFocusOut = true
111111
input_box.title = 'Edit Base URL'
112-
input_box.prompt = 'Enter the base URL'
112+
input_box.prompt = 'Enter the base URL.'
113113
input_box.value = current_url
114114
input_box.valueSelection = [0, input_box.value.length]
115115

@@ -157,7 +157,7 @@ export const upsert_model_provider = async (params: {
157157
const input_box = vscode.window.createInputBox()
158158
input_box.ignoreFocusOut = true
159159
input_box.title = 'API Key'
160-
input_box.prompt = 'Enter your API key'
160+
input_box.prompt = 'Enter your API key.'
161161
input_box.password = true
162162
input_box.placeholder = current_key
163163
? `...${current_key.slice(-4)}`

0 commit comments

Comments
 (0)