dev-manager-tauri/.blueprint/modules/user-project-todos.md
lanrtop 6162533c77 feat: 飞轮阶段一 + 项目个人备忘功能
飞轮智能成长阶段一:
- 梦核 prompt 注入跨项目复盘笔记,新增【高频陷阱】分析节
- 修复 collect_flywheel_notes 查错表 bug(projects → project_workspaces)
- MCP append_project_note 描述内嵌【复盘】结构化格式,引导 Claude 写标准笔记
- FlywheelStats 新增 project_notes 字段,支持 win_path/wsl_path 两种路径匹配

项目个人备忘(user_project_todos):
- 新表 + 4 个 Rust command,依赖注入写法,6 个单元测试全绿
- UserTodoPanel 组件,📝 按钮展开,支持新增/勾选/删除

CONVENTIONS v1.4.4:新增 Rust 可测试性规范(依赖注入强制要求)
2026-04-11 17:21:47 +09:00

20 lines
1.0 KiB
Markdown
Raw Permalink 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.

# 项目个人备忘
用户为每个项目写的自由文本待办清单纯个人备忘Claude 不感知、不介入。
无格式要求,写啥都行,支持勾选完成和删除。
## 任务卡
### ✅ 数据层user_project_todos 表 + Rust commands
- status: done
- complexity: S
- files: src-tauri/src/db.rs, src-tauri/src/commands/user_todos.rs, src-tauri/src/lib.rs
- acceptance: 新表迁移成功get/add/toggle/delete 四个 command 可调用Rust 函数使用依赖注入conn 作为参数cargo test 覆盖主路径和空数据边界
### ✅ 前端:备忘清单 UI 组件
- status: done
- complexity: M
- depends: user-project-todos数据层完成后
- files: src/components/dashboard/UserTodoPanel.tsx, src/lib/commands.ts, src/components/dashboard/ProjectCard.tsx
- acceptance: 项目卡片或详情面板可展开备忘清单;支持输入新条目(回车确认);支持勾选完成(视觉划线);支持删除;空状态有引导文案;条目按 sort_order 排列