18 Commits

Author SHA1 Message Date
bc0b392875 feat(deck): add daily learning limits and today's study stats
- Add newPerDay and revPerDay fields to Deck model (Anki-style)
- Add settings modal to configure daily limits per deck
- Display today's studied counts (new/review/learning) on deck page
- Add i18n translations for all 8 languages
- Fix JSON syntax errors in fr-FR.json and it-IT.json
- Fix double counting bug in repoGetTodayStudyStats
2026-03-16 09:01:55 +08:00
57ad1b8699 refactor: 完全重构为 Anki 兼容数据结构
- 用 Deck 替换 Folder
- 用 Note + Card 替换 Pair (双向复习)
- 添加 NoteType (卡片模板)
- 添加 Revlog (复习历史)
- 实现 SM-2 间隔重复算法
- 更新所有前端页面
- 添加数据库迁移
2026-03-10 19:20:46 +08:00
683a4104ec feat: 添加用户关注功能
- 新增 Follow 表和 User.bio 字段 (Prisma schema)
- 创建 follow 模块 (action-service-repository)
- 新增 FollowButton/FollowStats/UserList 组件
- 用户页面显示 bio、粉丝/关注数、关注按钮
- 新增 /users/[username]/followers 和 following 页面
- 添加 en-US/zh-CN i18n 翻译

⚠️ 需要运行: prisma migrate dev --name add_follow_and_bio
2026-03-10 14:58:43 +08:00
d9fd09c13d feat(auth): 强制要求 username 并- 添加 hooks 验证 username 必填
- 修改 schema: username 改为 NOT NULL
- 重置本地和生产数据库
2026-03-10 09:45:15 +08:00
d7149366e9 feat(folders): 完善公开文件夹功能 - 添加 /explore 和 /favorites 页面
- 新增 /explore 页面:浏览和搜索公开文件夹
- 新增 /explore/[id] 页面:以只读模式查看公开文件夹
- 新增 /favorites 页面:管理收藏的文件夹
- 重构 /folders 页面:仅显示当前用户的文件夹
- 更新导航栏:添加 Explore 和 Favorites 链接
- 添加 i18n 翻译:explore 和 favorites 相关文本
- 更新 AGENTS.md:添加数据库迁移规范(必须使用 migrate dev)
2026-03-08 14:47:35 +08:00
5e24fa76a3 ... 2026-02-06 03:16:06 +08:00
9d42a45bb1 ... 2026-02-03 20:29:55 +08:00
d5dde77ee9 ... 2026-02-03 20:00:56 +08:00
804baa64b2 重构 2026-01-13 23:02:07 +08:00
c7cdf40f2f change varchar to text 2026-01-08 10:18:05 +08:00
9715844eae 宽松化pairs表约束
All checks were successful
continuous-integration/drone/push Build is passing
2026-01-06 19:23:35 +08:00
504ecd259d 增加翻译缓存 2026-01-06 19:11:21 +08:00
37e221d8b8 ... 2026-01-06 15:41:11 +08:00
bd7eca1bd0 before refractor 2026-01-05 16:55:34 +08:00
0d251a7e68 优化navbar链接样式
All checks were successful
continuous-integration/drone/push Build is passing
2025-12-11 17:13:35 +08:00
881d9ca921 将next-auth替换为better-auth 2025-12-10 17:54:14 +08:00
41005a4aac 今天做了好多工作啊
Some checks failed
continuous-integration/drone/push Build is failing
2025-12-04 21:07:54 +08:00
cf3cb916b7 ... 2025-11-14 15:30:44 +08:00