mixvideo-v2/apps/desktop/src-tauri/src/presentation/commands
imeepos 050c706ab1 修复编译错误和React渲染警告
主要修复内容:
1. 修复ComfyUI服务初始化问题
   - 修正ComfyuiConfig导入路径
   - 添加自动初始化ComfyUI服务逻辑
   - 修复通用工作流服务依赖问题

2. 修复React渲染警告
   - 分离WorkflowFormGenerator中的状态更新逻辑
   - 使用setTimeout避免渲染时状态更新
   - 修复Cannot update component while rendering警告

3. 修复数据序列化问题
   - 移除environment_type字段的serde rename属性
   - 确保前后端数据格式一致性

4. 添加调试日志
   - 在环境编辑功能中添加详细日志
   - 便于排查环境类型显示问题

技术细节:
- 使用ComfyuiConfig::default()而非ComfyUISettings
- 通过setTimeout(0)延迟状态更新到下一个事件循环
- 自动初始化缺失的ComfyUI服务依赖
2025-08-08 11:41:58 +08:00
..
ai_analysis_log_commands.rs feat: 优化项目详情页布局为上下布局 2025-07-14 14:26:16 +08:00
ai_classification_commands.rs feat: 实现模板匹配按顺序匹配功能 2025-07-23 20:28:36 +08:00
bowong_text_video_agent_commands.rs fix: 修复编译错误并完善测试基础设施 2025-08-07 15:55:17 +08:00
comfyui_commands.rs feat: 新增功能清单文档和ComfyUI工作流测试页面 2025-08-07 11:14:21 +08:00
conversation_commands.rs feat: 实现多轮对话功能 2025-07-22 10:39:26 +08:00
custom_tag_commands.rs feat: 实现服装搭配/高级筛选功能 - 自定义标签系统 2025-07-18 10:40:26 +08:00
database_commands.rs 继续修复数据库连接池编译错误 2025-07-30 19:23:33 +08:00
debug_commands.rs feat: 完善模板导入功能 2025-07-14 21:34:07 +08:00
directory_settings_commands.rs refactor: 优化火山云视频生成界面 - 移除无用字段 2025-07-31 13:29:53 +08:00
error_handling_commands.rs fix: 修复 cargo check 编译错误 2025-07-30 20:05:32 +08:00
export_record_commands.rs feat: implement export record tracking system 2025-07-17 13:03:51 +08:00
hedra_lipsync_commands.rs feat: 实现 Hedra 口型合成异步化改造 2025-08-01 18:40:54 +08:00
image_download_commands.rs fix: 添加文字图片关联关系 2025-07-22 12:21:39 +08:00
image_editing_commands.rs feat: 实现 Hedra 口型合成异步化改造 2025-08-01 18:40:54 +08:00
image_generation_commands.rs feat: 完成自动表单生成功能并修复参数格式和验证逻辑 2025-08-04 14:51:06 +08:00
markdown_commands.rs 实现真实的服装搜索逻辑,直接调用 Google Vertex AI Search API 2025-07-24 13:52:00 +08:00
material_commands.rs feat: 实现全局目录设置功能 2025-07-25 19:03:00 +08:00
material_matching_commands.rs feat: 实现模板匹配按顺序匹配功能 2025-07-23 20:28:36 +08:00
material_search_commands.rs fix: 完善素材库检索功能的vertex搜索逻辑 2025-07-25 15:28:42 +08:00
material_segment_view_commands.rs fix: 将所有仓库统一使用 database: Arc<Database> 方式 2025-07-15 17:45:08 +08:00
material_usage_commands.rs feat: 实现 Hedra 口型合成异步化改造 2025-08-01 18:40:54 +08:00
mod.rs feat: 实现MixVideo多工作流系统 2025-08-07 11:53:28 +08:00
model_commands.rs fix: 修复数据库迁移问题 2025-07-31 15:31:17 +08:00
model_dynamic_commands.rs fix: 修复Rust编译警告,优化代码质量 2025-07-21 13:57:09 +08:00
outfit_favorite_commands.rs feat: add Outfit Comparison Tool and Outfit Favorites Tool 2025-07-28 15:53:20 +08:00
outfit_favorite_commands_test.rs feat: add Outfit Comparison Tool and Outfit Favorites Tool 2025-07-28 15:53:20 +08:00
outfit_image_commands.rs 重构ComfyUI集成架构:明确区分云端Modal和本地ComfyUI两种生成模式 2025-07-31 19:54:34 +08:00
outfit_photo_generation_commands.rs feat: 实现 Hedra 口型合成异步化改造 2025-08-01 18:40:54 +08:00
outfit_search_commands.rs 继续修复数据库连接池编译错误 2025-07-30 19:23:33 +08:00
project_commands.rs feat: 实现项目管理功能 v0.1.1 2025-07-13 18:46:58 +08:00
project_template_binding_commands.rs fix: 修复Rust编译警告,优化代码质量 2025-07-21 13:57:09 +08:00
rag_grounding_commands.rs 实现真实的服装搜索逻辑,直接调用 Google Vertex AI Search API 2025-07-24 13:52:00 +08:00
similarity_search_commands.rs fix: resolve advanced filter data flow issue in similarity search 2025-07-25 12:52:15 +08:00
system_commands.rs feat: 实现全局目录设置功能 2025-07-25 19:03:00 +08:00
system_voice_commands.rs refactor: 优化火山云视频生成界面 - 移除无用字段 2025-07-31 13:29:53 +08:00
template_commands.rs feat: 实现全局目录设置功能 2025-07-25 18:38:50 +08:00
template_matching_result_commands.rs feat: 实现全局目录设置功能 2025-07-25 18:38:50 +08:00
template_segment_weight_commands.rs feat: 从根本上解决权重配置问题 2025-07-25 17:47:45 +08:00
test_commands.rs feat: 完善模板导入功能 2025-07-14 21:34:07 +08:00
thumbnail_commands.rs fix: 修复React渲染错误和数据库迁移问题 2025-07-23 18:30:52 +08:00
tolerant_json_commands.rs fix: 修复容错JSON解析器的解析逻辑和前端集成 2025-07-21 13:46:49 +08:00
tools_commands.rs feat: 添加便捷小工具页面 - AI检索图片/数据清洗功能 2025-07-17 15:29:59 +08:00
video_classification_commands.rs feat: 升级Gemini服务使用TolerantJsonParser进行JSON解析 2025-07-21 15:02:37 +08:00
video_generation_commands.rs feat: 实现模特详情页视频生成功能 2025-07-16 19:39:44 +08:00
voice_clone_commands.rs fix: 修复批量任务状态更新错乱问题 2025-07-31 15:24:48 +08:00
volcano_video_commands.rs feat: 完成 OmniHuman 主体识别完整功能 2025-08-05 18:45:24 +08:00
watermark_commands.rs feat: 完善水印处理工具功能 2025-07-23 12:51:49 +08:00
workflow_commands.rs 修复编译错误和React渲染警告 2025-08-08 11:41:58 +08:00
workflow_management_commands.rs feat: 完成核心功能开发 2025-07-30 19:59:44 +08:00