Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Dec 21, 2025

Summary

Adds granular control over auto-export functionality with two settings: auto_export_notes (for summaries and memos) and auto_export_transcript (for VTT subtitle files). The transcript export uses the existing exportToVtt command.

Changes:

  • Added two new settings: auto_export_notes, auto_export_transcript under the data section in settings.json
  • Extended localPersister2 with a new AutoExportOptions interface and transcript export handler
  • Added getWordsForSession helper to collect words for a session's transcripts
  • Updated export settings UI with nested toggles that appear when auto-export is enabled

Updates since last revision

  • Merged with origin/main which refactored localPersister2 to use the new batch export system (exportTiptapJsonToMdBatch)
  • Fixed TypeScript error: added speaker property to VttWord objects in getWordsForSession (required by updated VttWord type)
  • Fixed test argument order: updated test to pass undefined for the optional handlePersistTranscript parameter before the options object

Review & Testing Checklist for Human

  • Verify speaker field handling: The getWordsForSession function sets speaker: (word.speaker as string) ?? null - verify this works correctly with actual transcript data (speaker may not always be populated)
  • Test the UI: Enable auto-export and verify the two sub-toggles (Notes, Transcript) appear. Toggle each one and verify settings persist after app restart.
  • Test transcript export: Record a session with transcription, enable auto-export + transcript export, and verify a VTT file is created in the session directory.
  • Verify default behavior: When enabling auto-export for the first time, both sub-options should be enabled by default (they use !== false check).

Recommended test plan:

  1. Open Settings > Data > Export
  2. Enable "Auto Export" - verify two sub-toggles appear (Notes, Transcript)
  3. Disable "Export Transcript", close and reopen settings - verify it stays disabled
  4. Create a new session, record some audio with transcription
  5. Re-enable "Export Transcript" and wait a few seconds
  6. Check the session directory for a .vtt file

Notes

…ript

- Add auto_export_summary, auto_export_memo, auto_export_transcript settings
- Update localPersister2 to support transcript export using exportToVtt
- Add UI toggles in export settings to control each export type
- Update jsonPersister to include data section in settings
- Use Set for O(1) transcript ID lookups in getWordsForSession

Co-Authored-By: yujonglee <[email protected]>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@netlify
Copy link

netlify bot commented Dec 21, 2025

Deploy Preview for hyprnote ready!

Name Link
🔨 Latest commit 8e7af23
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/694ff2a195f707000843b420
😎 Deploy Preview https://deploy-preview-2451--hyprnote.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Dec 21, 2025

Deploy Preview for hyprnote-storybook ready!

Name Link
🔨 Latest commit 8e7af23
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/694ff2a1e649720008fca441
😎 Deploy Preview https://deploy-preview-2451--hyprnote-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 21, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

…rt_transcript)

- Replace auto_export_summary and auto_export_memo with single auto_export_notes
- Update localPersister2 to use isNotesEnabled instead of separate checks
- Simplify export.tsx UI to show only 2 toggles (Notes and Transcript)

Co-Authored-By: yujonglee <[email protected]>
@devin-ai-integration devin-ai-integration bot changed the title feat: add granular auto-export settings for summary, memo, and transcript feat: add auto-export settings for notes and transcript Dec 21, 2025
devin-ai-integration bot and others added 2 commits December 27, 2025 14:47
Resolve merge conflicts:
- Integrate transcript export with new batch export system in localPersister2
- Update AutoExportOptions to use simplified notes/transcript structure
- Keep saveTranscriptToFile function for VTT export

Co-Authored-By: yujonglee <[email protected]>
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