161 Commits

Author SHA1 Message Date
Your Name
30950a89dc fix: adjust canvas layout - move toolbar to left, save to left, increase chat height
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-24 21:40:46 +08:00
Your Name
f5c52bfdc6 feat: redesign chat panel to match LOVART style
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-24 21:36:05 +08:00
Your Name
79e5a870e1 feat: comprehensive UI redesign for infinite canvas (LOVART style)
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-24 21:27:36 +08:00
Your Name
f289eca90c feat: integrate chat panel into canvas sidebar
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- Add CanvasChatPanel component for AI conversation in canvas
- Auto-sync generated images from chat to canvas nodes
- Add tabbed interface to switch between AI Chat and Quick Tools
- Widen sidebar to 384px to accommodate chat interface
- Extract image URLs from messages and create canvas nodes automatically
2026-01-24 21:19:25 +08:00
Your Name
aa4fbdd158 feat: show processing state for image operations in canvas
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- Add toolbar above selected image for quick access to editing tools
- Create new node with 'generating' status before processing
- Update node status to 'completed' or 'failed' after processing
- Allow overflow visible for toolbar to display outside node bounds
2026-01-24 21:15:28 +08:00
Your Name
14c8679ac6 fix: use button with ref to trigger file upload dialog
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-24 21:09:00 +08:00
Your Name
6a2cbb1b49 feat: use image URLs instead of Base64 for canvas image operations
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- Modified ImageNode to upload images to storage bucket before use
- Updated RMBG API to support imageUrl parameter (fetch from URL and convert to Base64 internally)
- Updated Enhance API to support imageUrl parameter
- Updated canvas service layer to use imageUrl for all image processing APIs
- All processed images are saved to storage bucket and user gallery
2026-01-24 20:58:15 +08:00
Your Name
bc7e967aba fix: fix image upload in canvas ImageNode
Added stopPropagation to prevent Rnd click handler from intercepting the file input click event. Added an explicit button for better UX.
2026-01-24 20:53:23 +08:00
Your Name
0d5742a7a8 fix: add missing Settings import in canvas editor page
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Fixed ReferenceError: Settings is not defined by adding the Settings icon import from lucide-react.
2026-01-24 20:48:53 +08:00
Your Name
9a2d07426a fix: use light gray background for canvas
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-24 20:34:30 +08:00
Your Name
485d6c0615 feat: use main navbar for canvas page
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-24 20:30:36 +08:00
Your Name
253c2b7e38 fix: canvas background supports light/dark mode
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-24 20:27:45 +08:00
Your Name
1a9f453a20 fix: use correct function names for AI model queries
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-24 20:23:41 +08:00
Your Name
c7ffcda87b feat: add infinite canvas feature with AI image generation
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- Add canvas project and node database tables
- Create canvas workspace with drag, resize, zoom and pan
- Add ImageNode with background removal, enhance, extend, angle edit, scene fusion
- Add VideoNode with playback controls
- Add TextNode for text editing
- Integrate AI image generation API (Gemini/Alibaba)
- Implement viewport culling for performance optimization
- Add canvas entry in top navigation bar
2026-01-24 19:48:13 +08:00
Your Name
acaffcb65a fix: prevent angle edit dialog from triggering navigation on close
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-23 22:14:24 +08:00
Your Name
3366265f1d fix: prevent navigation to homepage when clicking buttons in angle edit dialog
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-22 20:12:41 +08:00
Your Name
0272f5e391 fix: optimize volcano vision prompt - only generate 1 image for scene fusion
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-22 19:55:45 +08:00
Your Name
da99fbdc93 fix: improve error handling for streaming response in scene fusion
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-22 19:41:58 +08:00
Your Name
bec71cf195 feat: implement streaming response for scene fusion - show images as they complete
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-22 19:33:06 +08:00
Your Name
b8efd6b096 fix: optimize scene fusion prompts - use 'reference' approach for better product preservation
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 22:03:06 +08:00
Your Name
c0b1081c81 fix: add timeout handling and debug logs for scene fusion
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 21:53:20 +08:00
Your Name
0333f1953e fix: use 'auto' value instead of empty string for Select component
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 21:45:52 +08:00
Your Name
ade71701e8 feat: support multiple model types for scene fusion (Alibaba, Gemini, Volcano Vision)
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 21:42:13 +08:00
Your Name
1a0dad7895 fix: support gemini and volcano-vision provider types for scene fusion model selection
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 21:37:08 +08:00
Your Name
7620f0b7e0 fix: improve model selection dropdown for scene fusion
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 17:11:31 +08:00
Your Name
0547ab2cc2 feat: add model selection for scene fusion - allow choosing between Alibaba and Gemini models
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 17:04:47 +08:00
Your Name
150b146f91 debug: add detailed logging for scene fusion API response
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 16:56:20 +08:00
Your Name
f60ced8d29 style: remove default prompt display from scene fusion UI
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 16:49:26 +08:00
Your Name
8643531e5d feat: add aspect ratio and resolution selection for scene fusion
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 16:44:46 +08:00
Your Name
153dae3907 style: match image editor navbar height with homepage (h-12)
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 16:38:18 +08:00
Your Name
13bf0afb74 style: force dark mode for image editor top navbar
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 16:34:22 +08:00
Your Name
c5ea1ee3d6 fix: optimize prompts to prevent product deformation & completely remove black border from blur effect
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 16:30:36 +08:00
Your Name
fbf2ecaf87 feat: add product name and target name inputs for more precise scene fusion prompts
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 16:23:16 +08:00
Your Name
9f25cc3708 fix: remove black border from blur effect, fix gallery save issue (uuid type), enhance logging
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 16:17:35 +08:00
Your Name
004d1de1ce style: update scene fusion grid layout to 4 cols and adjust aspect ratio
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 16:07:16 +08:00
Your Name
cb1c808ece chore: add detailed debugging logs for scene fusion API
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 16:04:56 +08:00
Your Name
230e101858 feat: change scene fusion to serial processing with 5s delay and add detailed logging
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 15:57:21 +08:00
Your Name
42ca0b0db1 feat: 优化场景裂变生成状态的 UI
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- 使用动态模糊占位图替代简单的 Loading 圈
- 添加流光扫描动画效果
- 增加更详细的生成中提示
2026-01-18 15:53:09 +08:00
Your Name
1d94176700 chore: 增强场景裂变 API 错误日志,输出完整 API 响应
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 15:45:11 +08:00
Your Name
b238a26e85 fix: 场景裂变页面保留顶部工具栏
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- 修改 ImageAnnotator 布局,使顶部工具栏在场景裂变模式下始终可见
- 将 SceneFusionView 嵌入到工具栏下方的工作区
- 隐藏 SceneFusionView 自带的顶部标题栏
- 优化场景裂变按钮的交互逻辑
2026-01-18 15:39:34 +08:00
Your Name
f4e20cc4c8 fix: force add missing migration file
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 15:32:51 +08:00
Your Name
fd6e0bdb31 fix: 修复数据库迁移记录,确保 defaultTheme 字段被正确添加
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 15:32:04 +08:00
Your Name
4e2869bf2d refactor: 将场景裂变功能从弹窗改为全屏视图切换
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- 新建 SceneFusionView 组件,替代 SceneFusionDialog
- 修改 ImageAnnotator,支持在编辑器模式和场景裂变模式之间切换
- 场景裂变模式下隐藏原有编辑器工具栏,提供独立的顶部导航和返回按钮
- 优化用户体验,无需离开编辑器即可使用场景裂变功能
2026-01-18 15:26:37 +08:00
Your Name
24af251fd3 feat: 系统设置增加默认主题模式配置
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- 管理员可以设置网站默认使用深色/浅色/跟随系统模式
- 新增 defaultTheme 字段到 SiteSettings 表
- 前端 ThemeProvider 从数据库读取默认主题设置
2026-01-18 15:21:17 +08:00
Your Name
aee826c688 fix: 场景裂变按钮无需上传图片即可打开
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-18 15:15:20 +08:00
Your Name
c36d0f93d8 fix: 图片编辑器入口优化 - 直接进入编辑器主页面
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- 点击图片编辑器按钮后直接显示完整编辑器界面(包含工具栏)
- 在画布区域显示上传区域,而非独立的上传窗口
- 保持拖拽、点击、粘贴上传功能
2026-01-18 15:02:58 +08:00
Your Name
688f67c25c feat: 图片编辑器升级 - 入口优化 + 场景裂变功能
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
功能一:图片编辑器入口优化
- 支持先打开编辑器再上传图片
- 新增拖拽上传功能
- 新增粘贴上传功能 (Ctrl+V)

功能二:场景裂变
- 新增场景裂变弹窗组件
- 支持产品图批量融合到多个场景
- 每个场景独立配置补充关键词
- 并发处理提高效率
- 支持单个重新生成和全部下载
- 生成结果自动保存到相册

管理员配置:
- 新增场景裂变配置面板
- 支持自定义默认提示词
- 支持配置最大场景数量
- 支持功能开关

新增文件:
- app/api/scene-fusion/route.ts
- app/api/scene-fusion/config/route.ts
- components/scene-fusion-dialog.tsx
- docs/图片编辑器功能升级规划.md
2026-01-18 14:56:21 +08:00
Your Name
0d7584edf1 fix: 在 Response 组件的 key 中包含处理状态
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- 确保 isProcessing* 状态变化时整个 Response/Streamdown 重新创建
- 解决 Streamdown 内部缓存导致 ImagePreview 不更新的问题
2026-01-18 11:43:12 +08:00
Your Name
d333a04379 fix: 添加 key 强制 ImagePreview 在状态变化时重新渲染
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- 使用处理状态作为 key 的一部分
- 确保 isProcessing* 变化时组件重新创建
2026-01-18 11:38:41 +08:00
Your Name
237be9007d fix: 移除 Response 组件的 memo,修复按钮状态不更新问题
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- 移除 memo 的自定义比较函数
- 确保 isProcessing* 状态变化时组件能正确重新渲染
- 之前的 memo 可能导致 Streamdown 内部的 ImagePreview 没有正确更新
2026-01-18 11:34:04 +08:00