Repository navigation
Start a dictation in an empty field, and send it from the mic button - #3
Merged
Merged
Conversation
Two changes asked for after using it. A dictation now starts a new question rather than adding to whatever was in the field. The old text is kept, not lost: a tap of space, Escape, or a dictation that heard nothing puts it back. The field is cleared when the dictation is certain - at once for the mic button, once the hold is certain for space - so a tap never blanks the field, even for a moment. Stopping from the mic button sends the question. Somebody who reached for the mouse to end a dictation was going to reach for Return next. Letting go of space still leaves the text in the field to check, because releasing a key is not a decision to ask. The send says outright that the question was spoken, rather than relying on the flag the same moment has just set, so the answer is read back under "When asked by voice". LiveTranscript.compose, which joined speech onto typed text, has no caller left and is gone with its test. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013iVkaT35YkmM7itiMcNXAt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two changes to dictation, asked for after using it:
The send passes along that the question was spoken, so its answer is read back under "When asked by voice".
LiveTranscript.compose, which added speech to text already in the field, no longer has a caller and is removed along with its test.Testing
swift test: all 120 tests in 21 suites pass./Applications.🤖 Generated with Claude Code
https://claude.ai/code/session_013iVkaT35YkmM7itiMcNXAt