refactor(ux): combined sources to one section

- Renamed "Documents" section to "Sources" in the dashboard layout.
- Updated routing for adding sources and managing documents.
- Refactored the connectors and documents upload pages to redirect to the new sources section.
- Added localization support for the new "Sources" terminology in English and Chinese.
This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-11-07 14:28:30 -08:00
parent ed348b1bf9
commit 8c54ca27d7
16 changed files with 1188 additions and 1332 deletions

View file

@ -134,6 +134,8 @@
"platform": "平台",
"researcher": "AI 研究",
"manage_llms": "管理 LLM",
"sources": "数据源",
"add_sources": "添加数据源",
"documents": "文档",
"upload_documents": "上传文档",
"add_webpages": "添加网页",