feat(menu-bar): add copy last transcript action
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
MenuBarManagerimmediately 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 --checkplutil -lint Fluid.xcodeproj/project.pbxproj Info.plist Fluid.entitlementsxcodebuild 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=NOxcodebuild build -project Fluid.xcodeproj -scheme Fluid -configuration Debug -destination 'platform=macOS,arch=arm64' CODE_SIGN_IDENTITY='' CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
@codex review
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
Sure @grohith327
Bumping this for you @grohith327