-
Notifications
You must be signed in to change notification settings - Fork 418
Added Export to PDF / Pre Meeting Notes Diff #980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThis update introduces a new PDF export utility and refactors the sharing workflow in the desktop app, adding a modular share button with PDF export and Slack sharing UI. It also replaces the inline search-and-replace UI in the transcript view with a toggleable search header, updates session state management for pre-meeting notes, and enhances the note enhancement logic. Changes
Sequence Diagram(s)1. PDF Export FlowsequenceDiagram
participant User
participant ShareButtonInNote
participant pdf-export util
participant TauriFS
User->>ShareButtonInNote: Click "Export as PDF"
ShareButtonInNote->>pdf-export util: exportToPDF(session)
pdf-export util->>TauriFS: Write PDF file to Downloads
TauriFS-->>pdf-export util: Success/Error
pdf-export util-->>ShareButtonInNote: PDF path or error
ShareButtonInNote-->>User: Show success/error message
2. Search Header Activation in Transcript ViewsequenceDiagram
participant User
participant TranscriptView
participant SearchHeader
participant EditorRef
User->>TranscriptView: Press Ctrl/Cmd+F or click search button
TranscriptView->>SearchHeader: Render SearchHeader
SearchHeader->>EditorRef: Set search term, navigate, replace, etc.
User->>SearchHeader: Interact with search/replace UI
SearchHeader->>TranscriptView: Call onClose (if closed)
3. Enhance Mutation Input PreparationsequenceDiagram
participant EditorArea
participant useEnhanceMutation
participant extractTextFromHtml
participant diffWords
EditorArea->>useEnhanceMutation: Call with preMeetingNote, rawContent
useEnhanceMutation->>extractTextFromHtml: Convert preMeetingNote to text
useEnhanceMutation->>extractTextFromHtml: Convert rawContent to text
useEnhanceMutation->>diffWords: Compute diff (preMeetingNote, rawContent)
diffWords-->>useEnhanceMutation: Diff result
useEnhanceMutation->>useEnhanceMutation: Build finalInput (added words)
useEnhanceMutation->>Enhance LLM: Send prompt with finalInput
Possibly related PRs
📜 Recent review detailsConfiguration used: .coderabbit.yaml ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (12)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
No description provided.