auto-save 2026-05-13 19:06 (~3)

This commit is contained in:
2026-05-13 19:06:46 +08:00
parent aec7fdaa5d
commit 6fb00da3f9
3 changed files with 52 additions and 67 deletions

View File

@@ -830,6 +830,17 @@ api/main.py
<h2>变更记录</h2>
<p>这个记录不是 git log 的替代品。它记录“产品理解发生了什么变化、影响了哪些源码、你以后描述需求时该怎么说”。后续每次改功能都要补一条。</p>
<div class="changelog">
<article class="change">
<header>
<h3>2026-05-13 · 元素改造 hover 预览改为节点内效果</h3>
<span class="tag violet">StoryboardNode</span>
</header>
<div class="body">
<p><strong>问题:</strong>上一版把元素预览用 <code>createPortal</code> 挂到 <code>body</code>DevTools 里会出现额外 fixed 层,交互形态和关键帧节点不一致。</p>
<p><strong>改动:</strong>改成和镜头拆解关键帧一致的节点内 <code>group-hover</code> 预览hover 时在元素缩略图上方展示来源原帧 + 提取元素,不再向 <code>body</code> 插入预览层。</p>
<p><strong>影响:</strong><code>web/components/nodes/index.tsx</code>;元素改造板块的 DOM 和交互效果更接近关键帧缩略图。</p>
</div>
</article>
<article class="change">
<header>
<h3>2026-05-13 · 新增独立源码解析与协作地图</h3>
@@ -849,7 +860,7 @@ api/main.py
<div class="body">
<p><strong>问题:</strong>元素改造节点上方小图 hover 没有像镜头拆解节点一样显示原图预览,并且首次修复时出现运行时错误。</p>
<p><strong>原因:</strong>节点内部 overflow 裁剪了预览;随后 portal 预览里把变量写成了不存在的 <code>aspectRatio</code></p>
<p><strong>影响:</strong><code>web/components/nodes/index.tsx</code>现在 hover 展示来源原帧和提取元素,运行时异常已验证为 0</p>
<p><strong>影响:</strong><code>web/components/nodes/index.tsx</code>该记录之后又改为节点内预览,见上方最新记录</p>
</div>
</article>
<article class="change">