Codex/ecommerce history sync #35
Reference in New Issue
Block a user
Delete Branch "codex/ecommerce-history-sync"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
三个 bug 均为旧代码链路污染: 1. 点击热门/海报等模板后生成,误弹"将生成 N 张图片"套图确认框 - 根因:shouldConfirmSetCount 只判 effectiveOutput==="set",未排除场景路由的单图链路 - 改为仅在真正套图路径(!routedScenario && cloneOutput==="set")时确认 2. 头像弹窗内"退出"按钮点击无反应,无法退出登录 - 根因:Topbar header 内联 pointerEvents:"none",弹窗 section 及 backdrop 未像其它可点元素那样内联 pointerEvents:"auto",整棵弹窗子树继承 none - 给 popover section 与 backdrop 补上内联 pointerEvents:"auto" 3. 删除当前查看的历史记录后停留在原任务页,未回到首页 - 删除 active 记录时改为镜像"新建对话"的复位(resetTask + 清画布/预览/指令栏) 附带完成 EcommercePage.tsx 拆分重构(8615→约7700行):模块级类型/常量/资源/ 工具函数拆到 ecommerceTypes/Constants/JsxConstants/Assets/ImagePipeline/IntentClassifier 六个文件并改为 import;修正拆分文件两处 stale 分歧(maxCloneProductImages=10、 ProductClonePageProps.onWorkspaceChromeChange);并入历史记录按用户分桶修复。 验证:type-check 0 错 / 159 测试通过 / build 通过 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>