From 13d54309978a92ba1decc4eb696cf1b20e6bf210 Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Fri, 31 Jul 2026 17:43:38 -0700 Subject: [PATCH] Use neutral voice dictation demo prompt --- .../feature-tips/VoiceDictationFeatureTipVisual.test.tsx | 4 ++-- .../feature-tips/VoiceDictationFeatureTipVisual.tsx | 2 +- src/renderer/src/i18n/locales/en.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/renderer/src/components/feature-tips/VoiceDictationFeatureTipVisual.test.tsx b/src/renderer/src/components/feature-tips/VoiceDictationFeatureTipVisual.test.tsx index 5bdc9b2c528..5e73fdfe889 100644 --- a/src/renderer/src/components/feature-tips/VoiceDictationFeatureTipVisual.test.tsx +++ b/src/renderer/src/components/feature-tips/VoiceDictationFeatureTipVisual.test.tsx @@ -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() diff --git a/src/renderer/src/components/feature-tips/VoiceDictationFeatureTipVisual.tsx b/src/renderer/src/components/feature-tips/VoiceDictationFeatureTipVisual.tsx index a7d94b57418..ff94ed96fd3 100644 --- a/src/renderer/src/components/feature-tips/VoiceDictationFeatureTipVisual.tsx +++ b/src/renderer/src/components/feature-tips/VoiceDictationFeatureTipVisual.tsx @@ -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 diff --git a/src/renderer/src/i18n/locales/en.json b/src/renderer/src/i18n/locales/en.json index 0a86c43680b..4e36afee03f 100644 --- a/src/renderer/src/i18n/locales/en.json +++ b/src/renderer/src/i18n/locales/en.json @@ -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...",