From 1ac55e5cace96c7295b4f9f8d47963659b5968ae Mon Sep 17 00:00:00 2001 From: kang Date: Thu, 14 May 2026 09:19:35 +0800 Subject: [PATCH] auto-save 2026-05-14 09:19 (~2) --- .memory/worklog.json | 27 +++++++++++++-------------- web/components/lightbox.tsx | 7 ++++--- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.memory/worklog.json b/.memory/worklog.json index 0e4bb7b..0a1a3b0 100644 --- a/.memory/worklog.json +++ b/.memory/worklog.json @@ -1,19 +1,5 @@ { "entries": [ - { - "files_changed": 1, - "hash": "d9377c3", - "message": "auto-save 2026-05-12 22:24 (~1)", - "ts": "2026-05-12T22:25:10+08:00", - "type": "commit" - }, - { - "files_changed": 1, - "hash": "292dd8a", - "message": "auto-save 2026-05-12 22:30 (~1)", - "ts": "2026-05-12T22:31:03+08:00", - "type": "commit" - }, { "files_changed": 1, "hash": "8e3b365", @@ -3332,6 +3318,19 @@ "type": "session-heartbeat", "message": "Claude 会话活跃 · 最近命令:claude · 1 项未提交变更 · 最近提交:auto-save 2026-05-14 07:50 (~1)", "files_changed": 1 + }, + { + "ts": "2026-05-14T09:14:03+08:00", + "type": "commit", + "message": "auto-save 2026-05-14 09:13 (~1)", + "hash": "25534c2", + "files_changed": 1 + }, + { + "ts": "2026-05-14T01:16:09Z", + "type": "session-heartbeat", + "message": "Codex 会话活跃 · 最近命令:codex · 1 项未提交变更 · 最近提交:auto-save 2026-05-14 09:13 (~1)", + "files_changed": 1 } ] } diff --git a/web/components/lightbox.tsx b/web/components/lightbox.tsx index 45150df..d6efb3f 100644 --- a/web/components/lightbox.tsx +++ b/web/components/lightbox.tsx @@ -343,9 +343,10 @@ export function FrameLightbox({ jobId, frames, activeIndex, selected, onClose, o } } - const openFusionUpload = (slot: "product_image" | "person_image" | "scene_image") => { + const openFusionUpload = (slot: "product_image" | "person_image" | "scene_image", index = activeFusionShot) => { + setActiveFusionShot(index) setFusionUploadTarget(slot) - fusionFileInputRef.current?.click() + requestAnimationFrame(() => fusionFileInputRef.current?.click()) } const draftFusionDescriptions = async () => { @@ -777,7 +778,7 @@ export function FrameLightbox({ jobId, frames, activeIndex, selected, onClose, o : isSceneTab ? { flex: "1 1 430px", minWidth: 280, maxWidth: 560, minHeight: 0 } : isProductTab - ? { flex: "1 1 600px", minWidth: 360, maxWidth: 760, minHeight: 0 } + ? { flex: "1 1 760px", minWidth: 520, maxWidth: 980, minHeight: 0 } : isCleanTab ? { flex: "1 1 500px", minWidth: 300, maxWidth: 600, minHeight: 0 } : { flex: "1 1 560px", minWidth: 300, maxWidth: 680, minHeight: 0 }}