Add per-message export feature for Markdown and Word formats#783
Add per-message export feature for Markdown and Word formats#783paullizer merged 20 commits intoDevelopmentfrom
Conversation
eldong
commented
Mar 9, 2026
- Implemented export options in the dropdown menu for individual chat messages.
- Added backend endpoint for exporting messages as Word documents.
- Created client-side functions for exporting messages to Markdown and Word.
- Updated release notes and documentation to reflect new features.
- Implemented export options in the dropdown menu for individual chat messages. - Added backend endpoint for exporting messages as Word documents. - Created client-side functions for exporting messages to Markdown and Word. - Updated release notes and documentation to reflect new features.
There was a problem hiding this comment.
Pull request overview
Adds per-message actions to the chat message “three dots” menu, enabling single-message export to Markdown (client-side) and Word (via a new backend endpoint), plus quick “Use as Prompt” and “Open in Email” actions.
Changes:
- Adds new per-message dropdown actions for both AI and user messages in the chat UI.
- Introduces
POST /api/message/export-wordto generate a.docxexport for a single message. - Adds feature documentation and release note entry; bumps app version to
0.239.007.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/explanation/release_notes.md | Adds release note entry for per-message export feature in v0.239.007. |
| docs/explanation/features/MESSAGE_EXPORT.md | New feature documentation describing per-message export options and architecture. |
| application/single_app/static/js/chat/chat-messages.js | Adds dropdown items + click handlers (dynamic import) for new per-message actions. |
| application/single_app/static/js/chat/chat-message-export.js | New client-side module implementing Markdown export, Word export call, prompt insertion, and mailto. |
| application/single_app/route_backend_conversation_export.py | Adds /api/message/export-word endpoint and basic Markdown→DOCX formatting helpers. |
| application/single_app/config.py | Bumps VERSION to 0.239.007. |
You can also share your feedback on Copilot code review. Take the survey.
(Pt, RGBColor, WD_ALIGN_PARAGRAPH, and _re) are not sued so removed them Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.
You can also share your feedback on Copilot code review. Take the survey.
Co-authored-by: eldong <11573590+eldong@users.noreply.github.com>
Move `python-docx` import to top-level in route_backend_conversation_export.py
Co-authored-by: eldong <11573590+eldong@users.noreply.github.com>
Fix misleading JSDoc comment on `copyAsPrompt()` to match actual behavior
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
You can also share your feedback on Copilot code review. Take the survey.
…ownership failures) Co-authored-by: eldong <11573590+eldong@users.noreply.github.com>
[WIP] Add functional test script for export feature
Co-authored-by: eldong <11573590+eldong@users.noreply.github.com>
Remove false timestamp claims from per-message export feature
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.
You can also share your feedback on Copilot code review. Take the survey.
docs: remove overstated timestamp claim from per-message Markdown export release note
|
@eldong, just one change to make |
…r(e) for debug only Co-authored-by: eldong <11573590+eldong@users.noreply.github.com>
[WIP] [WIP] Address feedback on per-message export feature