Skip to content

Allow disabling transcription history for privacy#121

Open
lucyfarnik wants to merge 2 commits intoStarmel:masterfrom
lucyfarnik:feature/disable-transcription-history
Open

Allow disabling transcription history for privacy#121
lucyfarnik wants to merge 2 commits intoStarmel:masterfrom
lucyfarnik:feature/disable-transcription-history

Conversation

@lucyfarnik
Copy link
Copy Markdown

Summary

  • Adds a "Save Transcription History" toggle in a new Privacy section under Transcription settings
  • When disabled, audio recordings and transcriptions are deleted immediately after use instead of being persisted to disk
  • Transcription still works normally for pasting into the active window

Test plan

  • Enable the toggle (default) and verify recordings are saved as before
  • Disable the toggle and verify no files are written to the transcriptions directory
  • Verify transcription text is still pasted correctly when history is disabled

Add a "Save Transcription History" toggle under a new Privacy section
in transcription settings. When disabled, audio files and transcription
text are deleted immediately after use instead of being saved to disk.
The transcription still works for pasting into the active window.

func addFileToQueue(url: URL) async {
guard AppPreferences.shared.saveTranscriptionHistory else {
print("Transcription history disabled, skipping file queue")
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a dialog with an option to enable transcription saving.

Instead of silently returning when transcription history is disabled,
show an NSAlert dialog asking the user if they want to enable
transcription saving. If they confirm, enable the preference and
proceed with queuing the file.
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