Add persistent history for file transcriptions#172
Open
hazzahex wants to merge 2 commits intoaltic-dev:mainfrom
Open
Add persistent history for file transcriptions#172hazzahex wants to merge 2 commits intoaltic-dev:mainfrom
hazzahex wants to merge 2 commits intoaltic-dev:mainfrom
Conversation
Contributor
Author
|
Ran the suggested formatter, and it appears to modify all all Happy to commit those changes if required. |
- 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>
a170fd9 to
ac3f78e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
FileTranscriptionHistoryStoreandFileTranscriptionEntryso completed file transcriptions are saved to UserDefaults (cap 50, newest first).transcribeFile(), append the result to the store so it survives navigation away from the Meeting Transcription tab.FileTranscriptionEntry.toTranscriptionResult().TranscriptionResultan explicit initializer and custom Codable (id not encoded) so history entries can be turned intoTranscriptionResultfor export and so decoding stays backward compatible.Type of Change
Related Issues
Relates #141
Testing
brew install swiftlint && swiftlint --strict --config .swiftlint.ymlbrew install swiftformat && swiftformat --config .swiftformat SourcesScreenshots / Video
Screen.Recording.2026-02-19.at.22.15.47.mp4