Files
tongxunruanjian/docs/acceptance/b171-batch1.md
T
fb58da670b docs: 补记 B-171 小回归两提交与检查结果
记录断网横幅 SafeArea、添加同事独立 Obx 的 SHA、analyze 结果与回退命令。

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-08-20 03:22:18 +08:00

74 lines
4.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# B-171 第一批迁移验收与回退
分支:`agent/agent/7b089146`(基于 B-95 `agent/agent/713c11eb` / `e26abad`
回退基线:`fa8584a`
## 提交主题(可逐项 `git revert`
### 第一批
1. B-149 文档三处修正 `45d9168`
2. 手机 Token/主题入口、内网地址、功能开关 `d787c0a`
3. 工号登录薄适配与登录页 `60b6590`
4. 员工目录、通讯录/添加同事/好友申请、会话与聊天第一批界面(含在 `60b6590`
5. PC 可改目录 Token 与通讯录/申请列表重整 `0589623`
6. 本验收记录(初版)`5e098a5`
### B-173 定向返工(本轮)
| 主题 | SHA | 文件 |
|---|---|---|
| 未读角标 18×18、白字 12、圆角 9、去掉重阴影 | `da9152d36b680b76e0e9d50536dd4692baffe084` | `mobile-next/openim_common/lib/src/widgets/unread_count_view.dart` |
| 会话姓名 16sp,字号只用 12/14/16/18 | `87a5930906554d3b0b88bdf95086787624a345ab` | `mobile-next/lib/pages/conversation/conversation_view.dart` |
| 登录失败顶部 toast,2 秒消失 | `092f5137082e392de9a14bd340260a147b9e254a` | `company_login_page.dart``company_login_logic.dart` |
| 加载/失败/断网接到真实状态 | `2b2c2d28a42f57d1cd8e635153ce398685a0bc89` | 会话/通讯录/好友申请/添加同事/主页 |
| 主窗口下限 1080×680(特批仅两常量) | `63520a64889a667c79be3406f85b5c191ad24635` | `pc-client/electron/main/windowManage.ts` |
| 本轮验收记录 | 本文件当次提交 | `docs/acceptance/b171-batch1.md` |
回退本轮:从新到旧逐个 `git revert` 上表 SHA(含本验收提交)。
### B-180/B-181 小回归(本轮)
| 主题 | SHA | 文件 |
|---|---|---|
| 断网横幅外包 `SafeArea(bottom: false)` | `26d070fbaf40f909f40bc5320c65d81b1b97fb9d` | `mobile-next/lib/pages/home/home_view.dart` |
| 工号提示与发送按钮改回独立 `Obx` | `e355b89204c14708a2d51bee9af84f2227bc71dd` | `mobile-next/lib/company/ui/add_colleague_page.dart` |
| 本轮验收补记 | 本文件当次提交 | `docs/acceptance/b171-batch1.md` |
回退本轮小回归:`git revert <本验收提交>`,再 `git revert e355b89`,再 `git revert 26d070f`
`dart format` + `flutter analyze`:上述两个 Dart 文件无 issues。未重新打安装包。HTTP 登录与 LiveKit 仍不标为通过。黄色建议未处理。
## 越界比对(对比 `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/`
`pc-client/electron/`:仅 `main/windowManage.ts``minWidth=1080``minHeight=680` 两处常量变化(队长特批)。其余 electron 文件相对 `e26abad` 为零改动。
## 窗口常量特批
允许且仅允许修改 `pc-client/electron/main/windowManage.ts``minWidth``minHeight`。整树越界比对已单独列出该差异。
## 品牌历史遗留
`pc-client/src/config/index.ts` 中历史已有的 `APP_NAME = "畅联"` 非本批引入。本批不增、不删、不改任何品牌字样、标识或资源;待 OpenIM 许可书面结论后统一处置。
B-173 黄色建议未并入本轮。
## 构建(返工后,Flutter 3.24.5 / Temurin 17 / 原 B-95 SDK
| 构建 | 结果 | 大小 | SHA256(当次产物记录,非位级可复现) |
|---|---|---|---|
| debug | 成功 | 109,478,645 B | `E51571608B10FF32D25867EA6E23C750EEA2845FA0ED31FD9C17DAA960F654B5` |
| release | 成功 | 53,279,759 B | `BA0D548B7E38203D0FF455646744F4A591E69853E686F1B3D15CCB61EE899F8C` |
`dart format` 已对返工 Dart 文件执行。`flutter analyze`:本卡改动文件无 error(仅既有 info/warning)。仓库内既有 `local_plugin/flutter_download_manager/example` 报错与 B-95 相同,非本卡引入。
PC:本环境无 `node_modules`,未跑 `npm run lint` / `vite build`,不推定通过。窗口下限改动为 TypeScript 常量,未做运行时验证。
- HTTP 工号密码登录:**不标为已通过。**
- LiveKit**未测,不标为已通过。**
- 品牌换标:未做。登录页保留 OpenIM 标识。
功能质检与视觉审核须重新执行,本卡不自行宣布通过。