|
|
61b479e2be
|
feat: 拆分模型/供应商为独立路由页面,侧边栏支持 SubMenu 分组
|
2026-06-04 11:11:32 +08:00 |
|
|
|
f67cfa84ef
|
feat: 用自定义侧边栏替换聊天室 Conversations 组件,提取公共 SidebarGroup 和 date-group
|
2026-06-04 00:46:57 +08:00 |
|
|
|
eb93de52d8
|
fix: 修正 markdown-to-jsx 导入方式 + 新增 formatDateLabel 日期工具函数
- TextPart: default import → named import
- MaterialCard: 使用 formatDateLabel 显示今天/昨天/日期
- 清理旧测试文件,新增 ResourceTable 测试
|
2026-06-03 21:08:00 +08:00 |
|
|
|
ad10134c20
|
chore: merge dev-chat into master
# Conflicts:
# src/web/styles.css
|
2026-06-03 17:56:02 +08:00 |
|
|
|
a896091d27
|
feat: 增强 Markdown 代码块高亮和表格样式
|
2026-06-03 17:23:43 +08:00 |
|
|
|
21b557c255
|
feat(inbox): 素材持久化 CRUD — 数据库表 + API + 前端接入
- 新增 materials 表(id/projectId/description/associatedDate/status/createdAt/updatedAt)
- 新增 4 个后端 API 路由(list/create/get/delete)+ 13 个测试
- 新增 use-materials hooks(TanStack Query)
- 收集箱页面重构为三层架构(InboxPage + MaterialSidebar + MaterialDetailPanel)
- MaterialCard: Popconfirm 删除确认 + 粗粒度时间格式
- MaterialContent: 展示状态标签 + createdAt
- 更新开发文档 backend.md / frontend.md
|
2026-06-03 14:53:23 +08:00 |
|
|
|
5b09a16bc3
|
refactor(web): React 最佳实践优化 — memo/callback + 目录边界 + 路由增强
- useLogger: useMemo + JSON.stringify 替代 useState 派生
- useIsDark: effectiveTheme 替代 token 色值比较
- useCurrentProject: layouts/ 提升到 shared/hooks/
- ConsoleShell: locale useMemo 缓存
- ConsoleOutlet: 添加 Suspense 边界
- routes: 添加 layout 级 errorElement
- Table 组件: operationColumn useMemo + useCallback
- ChatPanel: footer 合并为 useCallback, props 传入模型数据
- ChatPage: textModels/conversations useMemo 缓存
|
2026-06-03 11:32:28 +08:00 |
|
|
|
b1dec691e9
|
refactor(web): 前端目录重构 — consoles/pages → layouts/features + shared
- consoles/admin/ → layouts/admin-layout/
- consoles/workbench/ → layouts/workbench-layout/ + features/chat/
- pages/ → features/ (dashboard, models, projects, not-found)
- components/ → shared/components/
- hooks/ → shared/hooks/
- utils/ → shared/utils/
- 更新所有 import 路径 (src/web/ + tests/web/)
- 更新开发文档 (README.md, frontend.md, architecture.md)
|
2026-06-02 23:17:28 +08:00 |
|