优化用户反馈设备信息展示 #85
Reference in New Issue
Block a user
Delete Branch "codex/feedback-device-display"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
改动说明
验证
🤖 review-pr 深审结论(前端 · admin-web #85)
配套后端 app-server #181。本仓无本地克隆,走 API 降级:已拉 head 全量
page.tsx+types.ts逐场景走查。总评 🟢 可合:类型新增与后端
FeedbackOut完全对齐(device_model_name/device_manufacturer: string|null、rom_version: number|null)。置信度 ~0.85。走查结论
renderDeviceOs四种场景均渲染正确:已知机型+命中比价记录 / 已知+未命中 / 未知编码 / 历史 null。romHasVersion检测rom_name是否已含数字,避免「MIUI 14 14」重复拼版本,考虑周到。device_model归一化、列宽 150→180 配合两行副信息合理。一个跨仓提示(主改动在后端)
device_model=None)会省略device_model_name/device_manufacturer/rom_version三个 key(不是null,是键不存在)。本前端因||/&&/.filter(Boolean)防御式写法,undefined与null表现一致,当前不受影响;仅提示这三个字段并非总是存在,勿在别处假设它一定是null。详见后端 #181 评论。—— 自动深审,仅供参考,具体以人工判断为准。