de7c1321c2
refactor: remove Anki import/export and simplify card system
...
- Remove Anki apkg import/export functionality
- Remove OCR feature module
- Remove note and note-type modules
- Simplify card/deck modules (remove spaced repetition complexity)
- Update translator and dictionary features
- Clean up unused translations and update i18n files
- Simplify prisma schema
2026-03-17 20:24:42 +08:00
a68951f1d3
refactor(ui): use design-system components across pages
...
- Replace custom spinners with Skeleton
- Replace native inputs/select with design-system components
- Simplify dictation mode (user self-judges instead of input)
- Set body background to primary-50
- Clean up answer button shortcuts
2026-03-16 07:58:43 +08:00
57ad1b8699
refactor: 完全重构为 Anki 兼容数据结构
...
- 用 Deck 替换 Folder
- 用 Note + Card 替换 Pair (双向复习)
- 添加 NoteType (卡片模板)
- 添加 Revlog (复习历史)
- 实现 SM-2 间隔重复算法
- 更新所有前端页面
- 添加数据库迁移
2026-03-10 19:20:46 +08:00
fb4346377a
feat(explore): 添加文件夹详情页面
...
- 修复 folder-aciton.ts 文件名拼写错误为 folder-action.ts
- 修复所有导入路径中的拼写错误
- 添加 repoGetPublicFolderById 和 actionGetPublicFolderById
- 创建 ExploreDetailClient 详情页组件
- /explore/[id] 现在显示文件夹详情和链接到 /folders/[id]
- 添加 exploreDetail 中英文翻译
2026-03-09 19:39:03 +08:00
c83aefabfa
fix: 修复代码审查发现的所有 bug
...
Critical 级别:
- zhipu.ts: 添加 API 响应边界检查
- DictionaryClient.tsx: 添加 entries 数组边界检查
- subtitleParser.ts: 修复 getNearestIndex 逻辑错误
High 级别:
- text-speaker/page.tsx: 修复非空断言和 ref 检查
- folder-repository.ts: 添加 user 关系 null 检查
Medium 级别:
- InFolder.tsx: 修复 throw result.message 为 throw new Error()
- localStorageOperators.ts: 返回类型改为 T | null,添加 schema 验证
- SaveList.tsx: 处理 data 可能为 null 的情况
2026-03-09 19:11:49 +08:00
020744b353
fix(i18n): 补充页面缺失的中英文翻译并修复登录重定向循环
...
- 补充 login/signup/dictionary/srt-player/alphabet 页面的翻译
- 修复登录页面邮箱登录时 password 参数错误
- 修复登录/注册页面的无限重定向循环问题
- 调整登录/注册卡片宽度为 w-96
2026-03-09 18:41:41 +08:00
6ba5ae993a
fix: language selector mutual exclusion with preset buttons
...
- When "Other" is selected, preset language buttons are deselected
- Only one option can be selected at a time
- Refactor dictionary page with zustand store
- Add custom language input option to dictionary
- Fix multiple issues in dictionary bigmodel pipeline
2026-03-08 16:10:41 +08:00
72ced7866e
flatten folder design-system
2026-02-24 07:56:21 +08:00
6dc933dc1e
remove all index.ts
2026-02-24 07:43:29 +08:00
b8cb884e9e
Design System 重构继续完成
2026-02-10 04:58:50 +08:00
12eb5c412a
layout
2026-02-06 04:36:06 +08:00
3635fbd256
button
2026-02-06 04:13:50 +08:00
058ecf7e39
button
2026-02-06 04:01:41 +08:00
c4a9247cad
...
2026-02-03 19:18:29 +08:00
eaf97b8279
...
2026-02-02 23:57:01 +08:00
ec265be26b
重构
2026-01-14 16:57:35 +08:00
804baa64b2
重构
2026-01-13 23:02:07 +08:00
f1d706e20c
...
2026-01-13 14:46:27 +08:00
c7cdf40f2f
change varchar to text
2026-01-08 10:18:05 +08:00
a55e763525
解决dictionary搜索框溢出问题
2026-01-08 09:45:08 +08:00
504ecd259d
增加翻译缓存
2026-01-06 19:11:21 +08:00
b093ed2b4f
补全翻译
2026-01-06 16:04:53 +08:00
37e221d8b8
...
2026-01-06 15:41:11 +08:00
f1dcd5afaa
...
2026-01-05 18:37:12 +08:00
bd7eca1bd0
before refractor
2026-01-05 16:55:34 +08:00
3bc804c5e8
...
2026-01-05 14:31:18 +08:00