deerflow2/frontend/src/app
Ben Ghorbel Mohamed Aziz 38ace61617
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
..
api/auth/[...all] chore: remove 2026-01-16 19:50:17 +08:00
mock/api fix: improve MiniMax code plan integration (#1169) 2026-03-20 17:18:59 +08:00
workspace feat(web): add conversation export as Markdown and JSON (#1002) 2026-03-23 08:21:54 +08:00
layout.tsx fix: improve MiniMax code plan integration (#1169) 2026-03-20 17:18:59 +08:00
page.tsx feat: implement the first version of landing page 2026-01-23 13:24:03 +08:00