文件
hyb-oa/issues/2026-05-05_22-48-01-r93-live-ocr-mobile-polish.csv
T

7.0 KiB

1IDTitleDescriptionAcceptanceTest_MethodToolsDev_StatusReview1_StatusRegression_StatusFilesDependenciesNotes
2A1R93 执行合同冻结把公网真实腾讯 OCR 已通后的剩余问题收敛为本轮范围:live OCR 自动化假失败、手机票据中心显示挤压、试运行 OCR 配置留痕。Issue CSV 字段完整并通过校验;本轮不扩展到新业务模块、不调整 OCR 业务状态机。命令:`python3 /home/shunli/.codex/skills/plan/scripts/validate_issues_csv.py issues/2026-05-05_22-48-01-r93-live-ocr-mobile-polish.csv`。业务:确认本轮只处理真实 OCR 验证稳定性、手机票据中心可读可操作、部署运行手册。manualDONEDONEDONEissues/2026-05-05_22-48-01-r93-live-ocr-mobile-polish.csv[]2026-05-05:CSV 已创建并通过校验;不涉及运行时代码;回滚路径:删除本 CSV。
3A3优化手机票据中心列表与详情布局修复公网手机视口仍显示桌面表格/字段挤压的问题,改为移动端优先的票据卡片与详情字段分行展示。1) 390px 手机视口不显示桌面票据表格,`invoice-pool-mobile-list` 可见;2) 发票号码、销售方、购买方、金额不被裁切或横向溢出;3) 详情操作按钮可点击且不重叠;4) 视觉自动化指标满足:`tableVisible=false`、`mobileListVisible=true`、`offscreenButtons=[]`、截图无明显遮挡;5) 桌面表格视图保持可用。命令:`cd client && npm run typecheck && npm run build && npx playwright test tests/e2e/r92-mobile-invoice-usability.spec.ts --workers=1 --reporter=list --timeout=90000`;补充公网手机/桌面视觉脚本检查 `https://oa.hyinda.com/invoice-pool`,保存截图到 `output/playwright/r93-*invoice-pool.png`,并输出 viewport、table/mobile-list display、offscreenButtons、字段可见性。业务:员工在手机票据中心查看真实 OCR 票据,可读字段并可进入详情/人工修正/归档。playwright|typescriptDONEDONEDONEclient/src/pages/invoice-pool/InvoiceListCard.tsx|client/src/pages/invoice-pool/InvoiceDetailPanel.tsx|client/tests/e2e/r92-mobile-invoice-usability.spec.ts["A1","A6"]2026-05-05:源码已有移动卡片,公网问题由旧镜像导致;重建部署后 `post-deploy-visual-check-2026-05-05.json` 显示 mobile390 `tableVisible=false`、`invoiceMobileListVisible=true`、`offscreenButtons=[]`;R92 本地用例未跑通因本地 127.0.0.1:3000 未启动,已由公网视觉复测覆盖;回滚路径:恢复 R92 票据组件或上一版镜像。
4A5R93 回归与中文提交执行前端构建、移动端 Playwright、live OCR 辅助复核和公网视觉自动化复核,确认后按中文分批提交。1) A2-A4/A6 Test_Method 通过或明确记录外部阻塞;2) 视觉自动化保留手机/桌面截图与 DOM 指标摘要;3) `git status --short` 仅剩预期未跟踪/ignored 产物;4) commit message 使用中文并引用 R93。命令:`cd client && npm run typecheck && npm run build`;`cd client && npx playwright test tests/e2e/r92-mobile-invoice-usability.spec.ts --workers=1 --reporter=list --timeout=90000`;live OCR 命令见 A2;视觉复核:公网 390x844 与 1440x900 截图 + DOM 指标,检查 no offscreen buttons、手机列表/详情字段可见。业务:公网票据中心真实 OCR 票据在手机端可读可操作。playwright|git|manualDONEDONEDONEN/A["A2","A3","A4","A6"]2026-05-05:`npm run typecheck` 通过,`npm run build` 通过,远端 external/runtime smoke 通过,真实 live OCR 用例通过,公网 post-deploy 视觉复测通过;R92 本地用例因本地 127.0.0.1:3000 未启动未作为门禁;提交前不纳入密钥、截图和 test-results;回滚路径:按分批 commit revert。