Skip to content

v0.17.0 — 修复卡片消失 + 目录锚点跳转

Choose a tag to compare

@hccccc01333 hccccc01333 released this 14 Aug 09:16
· 6 commits to master since this release

修复内容

  1. 报告卡片不再消失:打开/关闭右侧面板后,对话中的报告卡片全部保留(修复了 artifact store 的渲染循环崩溃,store 方法改为稳定引用,sync 仅在 HTML 真正变化时触发)。
  2. 目录锚点跳转生效:报告 iframe 注入文档内导航脚本,点击目录链接平滑滚动到目标章节,不再跳转空白。

验证

  • Playwright 实测:卡片 1 → 1 → 1(打开面板、关闭面板后均保留),无 React 错误
  • 锚点点击后 scrollY 0 → 929,报告内容完整

链接