deerflow2/frontend/src/components
Ben Ghorbel Mohamed Aziz e349c41945 feat(web): add conversation export as Markdown and JSON (#1002)
* feat(web): add conversation export as Markdown and JSON (#976)

Add the ability to export conversations in Markdown and JSON formats,
accessible from both the chat header and the sidebar context menu.

- Add export utility (formatThreadAsMarkdown, formatThreadAsJSON) with
  support for user/assistant messages, thinking blocks, and tool calls
- Add ExportTrigger component in chat header (appears when messages exist)
- Add Export submenu to sidebar dropdown (fetches full thread state on demand)
- Add i18n translations for en-US and zh-CN

Closes #976

Made-with: Cursor

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update thread creation timestamp to updated_at

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-23 08:21:54 +08:00
..
ai-elements Fix line numbering (#954) 2026-03-02 20:43:58 +08:00
landing feat(agent):Supports custom agent and chat experience with refactoring (#957) 2026-03-03 21:32:01 +08:00
ui fix(frontend): gracefully handle missing WebGL context (#1147) 2026-03-16 21:22:17 +08:00
workspace feat(web): add conversation export as Markdown and JSON (#1002) 2026-03-23 08:21:54 +08:00
theme-provider.tsx feat: implement the first section of landing page 2026-01-23 00:15:21 +08:00