Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented Mar 18, 2025

Context

This bugged me a fair bit during testing:

say.mp4

Implementation

Screenshots

before after

How to Test

Get in Touch


Important

Add functionality to stop TTS playback with a new stopTts function and UI button.

  • Behavior:
    • Add stopTts function in tts.ts to stop TTS playback and clear the queue.
    • Update ClineProvider in ClineProvider.ts to handle stopTts messages from the webview.
    • Modify ChatTextArea in ChatTextArea.tsx to include a button for stopping TTS when it is playing.
  • Messages:
    • Add ttsStart and ttsStop message types in ExtensionMessage.ts and WebviewMessage.ts to communicate TTS state changes.
  • UI:
    • Display a button in ChatTextArea.tsx to stop TTS, visible only when TTS is active.

This description was created by Ellipsis for 6680fce. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Mar 18, 2025

⚠️ No Changeset found

Latest commit: 6680fce

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Mar 18, 2025
Copy link
Collaborator

@mrubens mrubens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔇

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 18, 2025
@heyseth
Copy link
Contributor

heyseth commented Mar 18, 2025

Thanks for adding this! It was annoying me too 😅

@cte cte merged commit a15691d into main Mar 19, 2025
17 checks passed
@cte cte deleted the cte/stop-tts branch March 19, 2025 00:05
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants