超级老白兔
|
0d1d082d9e
|
Add manual AI response generation feature in MessageEnter component. Implement handleManualTriggerAi function to allow users to trigger AI replies on demand. Update weChat store with manualTriggerAi function to manage AI request logic and context retrieval. Enhance UI with a reload button for AI responses in AI modes.
|
2025-10-29 16:56:44 +08:00 |
|
超级老白兔
|
44a8fbe0c9
|
用户操作绝对优先 - 任何用户行为立即打断AI
唯一ID验证 - 防止过期回复覆盖
状态互斥保护 - AI生成 ⇄ 用户输入互斥
智能防抖 - 3秒延迟合并多条消息
|
2025-10-29 15:21:27 +08:00 |
|
超级老白兔
|
9c5e253d75
|
Refactor MessageEnter component to streamline AI message handling. Update message sending logic to prioritize passed content, ensuring better integration with AI-assisted and AI takeover modes. Clean up unused code and enhance console logging for improved debugging.
|
2025-10-29 14:53:15 +08:00 |
|
超级老白兔
|
5fb15592ff
|
Refactor MessageEnter component to handle AI-assisted and AI takeover scenarios. Update weChat store to support multiple AI types for message processing. Remove unnecessary console log in message response handler for cleaner output.
|
2025-10-29 14:50:55 +08:00 |
|
超级老白兔
|
0decc34593
|
Enhance file upload process in devlop.py with progress tracking and remote file validation. Add aiType field to weChatGroup and ContractData interfaces for AI type differentiation. Update ChatWindow component to handle AI configuration changes and ensure proper database updates for contact and message management. Implement database versioning to include aiType in chatSessions and contactsUnified tables, with migration logic for existing data. Improve error handling and user feedback during configuration updates.
|
2025-10-28 16:55:55 +08:00 |
|
超级老白兔
|
3d8c656224
|
加载动画优化
|
2025-10-27 17:08:37 +08:00 |
|
超级老白兔
|
8cff6750f9
|
Implement AI loading animation in MessageEnter component and enhance user interface. Remove unused loading icon and streamline input area for better user experience during AI response generation.
|
2025-10-27 16:57:26 +08:00 |
|
超级老白兔
|
d01c91e6ee
|
只有文字消息才会触发ai回复
|
2025-10-27 15:49:52 +08:00 |
|
超级老白兔
|
e1893e1506
|
增加消息类型
|
2025-10-27 15:45:07 +08:00 |
|
超级老白兔
|
ae4b592bb6
|
转给他人逻辑处理,包括关闭和删除联系人、联系会话
|
2025-10-27 15:38:01 +08:00 |
|
超级老白兔
|
c65001399f
|
完整的wechatAccountId处理
接口查询获取
字段映射兜底(accountId)
保证每个会话都有正确的账号ID
✅ 头像正确显示
好友:avatar 字段
群聊:chatroomAvatar 字段
统一存储到 ChatSession.avatar
✅ 三层兜底机制
从联系人表查询(最快)
从接口获取详情(完整)
使用消息数据创建(兜底)
✅ 数据持久化
联系人数据存入 contactsUnified 表
会话数据存入 chatSessions 表
下次收到消息直接从本地读取
✅ 静默更新机制
所有数据库操作在后台完成
通过 triggerRefresh() 触发UI更新
用户体验流畅无感知
|
2025-10-27 15:30:27 +08:00 |
|
超级老白兔
|
494ccbbe5e
|
修复消息列表
|
2025-10-27 14:49:05 +08:00 |
|
超级老白兔
|
8b28194d00
|
优化头像兼容
|
2025-10-27 11:48:22 +08:00 |
|
超级老白兔
|
3ff3e40d8e
|
Enhance MessageList component to include complete contact information during message updates. Implement a new method in ContactManager for retrieving contacts by ID and type, ensuring accurate avatar and nickname display. Trigger UI refresh on data changes to improve user experience.
|
2025-10-27 11:43:35 +08:00 |
|
超级老白兔
|
77072594d2
|
Add debug logging for quote message content and session selection in MessageEnter and MessageList components. Update WeChat store to handle empty message content gracefully, improving error handling during message reception.
|
2025-10-27 11:11:24 +08:00 |
|
超级老白兔
|
3c2fec2122
|
Refactor MessageRecord component to replace ckchat store with customer store for improved data handling. This change enhances the retrieval of customer information based on the wechatAccountId, streamlining the message processing logic.
|
2025-10-27 10:38:39 +08:00 |
|
超级老白兔
|
f58070495f
|
Refactor WeChat store logic to enable AI chat processing. Reintroduce data processing and AI chat request handling, improving message handling flow and user experience.
|
2025-10-27 10:00:32 +08:00 |
|
超级老白兔
|
781662026a
|
优化消息过滤逻辑,新增对语音消息的处理条件,支持通过URL和持续时间判断,同时增强对特殊格式消息的识别,提升代码可读性和用户体验。
|
2025-10-25 19:15:00 +08:00 |
|
超级老白兔
|
422fed2719
|
新增音频转文字功能,更新相关API和组件逻辑,优化消息处理流程,提升用户体验和代码可读性。
|
2025-10-25 19:11:08 +08:00 |
|
超级老白兔
|
27a108027b
|
移除MessageList组件中的调试日志,新增通过ID查找消息的功能,优化消息处理逻辑,提升代码可读性和用户体验。
|
2025-10-25 19:00:20 +08:00 |
|
超级老白兔
|
5f1a1e9f0e
|
新增消息序列号支持,优化消息发送和接收逻辑,更新消息状态处理,提升代码可读性和用户体验。
|
2025-10-25 18:42:17 +08:00 |
|
超级老白兔
|
e409618b7a
|
增强SidebarMenu和MessageList组件,新增对currentContact变化的监听,自动切换聊天tab并显示加载状态,优化消息列表的加载逻辑,提升用户体验和代码可读性。
|
2025-10-24 17:46:44 +08:00 |
|
超级老白兔
|
7d8573b52a
|
优化联系人分组统计逻辑,分别提取好友和群组标签ID以提高准确性,更新相关注释以增强代码可读性,同时调整数据库查询条件以支持更灵活的分组查询。
|
2025-10-24 17:20:09 +08:00 |
|
超级老白兔
|
28cbcea4f9
|
重构数据库管理逻辑,新增旧数据库清理功能,优化数据库初始化流程,更新联系人管理和消息处理逻辑,提升代码可读性和用户体验。
|
2025-10-24 16:14:13 +08:00 |
|
超级老白兔
|
e1d4f678ab
|
重构MessageRecord组件,更新样式文件引用,优化消息转发逻辑,新增消息过滤功能以提升用户体验和代码可读性。
|
2025-10-24 14:44:25 +08:00 |
|
超级老白兔
|
bb6453d3a2
|
重构加载更多功能,更新样式和逻辑,优化联系人列表组件的加载状态处理,提升用户体验和代码可读性。
|
2025-10-24 12:01:01 +08:00 |
|
超级老白兔
|
1b02666531
|
增强SidebarMenu和MessageList组件,新增对currentContact变化的监听,自动切换聊天tab,优化联系人点击处理逻辑,调整置顶标识为数字类型,提升代码可读性和用户体验。
|
2025-10-24 11:28:01 +08:00 |
|
超级老白兔
|
3b82908e8a
|
重构SidebarMenu组件,移除不必要的useEffect,优化消息列表和联系人组件的加载逻辑,合并样式文件以提升代码可读性和维护性。
|
2025-10-23 20:42:29 +08:00 |
|
超级老白兔
|
8941b87e03
|
优化消息列表组件,更新刷新状态提示样式,提升用户体验和可读性。
|
2025-10-23 20:18:45 +08:00 |
|
超级老白兔
|
1f081cdddc
|
重构联系人分组逻辑,新增获取分组统计信息和分页获取联系人功能,优化联系人列表组件以提升用户体验和代码可读性。
|
2025-10-23 20:15:59 +08:00 |
|
超级老白兔
|
dc58109829
|
重构联系人管理逻辑,新增联系人状态管理和数据同步功能,优化联系人列表组件以提升用户体验和代码可读性。
|
2025-10-23 19:56:57 +08:00 |
|
超级老白兔
|
3b36b19d01
|
更新TypeScript配置和Vite配置,新增模块路径别名支持,同时优化数据库初始化逻辑,提升代码可读性和结构。
|
2025-10-23 18:56:16 +08:00 |
|
超级老白兔
|
26af225fff
|
优化消息排序逻辑,更新生成排序键的注释,明确置顶标识、时间戳和显示名称的处理方式,提升代码可读性。
|
2025-10-23 18:00:07 +08:00 |
|
超级老白兔
|
1c9f986a97
|
优化消息列表组件,更新已读标记逻辑,确保仅更新未读数量而不影响时间和排序,提升代码可读性。
|
2025-10-23 17:30:30 +08:00 |
|
超级老白兔
|
7056e00fcc
|
更新消息列表组件,新增当前客户状态管理,优化消息筛选逻辑以提升用户体验和代码可读性。
|
2025-10-23 17:21:25 +08:00 |
|
超级老白兔
|
5c86c2fbf2
|
优化消息排序逻辑,调整置顶和时间戳的处理方式,以确保置顶消息优先显示,提升消息列表的可读性和用户体验。
|
2025-10-23 17:14:48 +08:00 |
|
超级老白兔
|
7f4bc0487e
|
新增消息列表API,优化消息列表组件以支持加载状态和数据同步,提升用户体验和代码可读性。
|
2025-10-23 17:02:33 +08:00 |
|
超级老白兔
|
75e62cce72
|
优化消息管理逻辑,新增消息状态管理功能,提升代码结构和可读性。
|
2025-10-23 15:51:05 +08:00 |
|
超级老白兔
|
68a5350c19
|
移除未使用的客服列表相关代码,优化消息管理逻辑,新增消息状态管理功能,提升代码结构和可读性。
|
2025-10-23 12:55:57 +08:00 |
|
超级老白兔
|
81f225d9cb
|
更新TypeScript配置以支持新的模块路径别名,重命名获取客服列表的API函数,替换相关组件,移除不再使用的垂直用户列表组件及其样式,提升代码结构和可读性。
|
2025-10-23 12:35:30 +08:00 |
|
超级老白兔
|
ef45bedf83
|
新增AI对话加载状态管理,优化消息输入组件以支持加载指示,提升用户体验。
|
2025-10-22 17:05:35 +08:00 |
|
超级老白兔
|
c3f1433868
|
新增AI对话和数据处理接口,优化消息发送逻辑以支持群组和个人消息的处理,提升聊天功能的灵活性和用户体验。
|
2025-10-22 16:36:02 +08:00 |
|
超级老白兔
|
f137bd2c07
|
优化消息列表组件,新增消息内容展示和时间格式处理逻辑,更新API以支持分页,提升用户体验和代码可读性。
|
2025-10-22 15:32:53 +08:00 |
|
超级老白兔
|
5b9ae2b805
|
优化消息列表组件,新增消息内容展示,调整消息时间格式处理逻辑,更新获取消息列表的API以支持分页,提升用户体验和代码可读性。
|
2025-10-22 15:28:03 +08:00 |
|
超级老白兔
|
17e81cafc2
|
更新内容管理模块,调整数据结构以使用更具描述性的字段名,移除不再使用的备注输入,优化定时发布功能的时间格式处理,提升用户体验和代码可读性。
|
2025-10-22 10:41:19 +08:00 |
|
超级老白兔
|
64ad480bbb
|
重构内容管理模块,移除不再使用的管理组件和模态框,优化样式布局,新增发布和计划功能组件,提升用户体验和界面一致性。
|
2025-10-20 15:36:32 +08:00 |
|
超级老白兔
|
d751bbfcd4
|
优化会话置顶功能,更新状态切换逻辑并添加删除会话功能;新增样式以突出置顶会话,提升用户体验。
|
2025-10-15 15:50:31 +08:00 |
|
超级老白兔
|
a716315311
|
新增右键菜单功能,支持会话置顶、删除和修改备注操作;更新样式以提升用户交互体验,优化会话信息展示逻辑。
|
2025-10-15 15:04:48 +08:00 |
|
超级老白兔
|
edf5abcec9
|
新增消息记录组件对特定消息类型的处理逻辑,支持解析JSON格式内容并优先显示解析后的内容;优化消息过滤条件,确保正确展示消息记录。
|
2025-10-15 14:37:24 +08:00 |
|
超级老白兔
|
0275eea6e7
|
优化聊天会话排序逻辑:新增按置顶状态排序功能,优先显示置顶会话,其次按未读消息数量和显示名称排序,提升用户体验。
|
2025-10-15 14:08:53 +08:00 |
|