Skip to content

Commit

Permalink
Chat/Edit: Fix symbol hint label typo (#2711)
Browse files Browse the repository at this point in the history
## Description

Fixes typo to use correct ellipsis 

## Test plan

Copy change, check UI is correct

<!-- Required. See
https://sourcegraph.com/docs/dev/background-information/testing_principles.
-->
  • Loading branch information
umpox committed Jan 12, 2024
1 parent 5e886c9 commit 1b8f069
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vscode/src/non-stop/FixupTypingUI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const MATCHING_CONTEXT_FILE_REGEX = /@(\S+)$/
const MATCHING_SYMBOL_REGEX = /@#(\S+)$/

const MAX_FUZZY_RESULTS = 20
const FILE_HELP_LABEL = 'Search for a file to include, or type # to search symbols..'
const FILE_HELP_LABEL = 'Search for a file to include, or type # to search symbols...'
const SYMBOL_HELP_LABEL = 'Search for a symbol to include...'
const NO_MATCHES_LABEL = 'No matches found'

Expand Down
2 changes: 1 addition & 1 deletion vscode/test/e2e/at-file-context-selecting.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test('@-file empty state', async ({ page, sidebar }) => {
const chatInput = chatPanelFrame.getByRole('textbox', { name: 'Chat message' })
await chatInput.fill('@')
await expect(
chatPanelFrame.getByRole('heading', { name: 'Search for a file to include, or type # to search symbols..' })
chatPanelFrame.getByRole('heading', { name: 'Search for a file to include, or type # to search symbols...' })
).toBeVisible()

// No results
Expand Down
2 changes: 1 addition & 1 deletion vscode/webviews/UserContextSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const UserContextSelectorComponent: React.FunctionComponent<

let headingTitle
if (formInput.endsWith('@')) {
headingTitle = 'Search for a file to include, or type # to search symbols..'
headingTitle = 'Search for a file to include, or type # to search symbols...'
} else if (formInput.endsWith('@#')) {
headingTitle = 'Search for a symbol to include...'
} else if (formInput.match(/@[^ #]+$/)) {
Expand Down

0 comments on commit 1b8f069

Please sign in to comment.