Skip to content

Add persistent history for file transcriptions#172

Open
hazzahex wants to merge 2 commits intoaltic-dev:mainfrom
hazzahex:feature/file-transcription-history
Open

Add persistent history for file transcriptions#172
hazzahex wants to merge 2 commits intoaltic-dev:mainfrom
hazzahex:feature/file-transcription-history

Conversation

@hazzahex
Copy link
Contributor

@hazzahex hazzahex commented Feb 19, 2026

Description

  • Add FileTranscriptionHistoryStore and FileTranscriptionEntry so completed file transcriptions are saved to UserDefaults (cap 50, newest first).
  • After a successful transcribeFile(), append the result to the store so it survives navigation away from the Meeting Transcription tab.
  • In Meeting Transcription UI: add a "Recent transcriptions" section below the result/error cards with a selectable list; tapping an entry shows a detail card (copy, export, delete). Reuse existing export/copy flow via FileTranscriptionEntry.toTranscriptionResult().
  • Give TranscriptionResult an explicit initializer and custom Codable (id not encoded) so history entries can be turned into TranscriptionResult for export and so decoding stays backward compatible.

Type of Change

  • 🐞 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📝 Documentation update

Related Issues

Relates #141

Testing

  • Tested on Intel/Apple Silicon Mac
  • Tested on Apple Silicon Mac
  • Tested on macOS Tahoe 26.4
  • Ran linter locally: brew install swiftlint && swiftlint --strict --config .swiftlint.yml
  • Ran formatter locally: brew install swiftformat && swiftformat --config .swiftformat Sources

Screenshots / Video

Screen.Recording.2026-02-19.at.22.15.47.mp4

@hazzahex hazzahex marked this pull request as ready for review February 19, 2026 21:20
@hazzahex
Copy link
Contributor Author

Ran the suggested formatter, and it appears to modify all all .swift files.

Happy to commit those changes if required.

hazzahex and others added 2 commits February 21, 2026 23:37
- Add FileTranscriptionHistoryStore and FileTranscriptionEntry so completed
  file transcriptions are saved to UserDefaults (cap 50, newest first).
- After a successful transcribeFile(), append the result to the store so
  it survives navigation away from the Meeting Transcription tab.
- In Meeting Transcription UI: add a "Recent transcriptions" section below
  the result/error cards with a selectable list; tapping an entry shows a
  detail card (copy, export, delete). Reuse existing export/copy flow via
  FileTranscriptionEntry.toTranscriptionResult().
- Give TranscriptionResult an explicit initializer and custom Codable
  (id not encoded) so history entries can be turned into TranscriptionResult
  for export and so decoding stays backward compatible.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@hazzahex hazzahex force-pushed the feature/file-transcription-history branch from a170fd9 to ac3f78e Compare February 21, 2026 22:38
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.

1 participant