From 61a4becb4b9de8d5d91bc6447a5e1910e0d98337 Mon Sep 17 00:00:00 2001 From: kang Date: Wed, 13 May 2026 19:12:17 +0800 Subject: [PATCH] auto-save 2026-05-13 19:12 (~3) --- .memory/worklog.json | 13 +++++++++++++ docs/source-analysis.html | 13 ++++++++++++- web/components/nodes/index.tsx | 27 ++++++++------------------- 3 files changed, 33 insertions(+), 20 deletions(-) diff --git a/.memory/worklog.json b/.memory/worklog.json index 65cc215..8a10f0b 100644 --- a/.memory/worklog.json +++ b/.memory/worklog.json @@ -2162,6 +2162,19 @@ "message": "auto-save 2026-05-13 18:57 (+1, ~3)", "hash": "aec7fda", "files_changed": 4 + }, + { + "ts": "2026-05-13T19:06:46+08:00", + "type": "commit", + "message": "auto-save 2026-05-13 19:06 (~3)", + "hash": "6fb00da", + "files_changed": 3 + }, + { + "ts": "2026-05-13T11:09:29Z", + "type": "session-heartbeat", + "message": "Codex 会话活跃 · 最近命令:codex · 1 项未提交变更 · 最近提交:auto-save 2026-05-13 19:06 (~3)", + "files_changed": 1 } ] } diff --git a/docs/source-analysis.html b/docs/source-analysis.html index 8ceef2f..575283a 100644 --- a/docs/source-analysis.html +++ b/docs/source-analysis.html @@ -830,6 +830,17 @@ api/main.py

变更记录

这个记录不是 git log 的替代品。它记录“产品理解发生了什么变化、影响了哪些源码、你以后描述需求时该怎么说”。后续每次改功能都要补一条。

+
+
+

2026-05-13 · 元素改造 hover 预览简化为原帧预览

+ StoryboardNode +
+
+

问题:元素改造节点的 hover 预览虽然已改为节点内显示,但仍比关键帧节点复杂,多了“来源原帧 / 提取元素”两栏和元素名称,信息过载。

+

改动:改成和镜头拆解关键帧一致的简单预览:只显示来源原帧,底部显示分镜编号和时间。

+

影响:web/components/nodes/index.tsx;元素改造板块 hover 现在更轻,不干扰当前判断。

+
+

2026-05-13 · 元素改造 hover 预览改为节点内效果

@@ -837,7 +848,7 @@ api/main.py

问题:上一版把元素预览用 createPortal 挂到 body,DevTools 里会出现额外 fixed 层,交互形态和关键帧节点不一致。

-

改动:改成和镜头拆解关键帧一致的节点内 group-hover 预览:hover 时在元素缩略图上方展示来源原帧 + 提取元素,不再向 body 插入预览层。

+

改动:改成节点内 group-hover 预览,不再向 body 插入预览层。后续又简化为只展示来源原帧,见上方最新记录。

影响:web/components/nodes/index.tsx;元素改造板块的 DOM 和交互效果更接近关键帧缩略图。

diff --git a/web/components/nodes/index.tsx b/web/components/nodes/index.tsx index 11af45f..5ede098 100644 --- a/web/components/nodes/index.tsx +++ b/web/components/nodes/index.tsx @@ -682,9 +682,9 @@ export function StoryboardNode({ data, selected }: any) { 📋 )} - {/* hover 预览 — 跟关键帧节点一样留在 ReactFlow 节点内部,不向 body 挂 fixed portal */} + {/* hover 预览 — 和关键帧节点保持一致:只看来源原帧,不额外展示元素面板 */}
-
-
-
-
来源原帧
-
- -
-
-
-
提取元素
-
- -
-
+
+
+
-
- {p.name} - 分镜 {p.frameIdx + 1} · {p.timestamp.toFixed(2)}s +
+ 分镜 {p.frameIdx + 1} + {p.timestamp.toFixed(2)}s