- 数据: Habit/CheckIn/CheckList/CheckListItem/CheckListTemplate + 迁移 + 重新生成 client
- 后端: server/checkin/period.js 周期计算(日/周/月/年, 周一起始, Asia/Shanghai)
/api/checkin/* 打卡项CRUD/打卡/撤销/补打/某日详情/月历
/api/checklists/* 清单与检查项CRUD/勾选/全选/复制/模板(系统预置出差·回老家)
- 前端: 底部新增「打卡」Tab -> /checkin, 页内三视图
环形进度 RingProgress + 完成特效(粒子/光晕/触感, 可关闭)
打卡视图: 待办列表/乐观更新/撤销/新建编辑
日历视图: 月历网格 + 今天·昨天·明天 + 日期标记/完成率
清单视图: 场景清单/勾选进度条/模板生成/另存模板/归档
- 文档: docs/V0.2/需求文档.md 补充实现约定(附录B)与接口清单
50 lines
782 B
Plaintext
50 lines
782 B
Plaintext
# dependencies
|
|
/node_modules
|
|
/.pnp
|
|
.pnp.js
|
|
|
|
# testing
|
|
/coverage
|
|
|
|
# production
|
|
/build
|
|
/out
|
|
/.next
|
|
|
|
# misc
|
|
.DS_Store
|
|
.env.local
|
|
.env.development.local
|
|
.env.test.local
|
|
.env.production.local
|
|
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
# Editor directories and files
|
|
.idea
|
|
.vscode
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
dist/*
|
|
|
|
# local env (contains API keys)
|
|
/.env
|
|
.reasonix/*
|
|
# OTA 升级: 产物 (运行时生成, 部署时单独管理) + 私钥 (绝不能提交)
|
|
ota-package/*
|
|
!ota-package/README.md
|
|
|
|
# apizero 文件缓存 (运行时按需生成)
|
|
cache/apizero/
|
|
# Dockerfile 持久卷挂载点 (跟 ota-package 同类)
|
|
.cache/
|
|
# 米家凭证缓存 (含 token, 绝不能提交)
|
|
server/mihome/.cache/
|
|
# 工作区记忆/会话数据 (本地私有, 不入库)
|
|
.workbuddy/
|