Commit Graph

117 Commits

Author SHA1 Message Date
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 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 8e6b69f6c7 fix: 修复遗漏的 backend-single 引用(Java源码/前端注释/配置文件/IDE配置) 2026-06-27 17:32:18 +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 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 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 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 ae1463e400 fix:剧本列表工具函数去除默认值兜底 2026-06-23 22:19:30 +08:00
peanut 70434c1325 fix:剧本列表删除 fallbackScripts 假数据 2026-06-23 22:18:32 +08:00
peanut 04b184a3c1 fix:编辑资料页无昵称时显示未设置昵称 2026-06-23 22:17:45 +08:00
peanut 0eaf44ed93 fix:编辑资料页昵称未填时增加 Toast 提示 2026-06-23 21:47:32 +08:00
peanut 2c69da46e5 fix:修复个人档案性别字段保存后在我的页面不显示的问题(中英文格式兼容) 2026-06-15 12:13:49 +08:00
peanut 42543ff8a6 feat:结果页聊天发送消息时显示与心愿生成一致的动态加载效果 2026-06-15 12:01:12 +08:00
peanut c744d92f38 feat:MineView 个人档案调整为两行四列,移除个人中心和 MBTI 2026-06-15 11:42:10 +08:00
peanut 04cdd5585e feat:RecordView 移除 profile-card 相关样式 2026-06-15 10:53:57 +08:00
peanut a62257b21a feat:RecordView 移除无用的 computed 和方法 2026-06-15 10:52:22 +08:00
peanut 816e166e08 feat:RecordView 移除 profile-card 模板 2026-06-15 10:51:30 +08:00
peanut b9bacb36e7 feat:MineView 新增个人档案区块样式 2026-06-15 10:50:48 +08:00
peanut ffa77400c9 feat:MineView 新增个人档案区块模板 2026-06-15 10:50:04 +08:00
peanut d1e223ad23 feat:MineView 新增个人档案字段 computed 属性 2026-06-15 10:49:11 +08:00
peanut 74a2c15b6b feat: 完善人生轨迹详情页功能及微信小程序登录优化 2026-06-15 10:17:30 +08:00
peanut cb3c5e6724 feat: 优化人生轨迹详情页布局与顶部安全区
- 合并事件标题卡与描述卡为统一的 event-content-card
- 移除顶部悬浮导航,避免与小程序原生胶囊按钮重叠
- 添加顶部安全区占位(参考 profile/index.vue 等页面)
- 调整按钮布局:收藏、分析、分享、编辑、收起放入内容区域
- 底部只保留居中的'聊聊'主按钮
- 使用 Markdown 组件渲染事件描述
- 添加 scrollToAnalysis 滚动定位功能
- 更新 AGENTS.md 添加操作系统命令执行规则
- 更新 CLAUDE.md 添加操作系统命令执行规则
2026-06-10 20:45:01 +08:00
peanut 00a93b66d8 fix: remove hardcoded defaults from profile edit page 2026-06-04 08:11:40 +08:00
peanut e2a02e0d5f fix: remove hardcoded defaults and sampleEvents from RecordView 2026-06-04 08:10:34 +08:00
peanut 675311a1be feat: extend registrationData with city/industry/company/personalityTags/birthday 2026-06-04 08:09:09 +08:00
peanut d4088069dd feat: add city/industry/company/personalityTags/birthday to userProfile transforms 2026-06-04 08:07:24 +08:00
peanut 10653edc52 fix(mine): replace hardcoded user info and stats with dynamic store data 2026-06-04 00:40:11 +08:00
peanut 1eb9ef67a4 fix(mine): replace static avatar with dynamic dicebear image 2026-06-04 00:39:42 +08:00
peanut 8fce9ff87a fix(splash): remove profile check on session restore, always go to script page 2026-06-04 00:22:48 +08:00
peanut 0669af0203 fix(login): remove profile check, always redirect to script page after login 2026-06-04 00:22:44 +08:00
peanut 094953f1c3 feat: 小程序页面优化和新增剧本库功能 2026-05-30 20:53:18 +08:00
peanut d09f600751 feat: 小程序剧本、个人信息页、AI 运行时及 TTS 服务优化 2026-05-26 20:50:20 +08:00
peanut 812e126b2b refactor: 移除爽文页面我的剧本按钮和人生素材画像容器
移除我的剧本按钮(模板、样式、方法),用户可通过底部我的Tab查看剧本
移除人生素材画像容器组件(模板、样式、JS逻辑)
保留导入社交数据按钮及完整流程
useSocialInsights 改为默认 true,后端自动判断是否有可用画像
清理未使用的 socialImport 导入、confirmedInsights、loadConfirmedInsights 等

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 21:28:29 +08:00