feat(platform): add chat export as PDF and Markdown#1322
Conversation
Add export/download functionality to the AI chat page with message selection. Users can choose which messages to include via checkboxes (default all selected), then export as PDF (via browser print) or Markdown (client-side download). Internal structural markers like [[CONCLUSION]] and [[KEY_POINTS]] are stripped from exported content.
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis pull request adds a chat export feature to the platform. A new "Download" button is added to the chat header component that opens an export dialog. The dialog displays selectable messages (user and assistant roles only), allows users to select or deselect individual messages or all at once, and provides two export options: Markdown and PDF formats. Supporting changes include a new Convex query endpoint for fetching thread messages, and localization strings in English and German for all export-related UI labels and messaging. Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Summary
[[CONCLUSION]],[[KEY_POINTS]],[[DETAILS]], etc.) are stripped from exported contentCloses #1189
Test plan
.mdfile downloads with correct content[[CONCLUSION]],[[KEY_POINTS]]markersSummary by CodeRabbit
Release Notes