Skip to content

Commit 54e9c36

Browse files
committed
Simplify the unstaged files quick pick title and update the item description formatting
1 parent d48e2af commit 54e9c36

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎apps/editor/src/commands/apply-context-command/sources/unstaged-files-source.ts‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const handle_unstaged_files_source = async (
8181

8282
return {
8383
label: path.basename(file_path),
84-
description: `${formatted_token_count} ${display_dir}`.trim(),
84+
description: `${formatted_token_count} · ${display_dir}`.trim(),
8585
picked: true,
8686
file_path: file_path
8787
}
@@ -91,9 +91,7 @@ export const handle_unstaged_files_source = async (
9191
const quick_pick = vscode.window.createQuickPick<
9292
vscode.QuickPickItem & { file_path: string }
9393
>()
94-
quick_pick.title = `Found ${
95-
existing_unstaged_files.length
96-
} unstaged file${existing_unstaged_files.length == 1 ? '' : 's'}`
94+
quick_pick.title = 'Unstaged Files'
9795
quick_pick.placeholder = 'Select files to include'
9896
quick_pick.canSelectMany = true
9997
quick_pick.items = quick_pick_items

0 commit comments

Comments
 (0)