Skip to content

Added ability to export conversations & set retention policies#734

Open
eldong wants to merge 8 commits intoDevelopmentfrom
export-conversations
Open

Added ability to export conversations & set retention policies#734
eldong wants to merge 8 commits intoDevelopmentfrom
export-conversations

Conversation

@eldong
Copy link
Collaborator

@eldong eldong commented Feb 24, 2026

This PR also includes the feature to allow users to set the group and workspace retention policies

Copilot AI review requested due to automatic review settings February 24, 2026 15:31
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

This pull request adds a conversation export feature that allows users to export their conversations in JSON or Markdown format, with options for single-file or ZIP packaging. The export wizard provides a multi-step interface for selecting conversations, choosing formats, and downloading the results.

However, the PR contains significant unrelated changes including:

  • Retention policy settings UI for public and group workspaces
  • MIME type registration for font files
  • Custom logo image files

Changes:

  • Added conversation export backend endpoint with sanitization and active thread filtering
  • Implemented multi-step export wizard with Bootstrap modal UI
  • Added export buttons to conversation lists and sidebar with selection mode support
  • Included functional tests validating export logic and feature documentation

Reviewed changes

Copilot reviewed 15 out of 17 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
functional_tests/test_conversation_export.py Comprehensive tests for export sanitization, markdown generation, ZIP packaging, and active thread filtering
docs/explanation/features/CONVERSATION_EXPORT.md Complete feature documentation covering architecture, usage, and security
application/single_app/route_backend_conversation_export.py Backend API endpoint with conversation/message sanitization and format conversion
application/single_app/app.py Route registration for export endpoint
application/single_app/templates/chats.html Export wizard modal and button integration
application/single_app/templates/_sidebar_nav.html Export button in sidebar with compact styling
application/single_app/templates/_sidebar_short_nav.html Export button in short sidebar variant
application/single_app/static/js/chat/chat-export.js Export wizard module with multi-step UI logic
application/single_app/static/js/chat/chat-conversations.js Export button integration in main conversations list
application/single_app/static/js/chat/chat-sidebar-conversations.js Export menu item and button handlers in sidebar
application/single_app/static/css/sidebar.css Compact button styling for selection mode actions
application/single_app/templates/public_workspaces.html UNRELATED: Retention policy settings tab
application/single_app/templates/group_workspaces.html UNRELATED: Retention policy settings tab
application/single_app/static/js/public/public_workspace.js UNRELATED: Retention policy functions + broken import
application/single_app/config.py UNRELATED: MIME type registration for fonts
application/single_app/static/images/custom_logo.png UNRELATED: Custom logo image
application/single_app/static/images/custom_logo_dark.png UNRELATED: Custom logo dark mode image

Copy link
Contributor

@paullizer paullizer left a comment

Choose a reason for hiding this comment

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

please update release_notes.md with the feature

Copilot AI review requested due to automatic review settings February 24, 2026 19:57
@eldong
Copy link
Collaborator Author

eldong commented Feb 24, 2026

I updated the release notes to include the Export Conversations and Retention policy UI features.

@eldong eldong requested a review from paullizer February 24, 2026 20:00
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 16 out of 18 changed files in this pull request and generated 3 comments.

@eldong eldong changed the title Added ability to export conversations Added ability to export conversations & set retention policies Feb 25, 2026
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.

Export Conversations via Multi Step Modal from Chat Ellipse Menu with Multi Select Support

4 participants