138 Commits

Author SHA1 Message Date
Your Name
ddada59db1 fix: 使用特殊标记保持占位图显示
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
问题:对话消息发送后占位图消失
解决:
1. 后端在对话消息末尾加上 <!-- GENERATING_IMAGE --> 标记
2. 前端检测到此标记时继续显示占位图
3. 渲染时清理掉这个标记(用户看不到)
4. 数据库保存时不带标记(纯对话)

流程:
1. 用户发送请求
2. AI回复对话(带标记)+ 占位图继续显示
3. 图片生成后显示

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-01 02:12:08 +08:00
Your Name
ff9f45858b feat: 智能自动模式先对话再生图
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
流程:
1. 用户发送请求(图片+文字)
2. AI立即回复对话('好的,我来帮你...')
3. 显示占位图(正在生成中...)
4. 图片生成后显示

修改:
- 后端:先发送对话消息,再调用生图API
- 前端:检查用户消息后所有assistant消息是否有图片
- 只有图片出现才隐藏占位图,对话文字不影响

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-01 02:00:21 +08:00
Your Name
73d1ab7912 fix: 智能自动模式对话和图片合并发送
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
修复流程:
1. 用户发送请求
2. 显示占位图
3. 图片生成后显示(对话文字 + 图片)

- 将对话消息和图片合并成一条消息
- 对话文字在前,图片在后
- 占位图显示到图片出现为止

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-01 01:56:18 +08:00
Your Name
6462fe2456 feat: 智能自动模式先对话再生图
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
修复内容:
1. 修复变量名 smartAutoHistoryImage -> smartAutoHistoryImages
2. 修复 model-router.ts 循环依赖问题
3. 智能自动模式显示占位图(当用户发送图片时)
4. 先发送对话消息(如:好的,我来帮你...),再生成图片
5. 让用户感受到是在和AI对话,而不是机器执行

流程:
用户发送请求 -> AI回复对话 -> 显示生图占位图 -> 显示生成结果

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-01 00:08:37 +08:00
Your Name
64dbbd8e6e fix: 智能自动模式使用通用思考动画
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- 智能自动模式后端还在分析意图时,显示通用思考动画
- 避免在后端未确定生图前就显示生图占位图
- 等后端确定是生图模型后,自然切换到对应占位图

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 23:46:30 +08:00
Your Name
6d37542b0b fix: 智能自动模式 - 将 auto 传递给后端而非前端选择
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 23:17:53 +08:00
Your Name
8d580ad3ab chore: sync local changes
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 22:39:49 +08:00
Your Name
81d2489649 refactor: clean up debug logs and simplify message handling
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 22:36:29 +08:00
Your Name
258c4ce173 fix: clean up timer logic to prevent memory leaks
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 22:33:55 +08:00
Your Name
eca231575d fix: show loading placeholder when streaming but last message is user message
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 22:29:00 +08:00
Your Name
ddd0006f1e fix: use replaceState instead of redirect to preserve message state
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 22:25:58 +08:00
Your Name
cd5669a8bf fix: redirect to /chat/id after image generation to ensure messages load correctly
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 22:20:08 +08:00
Your Name
2fdf27e611 debug: add logging to track message state during image generation
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 22:18:02 +08:00
Your Name
390ab1b935 fix: add timeout protection for loading placeholder and improve image content detection
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 22:17:18 +08:00
Your Name
2e62d17317 fix: preserve chat context after image generation by updating URL to /chat/id
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 22:11:29 +08:00
Your Name
9fcb170483 fix: reduce zoom step to 2% for even finer scaling control
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 22:05:26 +08:00
Your Name
486877b323 fix: reduce zoom step to 5% for finer image scaling control
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 22:02:59 +08:00
Your Name
960013d507 fix: move close button inside modal to prevent being hidden
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 21:58:48 +08:00
Your Name
51ba20be21 fix: use React Portal to render video modal outside nav element for proper centering
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 21:56:43 +08:00
Your Name
876386ecec fix: properly center video tutorial modal and fix featured image dialog overflow
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 21:51:35 +08:00
Your Name
f8b5de0aaf fix: remove dropdown title, improve video modal centering
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 21:48:10 +08:00
Your Name
9653f47560 fix: center video modal properly on screen
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 21:45:01 +08:00
Your Name
10fecf0892 feat: add custom high-performance video player optimized for slow networks
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 21:00:06 +08:00
Your Name
b99b3e5718 perf: optimize video playback and encoding for better web streaming experience
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 20:54:25 +08:00
Your Name
e861fc5203 feat: add multi-video tutorial support with dropdown menu and video management
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 20:48:14 +08:00
Your Name
024ec19c70 feat: add tutorial video button and ranking visibility toggle in navbar settings
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 20:37:29 +08:00
Your Name
c44c8cff6a feat: add toolbox1/toolbox2 name and enable settings in navbar config
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-01-31 11:11:58 +08:00
Your Name
48a8d2e1ff feat: rename button to batch add for clarity
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-27 21:59:19 +08:00
Your Name
cfa61a426d fix: maintain processing status during auto-retry to show loading animation
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-27 21:56:09 +08:00
Your Name
59bc3636e1 feat: rename scene fusion to detail replace, add auto-retry up to 10 times
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-27 21:47:59 +08:00
Your Name
0d69e8d9fa fix: scene fusion retry now correctly handles streaming response and batch download works for all images
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-27 21:40:46 +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
acc28658d4 fix: use window.location for logo and canvas navigation
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
2026-01-26 21:46:31 +08:00
Your Name
50c3d7a182 fix: force full page navigation with window.location.href
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- Use window.location.href for guaranteed navigation
- Prevent default and manually navigate to avoid App Router cache issues
- This ensures single-click navigation works reliably
2026-01-26 21:43:51 +08:00
Your Name
9aa1453f80 fix: use Link + router.refresh() for optimal navigation
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
Based on Next.js best practices research:
- Use <Link> component for prefetching and client-side navigation
- Add router.refresh() onClick to force server component re-render
- This preserves SPA experience while ensuring fresh data
- Fixes issue where pages don't reload after URL change
2026-01-26 21:38:06 +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
2566c00cb1 fix: redirect /canvas to new canvas editor instead of list page
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- Replace full-screen canvas list with auto-redirect to new canvas
- Ensures users always enter canvas editor mode directly
- Use Link component for reliable navigation in top navbar
2026-01-26 21:24:25 +08:00
Your Name
676be1c70c feat: switch file list from dialog to inline panel
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- Replace dialog-based file list with inline panel in sidebar
- Click file list button now switches panel content instead of opening popup
- Add CanvasFileListPanel component for embedded file list view
- Fix thumbnail property name and type casting issues
- Add placeholder handleAction function
2026-01-26 21:19:52 +08:00
Your Name
9385b6f6d6 feat: implement auto-save, auto-title, and canvas file list sidebar
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- Remove manual rename and save buttons from canvas header
- Add auto-save logic with debounce
- Add AI auto-titling and thumbnail generation based on canvas content
- Add CanvasFileList sidebar for managing canvases
- Direct entry to new canvas from top navigation
- Add new API endpoint for auto-titling
2026-01-24 22:50:34 +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