deerflow2/frontend/src/components/workspace
LofiSu c14378a312 feat: refine citations format and improve content presentation
Backend:
- Simplify citations prompt format and rules
- Add clear distinction between chat responses and file content
- Enforce full URL usage in markdown links, prohibit [cite-1] format
- Require content-first approach: write full content, then add citations at end

Frontend:
- Hide <citations> block in both chat messages and markdown preview
- Remove top-level Citations/Sources list for cleaner UI
- Auto-remove <citations> block in code editor view for markdown files
- Keep inline citation hover cards for reference details

This ensures citations are presented like Claude: clean content with inline reference badges.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-29 12:29:13 +08:00
..
artifacts feat: refine citations format and improve content presentation 2026-01-29 12:29:13 +08:00
messages feat: refine citations format and improve content presentation 2026-01-29 12:29:13 +08:00
settings feat: update translations 2026-01-25 11:54:49 +08:00
code-editor.tsx feat: fallback to textarea when loading 2026-01-28 10:13:17 +08:00
copy-button.tsx feat: implement i18n 2026-01-20 14:06:47 +08:00
flip-display.tsx feat: re-implement message group 2026-01-18 19:56:07 +08:00
github-icon.tsx feat: implement basic web app 2026-01-15 23:40:21 +08:00
input-box.tsx feat: auto select the first model as default model 2026-01-26 17:13:34 +08:00
overscroll.tsx feat: implement basic web app 2026-01-15 23:40:21 +08:00
recent-chat-list.tsx feat: add inline citations and thread management features 2026-01-28 19:15:11 +08:00
streaming-indicator.tsx feat: implement basic web app 2026-01-15 23:40:21 +08:00
thread-title.tsx feat: extract ThreadTitle component 2026-01-17 17:37:12 +08:00
todo-list.tsx feat: show in-progress 2026-01-22 11:56:45 +08:00
tooltip.tsx feat: adjust layout and style of tooltip 2026-01-16 19:51:14 +08:00
welcome.tsx feat: implement i18n 2026-01-20 14:06:47 +08:00
workspace-container.tsx feat: implement i18n 2026-01-20 14:06:47 +08:00
workspace-header.tsx fix: eslint 2026-01-27 10:39:44 +08:00
workspace-nav-chat-list.tsx feat: add main menu 2026-01-22 14:19:54 +08:00
workspace-nav-menu.tsx feat: add more links 2026-01-24 18:21:50 +08:00
workspace-sidebar.tsx fix: hide chats when sidebar is not open 2026-01-27 10:41:08 +08:00