Skip to content

fix(parser): 修复协议解析 TX/RX 列表无法滚动 - #41

Merged
AnlangA merged 4 commits into
masterfrom
fix/parser-tx-rx-scroll
Aug 27, 2026
Merged

AnlangA merged 4 commits into
masterfrom
fix/parser-tx-rx-scroll

Conversation

@AnlangA

@AnlangA AnlangA commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • 让协议解析面板的 TX/RX 列表在会话展示区里按 flex 高度滚动,不再被裁成约 14 行。
  • HEX/RAW dump 在 transportData 为空时回退到帧 data,并避免隐藏页被 display: flex 盖掉。
  • SMP 消费完整共享 TX/RX 时间线,不再只认 serial-rx / serial-tx
  • 浏览器 mock E2E 改为用 Node 直接拉起 Vite 与 WDIO,避开 Windows 上 pnpm.cmdEFTYPE

Test plan

  • 解析面板 TX/RX 列表可滚动,Raw dump 有内容
  • 前端单测(含 display-area flex 布局不变量)
  • 本机 precommit:full 的浏览器 E2E 仍会因 Chrome 访问 127.0.0.1:5173 超时失败;本次按要求跳过钩子推送

Made with Cursor

AnlangA and others added 4 commits August 27, 2026 19:38
- 不再按 serial-rx/serial-tx 过滤捕获帧,MCUmgr 回放等同源时间线上的报文一并进入解析
- 去掉无法验证来源的历史帧诊断,origin 仅作显示归属
- 同步更新运行时测试与中文诊断文案

Co-authored-by: Cursor <cursoragent@cursor.com>
- 将 display-area 改为纵向 flex,避免面板按内容撑高后被父级裁切
- 抽出 ParserRecordList 与固定行高虚拟列表,检查器 HEX/原始数据改用虚拟转储
- 补齐 display-area 高度契约测试,并同步 Modbus 面板根高度

Co-authored-by: Cursor <cursoragent@cursor.com>
- 对 pnpm.cmd 使用 shell spawn,避免 pre-push 在 Vite 就绪后因 EFTYPE 失败

Co-authored-by: Cursor <cursoragent@cursor.com>
- 不再经 pnpm.cmd 二次 spawn,避免 Windows 上 EFTYPE 中断 pre-push

Co-authored-by: Cursor <cursoragent@cursor.com>
@AnlangA
AnlangA merged commit 0163e0b into master Aug 27, 2026
1 of 2 checks passed
@AnlangA
AnlangA deleted the fix/parser-tx-rx-scroll branch August 27, 2026 12:09
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.

1 participant