Commit Graph

394 Commits

Author SHA1 Message Date
peanut 75de32828a feat: dev-services.py restart 命令新增热加载保护
- 无必须重启的变更时禁止 restart
- 支持 --force 参数强制重启
- 避免无意义重启前端热加载服务
2026-06-28 10:34:54 +08:00
peanut 4dc3d4cfdc feat: dev-services.py 强制前端服务使用固定端口
- 新增 FIXED_FRONTEND_PORTS 映射
- 前端/H5 端口从 5178 开始固定分配
- 端口冲突时不再自动递增前端服务端口,改为报错
2026-06-28 10:30:50 +08:00
peanut a43bb1a555 docs:新增本地服务管理规则优化实现计划 2026-06-28 10:20:54 +08:00
peanut 5b31845b33 docs:新增本地服务管理规则优化设计文档
- 强制使用 dev-services.py 控制本地服务
- 前端/H5 固定端口从 5178 开始累加
- 优化 restart 命令,避免无意义重启
2026-06-28 10:16:29 +08:00
peanut 8cd52f76ae refactor: 迁移 story-card 相关样式到 MessageCard
删除 ScriptView.vue 中已迁移到 MessageCard 的样式类

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 09:19:53 +08:00
peanut c2ed051de0 feat: ScriptView 复用 MessageCard 组件
- story-card 使用 MessageCard
- result-chat-list 中的 assistant 消息按内容长度自动切换短消息/完整卡片模式

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 09:16:37 +08:00
peanut cbf5157dcf feat: 创建 MessageCard 组件
封装长消息/故事卡片结构,支持短消息简洁气泡模式
2026-06-28 09:13:34 +08:00
peanut 8dc2454beb docs:新增 MessageCard 组件实现计划 2026-06-28 09:06:32 +08:00
peanut f7dba6ba60 docs:新增 MessageCard 组件统一设计文档
- 提取 MessageCard.vue 独立组件
- 按 100 字阈值自动切换短消息/完整卡片模式
- story-card 和 result-chat-list 复用同一组件
2026-06-27 23:25:26 +08:00
peanut 847e80aa0e docs:新增 AI 消息卡片功能按钮实现计划 2026-06-27 22:29:27 +08:00
peanut d724cab581 style: 添加消息按钮组样式
- .message-actions: 2 列网格布局,间距 14rpx
2026-06-27 22:22:28 +08:00
peanut 0db434c21f feat: 在 result-chat-list 中添加功能按钮组
为每条 assistant 消息添加完整功能按钮:
- 复制:复制消息内容到剪贴板
- 换个方向:进入换方向修订确认
- 不像我:进入不像我修订确认
- 继续生成:收起故事并聚焦输入框
- 播放:播放故事 TTS 音频
2026-06-27 22:20:28 +08:00
peanut 9b3006d128 feat: 添加消息卡片功能方法
- copyMessageContent: 复制消息内容到剪贴板
- playMessageTts: 播放故事 TTS 音频
- toggleMessageCollapse: 添加展开/收起埋点
2026-06-27 22:18:11 +08:00
peanut 944f6a0a13 fix: 修复 story-card 展开失效 bug
移除 resultHasScriptReplies 条件包裹,让故事正文始终由 storyCollapsed 控制展开/收起
2026-06-27 22:16:37 +08:00
peanut e014450aa3 docs:新增 AI 消息卡片功能按钮统一设计文档
- 修复 story-card 展开失效 bug
- 为每条 AI 消息添加完整功能按钮组
- 采用方案 A:在现有单文件组件内修复 + 扩展
2026-06-27 20:40:37 +08:00
peanut 2198781c68 chore: 从版本控制中移除 .idea 目录(已在 .gitignore 中) 2026-06-27 17:42:12 +08:00
peanut 8e6b69f6c7 fix: 修复遗漏的 backend-single 引用(Java源码/前端注释/配置文件/IDE配置) 2026-06-27 17:32:18 +08:00
peanut 591f70a2f6 docs: 批量更新历史文档中的 backend-single 引用为 server 2026-06-27 17:27:27 +08:00
peanut 5586dc5eac docs: 更新核心文档和前端代码中的后端目录引用为 server 2026-06-27 17:26:50 +08:00
peanut 8f51701f54 refactor: 更新根部署脚本和 .gitignore 中的后端目录引用为 server 2026-06-27 17:25:54 +08:00
peanut 6cb9496abb refactor: 更新 Maven artifactId 和部署脚本 JAR 名称为 server 2026-06-27 17:24:46 +08:00
peanut 0d77d76858 refactor: 重命名 backend-single 目录为 server 2026-06-27 17:23:53 +08:00
peanut 8daf51301a fix: 修复小程序登录页变量初始化顺序错误导致微信登录失败 2026-06-27 13:07:17 +08:00
peanut e3b21cac3e feat:管理后台系统设置页面 + 小程序登录页条件渲染 2026-06-27 10:27:14 +08:00
peanut 9131203d1c feat:新增系统配置模块(Entity/Mapper/DTO/Service/Controller)+ 登录配置公开接口 2026-06-27 10:25:17 +08:00
peanut ed741ac8bf docs:短信登录开关与通用系统配置实现计划 2026-06-27 10:18:00 +08:00
peanut 4b235fa5d3 docs:短信登录开关与通用系统配置设计文档 2026-06-27 10:09:24 +08:00
peanut 7679e973d0 feat:管理页删除确认接入自定义弹窗,标签文字不换行 2026-06-24 22:51:12 +08:00
peanut f11fb142e1 feat:编辑页添加按钮简化为添加,字数限制4字,标签不换行,接入自定义弹窗 2026-06-24 22:47:15 +08:00
peanut 57a42474d7 refactor:TagDialog 移除冗余 glass-card 类引用 2026-06-24 22:43:56 +08:00
peanut bd0f4d6bea feat:新增 TagDialog 自定义弹窗组件,深色太空主题样式 2026-06-24 22:40:43 +08:00
peanut 637334adb8 docs:添加按钮简化与自定义弹窗实现计划 2026-06-24 22:37:48 +08:00
peanut 1900ba6efc docs:添加标签按钮简化与自定义弹窗设计 2026-06-24 22:31:54 +08:00
peanut 11f1638eef docs:添加强制规则,禁止本地后端验收,必须使用 deploy.py 部署到服务器验收 2026-06-24 22:17:06 +08:00
peanut 843ddd4c69 feat:新增管理标签独立页面,支持左滑与 × 按钮删除 2026-06-24 21:56:46 +08:00
peanut 53e895797e fix:onShow 重复触发时先 off 再 on,避免事件监听累积 2026-06-24 21:55:51 +08:00
peanut 2600cb2164 feat:编辑资料页保存携带库字段,onShow 监听管理页更新事件 2026-06-24 21:53:26 +08:00
peanut c7e84f5a13 style:删除 .custom 死代码 CSS 块 2026-06-24 21:51:41 +08:00
peanut 7dc75cbfb4 feat:编辑资料页标签区 UI 重构,新增管理入口与添加标签弹窗 2026-06-24 21:46:02 +08:00
peanut 071af02482 feat:编辑资料页 form 增加库字段并对老用户兼容初始化
- form reactive 新增 personalityTagLibrary 和 hobbyLibrary 字段
- syncFromStore 增加库字段加载逻辑,后端有则用后端数据
- 老用户(后端无库字段)使用预设 + 已选合并去重初始化
- 新增 buildInitialLibrary 辅助函数处理数组合并去重
2026-06-24 21:40:34 +08:00
peanut a446848d8e feat:前端数据层与路由注册支持标签库字段 2026-06-24 21:36:31 +08:00
peanut 341b08c02e feat:UserProfile 新增性格标签库与兴趣爱好库字段
- t_user_profile 表新增 personality_tag_library 和 hobby_library 两个 TEXT 字段
- UserProfile 实体类新增对应字段,使用 @TableField 映射
- UserProfileUpdateRequest、UserProfileCreateRequest、UserProfileResponse DTO 同步新增字段
- 迁移脚本命名符合 V{YYYYMMDD}__描述.sql 规范

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 21:30:11 +08:00
peanut 433ba4c498 docs:小程序标签库扩展功能实现计划 2026-06-24 21:26:53 +08:00
peanut 1cdee47f3a docs:小程序编辑资料页性格标签与兴趣爱好库扩展设计 2026-06-24 21:20:41 +08:00
peanut 3cd7de1f55 fix:ScriptView 语音按钮改为麦克风图标 2026-06-23 22:56:15 +08:00
peanut 1c45689f03 fix:ScriptView 底部输入框区域增加左右边距 2026-06-23 22:54:52 +08:00
peanut 99a06fcc28 fix:ScriptView 结果页顶部操作栏固定不随滚动 2026-06-23 22:54:11 +08:00
peanut 4cb6d6de9b docs:ScriptView 对话结果页 UI 调整实现计划 2026-06-23 22:51:55 +08:00
peanut 6b6af757d0 docs:ScriptView 对话结果页 UI 调整设计文档 2026-06-23 22:49:15 +08:00
peanut ae1463e400 fix:剧本列表工具函数去除默认值兜底 2026-06-23 22:19:30 +08:00