FluidVoice icon indicating copy to clipboard operation
FluidVoice copied to clipboard

feat(menu-bar): add copy last transcript action

Open matthewrball opened this issue 5 months ago • 5 comments

Summary

Adds a Copy Last Transcript item directly under the menu bar status row (Ready to Record...) so users can copy the most recent saved dictation without opening the main window or overlay actions menu.

What changed

  • Adds the menu item to MenuBarManager immediately below the status item.
  • Reuses the existing transcription history and clipboard service.
  • Centralizes the latest-copy text selection so both the overlay action and menu bar action prefer processed text, then fall back to raw text.
  • Adds focused tests for the clipboard text selection behavior.

Validation

  • git diff --check
  • plutil -lint Fluid.xcodeproj/project.pbxproj Info.plist Fluid.entitlements
  • xcodebuild test -project Fluid.xcodeproj -scheme Fluid -destination 'platform=macOS,arch=arm64' -only-testing:FluidDictationIntegrationTests/DictationE2ETests/testTranscriptionHistoryEntryClipboardTextPrefersProcessedText -only-testing:FluidDictationIntegrationTests/DictationE2ETests/testTranscriptionHistoryEntryClipboardTextFallsBackToRawText -only-testing:FluidDictationIntegrationTests/DictationE2ETests/testTranscriptionHistoryEntryClipboardTextSkipsEmptyText CODE_SIGN_IDENTITY='' CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
  • xcodebuild build -project Fluid.xcodeproj -scheme Fluid -configuration Debug -destination 'platform=macOS,arch=arm64' CODE_SIGN_IDENTITY='' CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO

matthewrball avatar Jun 28 '26 03:06 matthewrball

@codex review

altic-dev avatar Jun 28 '26 10:06 altic-dev

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 58211064a6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@matthewrball Can you share a screenshot

grohith327 avatar Jul 02 '26 01:07 grohith327

Sure @grohith327 image

matthewrball avatar Jul 02 '26 01:07 matthewrball

Bumping this for you @grohith327

matthewrball avatar Jul 07 '26 03:07 matthewrball