48 Commits

Author SHA1 Message Date
894eeb8c4b perf(home): 拆分 ChatComposer 修复输入框打字卡顿
All checks were successful
CI / build (push) Successful in 3m7s
将输入草稿状态从 HomePage 抽离为独立 memo 组件,避免每次按键重渲染消息列表与侧栏;并微调输入区与滚动条样式。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-26 17:08:24 +08:00
0095291eb0 feat(legal): 新增静态协议页并完善登录页合规入口
All checks were successful
CI / build (push) Successful in 2m18s
新增用户协议与隐私政策纯静态 HTML 页面,优化文档样式并补充合规占位信息。同时更新登录页备案号与协议链接,并移除 tsconfig 中不兼容的弃用配置。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-13 11:57:56 +08:00
8018438f42 feat(ui): 统一登录与会话页的 shadcn 交互组件
All checks were successful
CI / build (push) Successful in 2m31s
登录页切换为官方 input-group 组合并将全站提示从 antd message 统一为 sonner toast,确保通知位置与风格一致。同时补齐相关 shadcn CLI 生成组件及构建配置更新。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-12 18:33:57 +08:00
2f901c5488 ui: 优化首页logo标题样式;
Some checks failed
CI / build (push) Successful in 1m55s
Deploy To Server / deploy (push) Failing after 2s
2026-04-26 00:38:36 +08:00
20aeb94f6e chore(branding): 更新登录与首页标题资源及部署配置
Some checks failed
CI / build (push) Successful in 2m18s
Deploy To Server / deploy (push) Failing after 2s
引入新的 logo-title 资源并替换登录页与首页左上角标题展示,统一相关样式细节;同时补充 Docker 与 Gitea 部署配置,便于服务器端自动化构建发布。

Made-with: Cursor
2026-04-25 23:19:52 +08:00
6e8acef10f chore(cache): 切换为 Nginx 静态资源缓存策略
All checks were successful
CI / build (push) Successful in 2m6s
将图标资源迁移到 src/assets 并通过构建产物 hash 管理缓存,移除 public 目录旧图标引用;新增 Nginx 配置,设置 index.html 协商缓存与 /assets 长缓存策略。

Made-with: Cursor
2026-04-24 16:14:56 +08:00
d93b4d178f chore(assets): 更新并压缩站点图标资源
All checks were successful
CI / build (push) Successful in 4m9s
替换站点 logo、favicon 与 apple touch 图标为新版本,并在保留透明效果的同时压缩到更合适的尺寸与体积,减少静态资源开销。

Made-with: Cursor
2026-04-24 14:55:33 +08:00
891f09aa0d feat(chat): 消息列表回到底部与贴底滚动优化
All checks were successful
CI / build (push) Successful in 2m7s
- 非底部时显示悬浮回到底部按钮,点击平滑滚底并隐藏
- 仅在已处于底部附近时随新消息自动贴底,避免打断上翻阅读
- 按钮使用原生圆钮并相对输入区 max-w-4xl 定位,避免 AntD 按钮宽条问题
- 同步 lucide-react 依赖及流式代码块、全局样式等小改动

Made-with: Cursor
2026-04-24 04:39:24 +08:00
3b0b6eac50 feat: 完善会话交互并统一聊天页视觉样式
All checks were successful
CI / build (push) Successful in 10m45s
补齐会话重命名/删除与会话菜单能力,新增聊天参数透传与本地开关持久化,并统一输入区、消息区、代码块和弹框等关键交互样式。

Made-with: Cursor
2026-04-23 23:09:23 +08:00
b3fdb0ad4b feat: 接入会话列表并支持路由记忆当前会话
All checks were successful
CI / build (push) Successful in 1m59s
新增会话与消息查询 API,并将首页改为真实会话驱动;当前选中会话会同步到 URL 参数,刷新或直达链接可恢复上下文。

Made-with: Cursor
2026-04-22 23:32:07 +08:00
9a1b59663b refactor(auth): 按扁平接口简化鉴权解析
All checks were successful
CI / build (push) Successful in 3m13s
登录/刷新/发短信直接解析根级字段,移除 data 包装与 mergeUser 等多余逻辑。
首页侧栏用户信息随 localStorage 与 chatone-user-changed 更新,优先展示 nickname。

Made-with: Cursor
2026-04-22 01:25:34 +08:00
d4a91f11cb feat: 短信登录、会话续签与侧栏体验优化
All checks were successful
CI / build (push) Successful in 2m17s
新增 auth/paths 与登录页;HTTP 与流式聊天在 401 时续签,失败则清理会话并跳转登录。
侧栏用户信息区布局修复;用户菜单项间距与验证码发送冷却、antd 发送按钮。

Made-with: Cursor
2026-04-21 06:30:43 +08:00
6579578a62 ui: 支持模型选择并透传到聊天接口;
All checks were successful
CI / build (push) Successful in 2m39s
Made-with: Cursor
2026-04-17 02:25:45 +08:00
056c3e648f ui: 抽离流式消息渲染组件并增强富文本显示;
All checks were successful
CI / build (push) Successful in 2m12s
将助手消息渲染从页面内联逻辑拆分为独立组件,接入 Markdown/GFM、代码高亮与公式渲染,提升流式输出在表格、代码块等主流格式下的展示能力。

Made-with: Cursor
2026-04-16 02:11:54 +08:00
038dc5e918 ui: 接入千问流式聊天并增强请求稳定性;
All checks were successful
CI / build (push) Successful in 1m52s
将首页从 mock 数据切换为真实流式会话,统一 API 网络层并支持 SSE 增量解析、超时与断线重试,提升前端在跨域代理和网络抖动场景下的可用性。

Made-with: Cursor
2026-04-15 23:03:54 +08:00
f46b50fc1e ui: 优化样式;
All checks were successful
CI / build (push) Successful in 2m17s
2026-04-13 14:18:33 +08:00
70e1aa439f ci: 更新公共ci脚本版本;新增ci参数;
All checks were successful
CI / build (push) Successful in 1m53s
2026-04-13 03:47:06 +08:00
b1fb19f404 ui: 新增logo;
All checks were successful
CI / build (push) Successful in 2m19s
2026-04-13 00:50:51 +08:00
d179cd53be ci: 调用 platform/workflow 公共工作流并精简注释
All checks were successful
CI / build (push) Successful in 2m17s
ui: 首页对齐 DeepSeek 式布局(侧栏、消息气泡、思考折叠、输入区胶囊与发送按钮)
Made-with: Cursor
2026-04-12 21:24:12 +08:00
7cad29aac2 ci: 修改公共ci脚本目录;
All checks were successful
CI / build (push) Successful in 1m50s
2026-04-12 01:39:51 +08:00
017919f6bc ci: ci使用公共工作流;
Some checks failed
CI / build (push) Failing after 0s
2026-04-12 01:35:32 +08:00
f2a23308b0 feat: 修改聊天按钮;
All checks were successful
CI / build (push) Successful in 1m43s
2026-04-11 03:03:27 +08:00
2327e3a3b1 ci: 优化ci配置;
All checks were successful
CI / build (push) Successful in 1m46s
2026-04-11 02:54:26 +08:00
6976c0c2eb ci: 优化此配置;
Some checks failed
CI / build (push) Failing after 32s
2026-04-11 02:44:44 +08:00
691d68c59a ci: 优化ci配置;
Some checks failed
CI / build (push) Failing after 2m22s
2026-04-10 23:10:54 +08:00
7917975b5d ci: 优化此配置;
Some checks failed
CI / build (push) Failing after 2m23s
2026-04-10 23:04:20 +08:00
001af10c2a ci: 修改ci配置,新增部署配置;
Some checks failed
CI / build (push) Has been cancelled
2026-04-10 22:54:33 +08:00
080881bda1 ci: 优化此配置;
All checks were successful
CI / build (push) Successful in 2m25s
2026-04-10 01:14:08 +08:00
ac3fd70fef ci: 优化ci配置
All checks were successful
CI / build (push) Successful in 2m55s
2026-04-05 18:53:41 +08:00
ba188ff2d8 ci: 优化ci配置
All checks were successful
CI / build (push) Successful in 2m54s
2026-04-05 18:44:01 +08:00
948a022b77 ci: 优化ci配置
All checks were successful
CI / build (push) Successful in 2m54s
2026-04-05 18:40:16 +08:00
26de9ad9b8 style: 优化代码格式
All checks were successful
CI / build (push) Successful in 2m54s
2026-04-05 18:20:47 +08:00
ae2d6419fe ci: 修改ci配置
Some checks failed
CI / build (push) Failing after 3m38s
2026-04-05 17:52:24 +08:00
5fe57fd087 ci: 修改ci配置
Some checks failed
CI / build (push) Has been cancelled
2026-04-05 17:38:36 +08:00
693835a37e ci: 修改ci配置
Some checks failed
CI / build (push) Has been cancelled
2026-04-05 17:21:21 +08:00
9d1ec850ed ci: 优化ci配置
Some checks failed
CI / build (push) Has been cancelled
2026-04-05 17:15:27 +08:00
b1cfd4f04c ci: 新增ci配置文件
Some checks failed
CI / build (push) Failing after 3m39s
2026-04-05 16:45:51 +08:00
c490bd6f76 style: 测试; 2026-04-03 21:18:27 +08:00
cd143d9541 style: 测试 2026-04-03 21:17:42 +08:00
fa801fe273 style: 测试代码校验 2026-04-03 21:17:04 +08:00
c206eb8132 chore: 更新 pre-commit 针对 Node 环境的检查和 lint-staged 执行
- 增加 Node 环境检查,确保在提交前 Node 可用
- 更新 lint-staged 执行方式以适应新的环境设置
- 清理 index.tsx 文件中的多余空行
2026-04-03 21:13:29 +08:00
171c54e29b chore: 更新 repository 为 Gitea SSH(8022)
Made-with: Cursor
2026-04-03 20:42:45 +08:00
1ffe2fa39e chore: 使用 lint-staged 配置提交前校验
Made-with: Cursor
2026-04-03 20:30:47 +08:00
5594ab0b8c style: 测试eslint 2026-04-03 20:18:22 +08:00
7eed1ad5c6 chore: 增加代码规范和提交校验
Made-with: Cursor
2026-04-03 16:23:35 +08:00
e48462cf4a feat: 初始化 Vite React 聊天应用骨架
搭建 React + Vite + React Router + TailwindCSS + Ant Design 基础工程,并通过 vite-plugin-pages 实现文件路由。新增首页响应式聊天布局,移动端在小于 750px 时使用左侧抽屉侧边栏。

Made-with: Cursor
2026-04-01 01:51:04 +08:00
d476042856 docs: 更新 README 描述
Made-with: Cursor
2026-03-31 18:16:41 +08:00
4d9fb8e9f2 Initial commit 2026-03-30 16:12:58 +08:00