auto-save 2026-05-14 03:26 (~3)

This commit is contained in:
2026-05-14 03:26:17 +08:00
parent 2144c374bd
commit 65f81efec8
3 changed files with 37 additions and 34 deletions

View File

@@ -817,6 +817,18 @@ api/main.py
<h2>变更记录</h2>
<p>这个记录不是 git log 的替代品。它记录“产品理解发生了什么变化、影响了哪些源码、你以后描述需求时该怎么说”。后续每次改功能都要补一条。</p>
<div class="changelog">
<article class="change">
<header>
<h3>2026-05-14 · 吸附工作面板贴近视口边缘</h3>
<span class="tag violet">Canvas Panel</span>
<span class="tag blue">Dock</span>
</header>
<div class="body">
<p><strong>问题:</strong>视频抽帧面板吸附左侧 / 右侧时顶部仍留出明显空白;这不是实际板块遮挡,而是面板吸附样式里硬编码了 <code>top: 72</code> 和对应的高度预留。关键帧面板也保留了旧 storyboard 顶栏避让逻辑。</p>
<p><strong>改动:</strong>新增统一吸附边距常量,视频抽帧面板和关键帧详情面板吸附时都贴近视口边缘,仅保留 8px 安全边距;移除关键帧面板对旧 <code>data-storyboard-dock</code> / <code>data-storyboard-bar</code> 的避让查询。</p>
<p><strong>影响:</strong><code>web/components/nodes/index.tsx</code><code>docs/source-analysis.html</code>。后续画布工作面板的吸附语义统一为“贴边”,不是为顶部旧板块预留空间。</p>
</div>
</article>
<article class="change">
<header>
<h3>2026-05-14 · 输入视频双击改为画布抽帧面板</h3>