Skip to content

Add per-message export feature for Markdown and Word formats#783

Merged
paullizer merged 20 commits intoDevelopmentfrom
export-message
Mar 13, 2026
Merged

Add per-message export feature for Markdown and Word formats#783
paullizer merged 20 commits intoDevelopmentfrom
export-message

Conversation

@eldong
Copy link
Collaborator

@eldong 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.
Copilot AI review requested due to automatic review settings March 9, 2026 23:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-word to generate a .docx export 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>
Copilot AI review requested due to automatic review settings March 10, 2026 13:22
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Contributor

Copilot AI commented Mar 10, 2026

@eldong I've opened a new pull request, #784, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 3 commits March 10, 2026 14:45
Co-authored-by: eldong <11573590+eldong@users.noreply.github.com>
Move `python-docx` import to top-level in route_backend_conversation_export.py
Copy link
Contributor

Copilot AI commented Mar 10, 2026

@eldong I've opened a new pull request, #785, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI commented Mar 10, 2026

@eldong I've opened a new pull request, #786, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits March 10, 2026 14:50
Co-authored-by: eldong <11573590+eldong@users.noreply.github.com>
Fix misleading JSDoc comment on `copyAsPrompt()` to match actual behavior
Copilot AI review requested due to automatic review settings March 10, 2026 14:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot AI and others added 3 commits March 10, 2026 14:58
…ownership failures)

Co-authored-by: eldong <11573590+eldong@users.noreply.github.com>
[WIP] Add functional test script for export feature
Copy link
Contributor

Copilot AI commented Mar 10, 2026

@eldong I've opened a new pull request, #787, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits March 10, 2026 15:09
Co-authored-by: eldong <11573590+eldong@users.noreply.github.com>
Remove false timestamp claims from per-message export feature
Copilot AI review requested due to automatic review settings March 10, 2026 15:11
Copy link
Contributor

Copilot AI commented Mar 10, 2026

@eldong I've opened a new pull request, #788, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
@paullizer
Copy link
Contributor

@eldong, just one change to make

Copy link
Contributor

Copilot AI commented Mar 12, 2026

@eldong I've opened a new pull request, #796, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits March 12, 2026 20:15
…r(e) for debug only

Co-authored-by: eldong <11573590+eldong@users.noreply.github.com>
[WIP] [WIP] Address feedback on per-message export feature
@paullizer paullizer merged commit fe46c15 into Development Mar 13, 2026
4 checks passed
@paullizer paullizer deleted the export-message branch March 13, 2026 11:23
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.

5 participants