Commit Graph

219 Commits

Author SHA1 Message Date
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
b643205f72 refactor(folders): 优化刷新逻辑,只更新特定文件夹而非全量刷新
- FoldersClient: 使用 onUpdateFolder/onDeleteFolder 回调局部更新
- ExploreClient: 使用 onUpdateFavorite 只更新收藏数
- FavoritesClient: 使用 onRemoveFavorite 从列表移除,避免重新请求
2026-03-08 15:07:05 +08:00
c6878ed1e5 style(explore): 将公开文件夹改为网格布局展示
- 移除 CardList 组件,改用 CSS Grid
- 响应式网格: 1/2/3/4 列 (sm/lg/xl)
- 重新设计卡片样式:圆角边框、hover 效果
- 文件夹图标移至左上角,收藏按钮移至右上角
2026-03-08 15:03:35 +08:00
e74cd80fac style(explore): 移动收藏数到文件夹名左侧 2026-03-08 15:01:29 +08:00
c01c94abd0 refactor: 替换服务端 console.log/error 为 winston logger
- folder-action.ts: 18处 console.log -> log.error
- auth-action.ts: 4处 console.error -> log.error
- dictionary-action/service.ts: 3处 -> log.error
- translator-action/service.ts: 3处 -> log.error
- bigmodel/translator/orchestrator.ts: console -> log.debug/info/error
- bigmodel/tts.ts: console -> log.error/warn
- bigmodel/dictionary/*.ts: console -> log.error/debug/info

客户端代码(browser、page.tsx)保留 console.error
2026-03-08 14:58:43 +08:00
0881846717 feat(logger): 添加 winston 日志系统
- 新增 src/lib/logger/ 模块
- 支持 dev/prod 环境不同输出格式
- createLogger() 创建带上下文的 logger
- 更新 AGENTS.md 添加日志使用约定
2026-03-08 14:52:24 +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
b0fa1a4201 feat(folders): 添加公开文件夹和收藏功能
- 新增文件夹可见性控制(公开/私有)
- 添加公开文件夹浏览和搜索
- 实现文件夹收藏功能
- 新增 FolderFavorite 数据模型
- 更新 Prisma 至 7.4.2
- 添加相关 i18n 翻译
2026-03-08 14:20:12 +08:00
b407783d61 feat(i18n): 添加用户名相关翻译并修复多处翻译错误
- 为 6 种语言添加 username, emailOrUsername 等字段的翻译
- 修复德语 Steve Jobs 名言中的拼写错误 (bleiv -> bleib)
- 改进维吾尔语翻译质量和术语一致性
- 修复维吾尔语中 'ئىلمىيى' -> 'ئىزاھات' 等表述问题
2026-03-08 13:32:06 +08:00
ca33d4353f refactor: 优化文件夹列表 UI 样式和布局 2026-03-08 13:05:48 +08:00
ff57f5e0a5 docs: 更新 AGENTS.md 知识库,新增模块/管道/设计系统文档 2026-03-08 11:32:31 +08:00
91c59c3ad9 update AGENTS.md 2026-03-08 10:24:31 +08:00
1df184d1ad update AGENTS.md 2026-03-08 09:51:05 +08:00
f6e21aa2fe move email above joined date in user profile 2026-03-08 09:48:07 +08:00
67ac0bf7b6 Sun Mar 8 09:35:08 AM CST 2026 2026-03-08 09:35:08 +08:00
dd1c6a7b52 Sun Mar 8 09:25:22 AM CST 2026 2026-03-08 09:25:22 +08:00
e2d8e17f62 Sun Mar 8 08:27:26 AM CST 2026 2026-03-08 08:27:26 +08:00
63486757b9 从claude code迁移到opencode 2026-03-06 09:29:08 +08:00
45ffe5733b 从claude code迁移到opencode 2026-03-06 09:28:27 +08:00
613df6824b Wed Mar 4 09:32:00 AM CST 2026 2026-03-04 09:32:00 +08:00
bf80e17514 eslint 2026-02-24 21:22:14 +08:00
d71c79c87a srt 2026-02-24 21:18:30 +08:00
559690dc56 ... 2026-02-24 20:56:46 +08:00
884b30d7f6 ... 2026-02-24 20:54:54 +08:00
01cd122d93 ... 2026-02-24 08:05:44 +08:00
94840c1b0a abstract range 2026-02-24 08:02:39 +08:00
72ced7866e flatten folder design-system 2026-02-24 07:56:21 +08:00
690222ccb7 remove folder tokens 2026-02-24 07:44:37 +08:00
6dc933dc1e remove all index.ts 2026-02-24 07:43:29 +08:00
1be24065e0 ... 2026-02-20 22:53:10 +08:00
757c27c94a remove index.ts 2026-02-20 22:38:57 +08:00
6ea8b4d4b9 ... 2026-02-20 22:32:31 +08:00
9e9ac373c6 简化登录 2026-02-20 22:28:55 +08:00
0149fde0bd fix color 2026-02-14 03:55:58 +08:00
8f25791fa1 less buttons 2026-02-14 02:08:40 +08:00
b586c1071b ... 2026-02-10 15:11:09 +08:00
b8cb884e9e Design System 重构继续完成 2026-02-10 04:58:50 +08:00
73d0b0d5fe Design System 重构完成 2026-02-10 03:54:09 +08:00
fe5e8533b5 layout 2026-02-06 04:41:59 +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
6c7095ffb3 ... 2026-02-06 03:43:49 +08:00
8ed9b011f4 ... 2026-02-06 03:28:53 +08:00
2537b9fe75 ... 2026-02-06 03:22:20 +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
c4a9247cad ... 2026-02-03 19:18:29 +08:00
56552863bf ... 2026-02-03 17:27:58 +08:00