Use neutral voice dictation demo prompt

This commit is contained in:
Brennan Benson
2026-07-31 17:43:38 -07:00
parent 69e70b94da
commit 13d5430997
3 changed files with 4 additions and 4 deletions
@@ -47,7 +47,7 @@ describe('VoiceDictationFeatureTipVisual', () => {
expect(prompt?.textContent).toBe('R')
await act(async () => vi.runAllTimers())
expect(prompt?.textContent).toBe(
'Refactor the voice setup flow and add coverage for the permission states.'
'Review this diff for edge cases and add tests for anything you find.'
)
expect(vi.getTimerCount()).toBe(0)
@@ -69,7 +69,7 @@ describe('VoiceDictationFeatureTipVisual', () => {
const { container, root } = await renderVisual()
expect(container.textContent).toContain(
'Refactor the voice setup flow and add coverage for the permission states.'
'Review this diff for edge cases and add tests for anything you find.'
)
expect(container.innerHTML).not.toContain('animate-waveform')
expect(setTimeoutSpy).not.toHaveBeenCalled()
@@ -14,7 +14,7 @@ export function VoiceDictationFeatureTipVisual(): JSX.Element {
const shortcut = useShortcutKeyDetails('voice.dictation')
const dictatedPrompt = translate(
'featureTips.voice.demoPrompt',
'Refactor the voice setup flow and add coverage for the permission states.'
'Review this diff for edge cases and add tests for anything you find.'
)
const [typedLength, setTypedLength] = useState(0)
const effectiveTypedLength = reducedMotion ? dictatedPrompt.length : typedLength
+1 -1
View File
@@ -14689,7 +14689,7 @@
},
"featureTips": {
"voice": {
"demoPrompt": "Refactor the voice setup flow and add coverage for the permission states.",
"demoPrompt": "Review this diff for edge cases and add tests for anything you find.",
"startDictation": "Start dictation",
"agentPromptTitle": "Agent prompt",
"listening": "Listening...",