Skip to content

Dictation follow-up: Saved dictation title test, passing notes, Quit flag - #1824

Merged
r3dbars merged 1 commit into
mainfrom
claude/paper-cuts-dictation-followup-j5jtnm
Sep 24, 2026
Merged

r3dbars merged 1 commit into
mainfrom
claude/paper-cuts-dictation-followup-j5jtnm

Conversation

@r3dbars

@r3dbars r3dbars commented Sep 24, 2026

Copy link
Copy Markdown
Owner

Requested by Justin · project thread

Before: After #1819, a dictation shortcut press made while the last take was finishing was quietly dropped if that take ended with a harmless note ("Pasted. Press Return to send it." or the brief "No speech heard"). The flag that stops presses from queuing during Quit also cleared as soon as Quit was admitted, before the app had actually closed. Nothing tested the new "Saved dictation" import title.

After: A waiting press starts over those passing notes. Failures and "copied, press ⌘V" notices still hold it back. Once Quit is admitted the flag stays set, and every refusal clears it. The title has a test.

How: FloatingOverlayController.messageCanGiveWayToNextStart is set by showNoSpeechAndDismiss and by the controller after the Press Return notice, and cleared by every other message. finishDictationForTermination clears isTerminatingDictation on each false return (and in admitInactiveDictationQuit when it refuses) instead of in a defer. The new test goes through prepareImportedAudio, and also checks that a lookalike filename keeps its own name.

These are the non-blocking follow-ups from the #1819 review (reviews/next-release/1819.md). Hold the merge until the 1.1.63 RC is cut: main is frozen.

Why

Leftovers from the #1819 deep review.

Product Impact

  • Affects: dictation
  • Lane: dictation reliability

What changed

  • Sources/UI/Overlay/FloatingOverlayController.swift, DictationSessionController.swift
  • Tests: MeetingImportedAudioPreparerTests.swift, DictationQueuedStartPolicyTests.swift

How I checked it

  • bash scripts/dev/linux-checks.sh (49 passed)
  • bash build.sh --no-open / bash run-tests.sh: CI (no Swift toolchain in this session)

Risk Review

  • No new telemetry, storage, or copy

Agent handoff

COORD_DONE: BRIEF | this PR | 3 small #1819 follow-ups | none | hold merge until RC cut | linux-checks | CI + deep review

🤖 Generated with Claude Code

https://claude.ai/code/session_01RpbEynta8Qgv2RiZMg4nUu


Generated by Claude Code

…flag

- Test the "Saved dictation" import title through the public
  prepareImportedAudio path (and that a lookalike filename keeps its name).
- A press waiting for the next take may start over a passing note about a
  take that went fine (no speech heard, "Pasted. Press Return to send it.").
  Failures and copy-only notices still hold it back.
- Quit's no-new-take flag stays set once Quit is admitted; every refusal
  clears it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RpbEynta8Qgv2RiZMg4nUu
@r3dbars r3dbars self-assigned this Sep 24, 2026
@r3dbars
r3dbars marked this pull request as ready for review September 24, 2026 09:30
@r3dbars
r3dbars merged commit 98e6930 into main Sep 24, 2026
8 checks passed
@r3dbars
r3dbars deleted the claude/paper-cuts-dictation-followup-j5jtnm branch September 24, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants