FluidVoice icon indicating copy to clipboard operation
FluidVoice copied to clipboard

Support Voice Memos file drops for meeting transcription(#219)

Open Yaomeng1749 opened this issue 5 months ago • 1 comments

Fixes #219

Summary

  • Accept file promise drops from Voice Memos in Meeting Transcription.
  • Allow selecting and queuing multiple local files for sequential transcription.
  • Add focused coverage for supported URL filtering, drop/pasteboard type registration, and item-provider representation detection.

Tests

  • swiftlint --strict --config .swiftlint.yml
  • xcodebuild test -quiet -project Fluid.xcodeproj -scheme Fluid -destination 'platform=macOS' -derivedDataPath /Users/yaomeng/Library/Developer/Xcode/DerivedData/Fluid-afdlxoaqyckzxcdgcnblcegocvnz -clonedSourcePackagesDirPath /Users/yaomeng/Library/Developer/Xcode/DerivedData/Fluid-afdlxoaqyckzxcdgcnblcegocvnz/SourcePackages -disableAutomaticPackageResolution -only-testing:FluidDictationIntegrationTests/DictationE2ETests/testMeetingTranscriptionFileImport_filtersAndDedupesSupportedURLs -only-testing:FluidDictationIntegrationTests/DictationE2ETests/testMeetingTranscriptionFileImport_registersFileURLAndPromiseDropTypes -only-testing:FluidDictationIntegrationTests/DictationE2ETests/testMeetingTranscriptionFileImport_detectsAudioItemProviderRepresentations CODE_SIGNING_ALLOWED=NO

Local result bundle summary: 3 selected tests passed, 0 failed on macOS (My Mac). Xcode printed a CoreSimulator version warning before running the macOS tests.

Yaomeng1749 avatar Jul 02 '26 19:07 Yaomeng1749

Rebased on current main and verified locally.

This fixes the import path that Voice Memos uses when dragging recordings into Meeting Transcription: those drops arrive as promised files, not just plain file URLs. The view now accepts both normal file URLs and file promises, supports multiple selected files, and queues the selected files for sequential transcription.

Checks run:

  • swiftlint --strict --config .swiftlint.yml
  • targeted xcodebuild test for the three new MeetingTranscriptionFileImport regression tests: 3 passed, 0 failed on macOS/My Mac.

Yaomeng1749 avatar Jul 02 '26 19:07 Yaomeng1749

Hey @Yaomeng1749 just getting to this, pls update PR description with the format, publish it for review when ready

grohith327 avatar Jul 19 '26 00:07 grohith327