Skip to content

feat(desktop): IM 系统增强——好友/通知/撤回/已读/群聊#220

Merged
DeliciousBuding merged 1 commit into
dev/delicious233from
feat/integrate-trump-im
May 27, 2026
Merged

feat(desktop): IM 系统增强——好友/通知/撤回/已读/群聊#220
DeliciousBuding merged 1 commit into
dev/delicious233from
feat/integrate-trump-im

Conversation

@DeliciousBuding
Copy link
Copy Markdown
Collaborator

来源

dev/trump 分支(Xavier-Trump)提取的 IM 系统增强。
原 PR: #194 feat(desktop): 接通桌面聊天闭环, #200 feat(desktop): 收口IM操作与状态契约

变更

文件 变更 功能
useIMChat.ts +645 好友请求/通知/撤回/已读回执/群聊/私聊/接口缺口检测
IMView.tsx +196 操作面板、加载/错误/空态、溶解会话
IMContactList.tsx +151 群聊创建、Hub 联系人选择器、私聊入口
IMMessageView.tsx +52 撤回按钮、已读状态、权限徽章
IMMessageInput.tsx +7 异步回调支持

审查结论

Trump 的 IM 系统比 dev 当前版本更完整(useIMChat 907 vs 262 行),加了 10+ Hub IM 功能。
纯增量改动——未删除 dev 现有代码。

Co-Authored-By: Xavier-Trump 2933243959@qq.com

从 dev/trump 提取(原 PR #194 #200,commit beb97b8, 42c71b8)。
useIMChat: +645 lines — friend requests, notifications, recall, read receipts,
  group/private session creation, interface gap detection
IMView: +196 lines — action panels, loading/error/empty states
IMContactList: +151 lines — group creation, Hub contact picker
IMMessageView: +52 lines — recall button, read status
IMMessageInput: async callback support

Co-Authored-By: Xavier-Trump <2933243959@qq.com>
Copilot AI review requested due to automatic review settings May 27, 2026 15:36
@DeliciousBuding DeliciousBuding merged commit cc5fbe0 into dev/delicious233 May 27, 2026
6 of 11 checks passed
@DeliciousBuding DeliciousBuding deleted the feat/integrate-trump-im branch May 27, 2026 15:37
DeliciousBuding added a commit that referenced this pull request May 27, 2026
PR #220 IM 增强引入的类型缺口修复:
- IMMessage: +recalled/read/readBy/readAt/actionError/clientMsgId
- IMContact: +dissolved/statusHint/unreadCount
- Session: +session_id/unread_count/archived/member_count/last_message_at
- HubNotification: 新增接口

Co-Authored-By: Claude <noreply@anthropic.com>
@DeliciousBuding DeliciousBuding review requested due to automatic review settings May 27, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants