docs: 记录 B-188 PC 会话置顶返工检查与回退
补记修复提交 SHA、npm run build / tsc 结果、上游存量错误和未实测项。不宣布整批通过。 Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
co-authored by
Cursor
multica-agent
parent
d9d5853f73
commit
e40ece184b
@@ -1,6 +1,6 @@
|
||||
# B-185 / B-171 第二批交互补齐验收与回退
|
||||
|
||||
分支:`agent/agent/7b089146`(本工作副本本地名为 `agent/agent/af338202`,跟踪该远程分支)
|
||||
分支:`agent/agent/7b089146`(本工作副本本地名为 `agent/agent/1a87b790`,基于该远程分支 `a4d21ef`)
|
||||
基线:`fb58da6`(B-171 第一批完成点)
|
||||
架构:B-90;视觉:B-91 `changlian-visual-spec-v2.md`
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
## 提交主题(可逐项 `git revert`)
|
||||
|
||||
从新到旧回退:先本验收提交,再按下表从下往上 `git revert`。
|
||||
从新到旧回退:先 B-188 验收补记与 `d9d5853`,再原第二批验收提交,再按下表从下往上 `git revert`。
|
||||
|
||||
| 主题 | SHA | 主要文件 |
|
||||
|---|---|---|
|
||||
@@ -20,6 +20,10 @@
|
||||
| 断网横幅恢复后 300ms 收起、底栏 12px | `d1657ea29f0fc59f248f2108d7cfb9bcc239921e` | `home_view.dart` |
|
||||
| PC 第二批登录/会话/聊天/添加同事/职务行/i18n | `a44537da4e8ce7b5b17b491c05592ad21cdd0bca` | `pc-client/src/pages/**`、`ApplicationItem`、`i18n`、`global.scss`、`docs/acceptance/pc-boundary.md` |
|
||||
| 本验收记录 | 本文件当次提交 | `docs/acceptance/b171-batch2.md` |
|
||||
| B-188 定点返工:PC 会话置顶改 `setConversation` | `d9d5853f73aa8060c9ed768c326f00d691847e3e` | `pc-client/src/pages/chat/ConversationSider/ConversationItem.tsx` |
|
||||
| B-188 验收补记 | 本文件当次提交 | `docs/acceptance/b171-batch2.md` |
|
||||
|
||||
回退 B-188:先 `git revert` 本验收补记提交,再 `git revert d9d5853f73aa8060c9ed768c326f00d691847e3e`。
|
||||
|
||||
## 检查
|
||||
|
||||
@@ -27,6 +31,28 @@
|
||||
- PC `npm run lint` / `vite build`:**未跑。** 仓库内无 `pc-client/node_modules`,不推定通过。
|
||||
- 运行截图:无测试账号、无客户端进程,**未截图。**
|
||||
|
||||
### B-188 定点返工检查(2026-08-20)
|
||||
|
||||
- 改动:`IMSDK.pinConversation(...)` → `IMSDK.setConversation({ conversationID, isPinned: !conversation.isPinned })`。`deleteConversationAndDeleteAllMsg` 未改。
|
||||
- PC `npm run build`:**通过**(vite `✓ built in 31.30s`,随后写出 `dist-electron/**`)。
|
||||
- `npx tsc --noEmit`(实际调用 `node node_modules/typescript/bin/tsc --noEmit`):`ConversationItem.tsx` **无本批新增错误**(无 TS2551 / `pinConversation`)。
|
||||
- 会话右键「置顶/取消置顶」:**未实测**(无登录运行环境、无客户端进程),不得推定通过。
|
||||
- 黄色建议:未处理。
|
||||
|
||||
`tsc --noEmit` 上游存量错误(非本卡引入,未修):
|
||||
|
||||
- `src/hooks/useGroupMembers.ts` TS18047 ×3(`latestFetchState.current` possibly null)
|
||||
- `src/layout/LeftNavBar/About.tsx` TS2345 ×2(`OnUploadLogsProgress` 回调类型)
|
||||
- `src/pages/chat/queryChat/useHistoryMessageList.tsx` TS18047 ×1
|
||||
- `src/pages/common/ChooseModal/ChooseBox/index.tsx` TS18047 ×2
|
||||
- `src/pages/common/RtcCallModal/index.tsx` TS2786(`LiveKitRoom` JSX)
|
||||
- `src/pages/common/RtcCallModal/RtcControl.tsx` TS2786 ×2(`TrackToggle`)
|
||||
- `src/pages/common/RtcCallModal/RtcLayout.tsx` TS2786(`VideoTrack`)
|
||||
- `src/pages/common/UserCardModal/index.tsx` TS2345
|
||||
- `src/utils/imCommon.ts` TS2322 ×11(`string | undefined` → `string`)
|
||||
|
||||
本卡不自行宣布整批通过。
|
||||
|
||||
## 越界比对(对比 `e26abad`)
|
||||
|
||||
零改动:`mobile/`、`pc-client/src/store/`、`pc-client/src/layout/MainContentWrap.tsx`、`pc-client/src/pages/chat/queryChat/ChatFooter/useSendMessage.ts`、`pc-client/src/pages/chat/queryChat/useHistoryMessageList.tsx`、`account-service/`。
|
||||
|
||||
Reference in New Issue
Block a user