Your Name
aa4fbdd158
feat: show processing state for image operations in canvas
...
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
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
...
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
...
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
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
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
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
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
...
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
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
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
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
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
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
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
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
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)
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
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
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
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
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
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
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)
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
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
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
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
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
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
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
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
...
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 响应
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: 场景裂变页面保留顶部工具栏
...
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
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 字段被正确添加
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: 将场景裂变功能从弹窗改为全屏视图切换
...
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: 系统设置增加默认主题模式配置
...
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: 场景裂变按钮无需上传图片即可打开
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: 图片编辑器入口优化 - 直接进入编辑器主页面
...
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: 图片编辑器升级 - 入口优化 + 场景裂变功能
...
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 中包含处理状态
...
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 在状态变化时重新渲染
...
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,修复按钮状态不更新问题
...
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
Your Name
c674e7e861
debug: 添加图片处理按钮状态调试日志
...
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- 在 chat.tsx 中添加状态重置日志
- 在 image-preview.tsx 中添加按钮状态监控
- 帮助定位按钮变灰问题
2026-01-18 11:30:10 +08:00
Your Name
59eff93109
feat: 阿里生图自动模式使用输入图片的原始比例
...
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- auto 模式不传递 size 参数,让 API 根据输入图片自动决定比例
- 根据阿里云文档:默认时宽高比与输入图(多图时为最后一张)一致
- 只有用户明确选择具体比例(如 4:3、16:9)时才传递 size 参数
- 避免图片被压扁变形
2026-01-18 11:22:19 +08:00
Your Name
f46ee10eba
fix: 优化阿里生图分辨率计算,确保宽高比和分辨率正确配合
...
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- 改进 clamp 逻辑:超出范围时按比例缩放而非直接截断
- 确保在缩放后仍保持正确的宽高比
- 分辨率等级(1K/2K/4K)和宽高比(4:3/16:9等)可以正确组合
2026-01-18 11:19:51 +08:00
Your Name
086fb70eb2
fix: 修复阿里生图模型 aspectRatio 参数不生效问题
...
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- 将 aspectRatio(如 4:3)转换为阿里云 API 需要的 size 格式(如 1365*1024)
- 结合 imageSize(1K/2K/4K)确定基准分辨率
- 自动计算保持总像素数接近目标分辨率的宽高
- 确保宽高在阿里云 API 要求的 512-2048 范围内
2026-01-18 11:16:24 +08:00