16 Commits

Author SHA1 Message Date
Your Name
339bf91019 fix: 修复画布聊天面板发送消息格式
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
1. 修复 handleSend 中 parts 数组的顺序(文件在前,文本在后)
2. 添加 videoParams: undefined 确保 schema 兼容
3. 添加调试日志帮助排查问题

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-01 12:22:41 +08:00
Your Name
057014900c feat: 完善画布功能按钮与后端 API 对接
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
1. 修复 CanvasChatPanel 中的图片上传 - 使用 parts 数组而非 attachments
2. 扩展 chat schema 支持更多图片格式(gif, bmp, svg)
3. 实现尺寸调整功能 - 添加对话框选择尺寸
4. 更新 imageGenerationService.resizeImage 使用 canvas API 调整尺寸
5. 所有图片编辑功能已对接:抠图、变清晰、扩展、角度编辑、场景裂变、尺寸调整

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-01 12:18:16 +08:00
Your Name
ee4bb14736 feat: add banner settings to admin panel for configuring ad banner text and link
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-26 22:26:44 +08:00
Your Name
0c4a2a455e fix: create new canvas instead of redirecting when canvas not found
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-26 22:17:58 +08:00
Your Name
b936e58637 debug: add mousedown handler and z-index to button
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-26 22:12:18 +08:00
Your Name
23e2dcf1b9 debug: make file list button very visible (red pulsing)
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-26 22:07:52 +08:00
Your Name
76eac7a52a debug: add blue background and alert to file list button
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-26 22:04:07 +08:00
Your Name
da523034c8 fix: use native button element for file list button
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-26 21:55:47 +08:00
Your Name
259f45740e fix: ensure file list button click handler works properly
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-26 21:52:28 +08:00
Your Name
8e82b0ea99 fix: use Button with router.push for reliable navigation
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- Replace Link components with Button + router.push
- Add e.preventDefault() and e.stopPropagation() to prevent event issues
- Fix file list button click handler in CanvasChatPanel
- Ensures single click navigation works consistently
2026-01-26 21:31:58 +08:00
Your Name
7704a799f8 fix: update canvas chat panel header to match official design
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-24 22:29:31 +08:00
Your Name
0279627ecc fix: remove input shadow and use real image params in canvas chat
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-24 22:09:07 +08:00
Your Name
39c726b5af fix: shrink canvas toolbar and restore chat banner
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-24 22:03:17 +08:00
Your Name
1ad0bc8db6 fix: remove logo from canvas chat panel greeting
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-24 21:57:55 +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
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