Files
YG-Datasets/.daily-work-cache.json
Developer 6aa271c4f7 refactor: 前端架构重构 - 提取 CSS 和逻辑到独立模块
前端重构:
- 删除旧的大体积 Vue 组件(HomeView, FileManage, TextSplit 等)
- 删除旧的 composables(useFormatters, useModels, useProjects)
- 新增 core/, page-logic/, pages/, shared/ 模块化目录结构
- 提取 CSS 到 styles/pages/ 目录
- 添加全局样式 variables.css 和 common.css

后端 API 更新:
- chunks: 语义分割 API 增强
- files: 文件处理 API 更新
- models: 模型管理 API 更新
- questions: 问答管理 API 更新
- database: 数据库连接优化
- semantic_embedding: 语义嵌入服务优化

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 14:23:34 +08:00

152 lines
5.4 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"date": "2026-03-17",
"project": "YG-Datasets",
"projectPath": "/data/code/YG-Datasets",
"entries": [
{
"time": "17:28",
"type": "feature",
"title": "后端核心架构模块",
"files": ["backend/app/core/auth.py", "backend/app/core/crud.py", "backend/app/core/exceptions.py", "backend/app/core/logging.py"],
"description": "添加认证模块、CRUD基础操作、异常处理、日志模块",
"source": "git-commit"
},
{
"time": "17:28",
"type": "feature",
"title": "后端 API Schemas 定义",
"files": ["backend/app/schemas/chunk.py", "backend/app/schemas/dataset.py", "backend/app/schemas/eval.py"],
"description": "添加数据结构的 Schema 定义",
"source": "git-commit"
},
{
"time": "17:28",
"type": "feature",
"title": "前端 TypeScript 类型定义和组件",
"files": ["frontend/src/api/index.ts", "frontend/src/components/", "frontend/src/types/"],
"description": "添加 TypeScript API 客户端和组件",
"source": "git-commit"
},
{
"time": "17:29",
"type": "feature",
"title": "前端页面功能和 UI 优化",
"files": ["frontend/src/views/ModelSettingsView.vue", "frontend/src/views/HomeView.vue"],
"description": "添加模型配置页面,优化项目列表和删除功能",
"source": "git-commit"
},
{
"time": "17:29",
"type": "change",
"title": "项目配置文件",
"files": ["backend/pyproject.toml", "frontend/tsconfig.json"],
"description": "添加项目配置文件",
"source": "git-commit"
},
{
"time": "17:29",
"type": "change",
"title": "一键启动脚本",
"files": ["start.sh"],
"description": "添加一键启动脚本",
"source": "git-commit"
},
{
"time": "17:29",
"type": "feature",
"title": "后端 API 端点实现",
"files": ["backend/app/api/v1/projects/__init__.py", "backend/app/api/v1/datasets/__init__.py"],
"description": "更新 API 端点实现",
"source": "git-commit"
},
{
"time": "17:30",
"type": "feature",
"title": "后端核心模块和文件处理",
"files": ["backend/app/core/config.py", "backend/app/main.py", "backend/app/models/models.py"],
"description": "更新核心模块和文件处理器",
"source": "git-commit"
},
{
"time": "17:30",
"type": "change",
"title": "前端依赖和路由配置",
"files": ["frontend/package.json", "frontend/src/router/index.js", "frontend/vite.config.js"],
"description": "更新依赖和路由配置",
"source": "git-commit"
},
{
"time": "17:30",
"type": "refactor",
"title": "前端 API 客户端重构",
"files": ["frontend/src/api/index.js", "frontend/src/api/index.ts"],
"description": "用 TypeScript 版本替换 JavaScript API 客户端",
"source": "git-commit"
},
{
"time": "17:35",
"type": "bugfix",
"title": "修复返回按钮白色背景遮挡",
"files": ["frontend/src/views/ModelSettingsView.vue"],
"description": "修复模型配置页面返回按钮 hover 时白色背景遮挡问题",
"source": "manual"
},
{
"time": "17:40",
"type": "change",
"title": "Git 代码推送",
"files": [],
"description": "推送所有代码更改到远程仓库",
"source": "manual"
},
{
"time": "22:40",
"type": "bugfix",
"title": "修复数据库初始化问题",
"files": ["backend/app/core/database.py", "backend/app/main.py"],
"description": "修复数据库表未创建的问题,添加 models 导入确保 Base.metadata 包含所有模型",
"source": "manual"
},
{
"time": "22:42",
"type": "bugfix",
"title": "修复 API 响应序列化错误",
"files": ["backend/app/api/v1/models/__init__.py", "backend/app/schemas/model.py"],
"description": "修复 SQLAlchemy ORM 对象无法序列化为 JSON 的问题,使用 model_validate() 转换",
"source": "manual"
},
{
"time": "22:45",
"type": "feature",
"title": "添加供应商默认 API Base URL",
"files": ["frontend/src/views/ModelSettingsView.vue"],
"description": "为 MiniMax、GLM、OpenAI Compatible 三个供应商添加默认 API Base URL自动填充",
"source": "manual"
},
{
"time": "22:50",
"type": "feature",
"title": "实现模型连接测试功能",
"files": ["backend/app/api/v1/models/__init__.py", "frontend/src/views/ModelSettingsView.vue", "frontend/src/api/index.ts"],
"description": "后端添加测试连接 API前端调用并显示连接状态已联通/未联通/待测试)",
"source": "manual"
},
{
"time": "22:55",
"type": "feature",
"title": "创建 git-commit skill",
"files": ["/root/.claude/skills/git-commit/SKILL.md"],
"description": "创建 Git 分批提交技能,自动分析 git 状态,按功能分组文件,生成规范提交信息",
"source": "manual"
},
{
"time": "23:00",
"type": "change",
"title": "前端 UI 样式调整",
"files": ["frontend/src/App.vue", "frontend/src/main.js"],
"description": "添加 Ant Design Vue 组件库,调整 Select 组件暗色样式",
"source": "manual"
}
]
}