Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3886ad2b42 |
@@ -1,5 +1,23 @@
|
||||
# DEVLOG - ComfyUI-Workflow-Studio
|
||||
|
||||
## 2026-06-05: v0.3.23 — バグ修正2件
|
||||
|
||||
### バグ修正
|
||||
|
||||
**ワークフローバッチ 404 エラー修正(`generate-tab.js`)**
|
||||
- `_runBatchGenerate()` の workflow ケースで、ワークフローファイル取得 URL が
|
||||
`/api/wfm/workflows/{filename}`(存在しないルート)になっていた
|
||||
- 正しいエンドポイント `/api/wfm/workflows/raw?filename={filename}` に修正
|
||||
|
||||
**ワークフローリネーム二重送信バグ修正(`workflow-tab.js`)**
|
||||
- モーダルを開くたびに `titleInput.addEventListener("blur", commitRename)` が累積していた
|
||||
- 2回目以降のリネーム時に blur が複数発火し、同一ファイルへのリネームリクエストが
|
||||
2本送られて 1本目成功後に 2本目が 409 または 404 になっていた
|
||||
- `titleInput._commitRename` で前回のリスナー参照を保持し、
|
||||
再オープン時に `removeEventListener` で除去してから登録するよう修正
|
||||
|
||||
---
|
||||
|
||||
## 2026-06-05: v0.3.22 — カードビュー廃止 + Batch タイプ切り替え UI + 4タイプバッチ生成
|
||||
|
||||
### 概要
|
||||
|
||||
@@ -5,7 +5,7 @@ A comprehensive workflow management and generation UI plugin for [ComfyUI](https
|
||||
Browse, organize, and execute workflows directly from a dedicated studio interface — without switching between windows or manually editing JSON.
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
## Screenshots
|
||||
|
||||
@@ -279,6 +279,10 @@ Click the **camera icon** (next to the W button) in ComfyUI's top bar to capture
|
||||
|
||||
## Changelog
|
||||
|
||||
### v0.3.23
|
||||
- **Bug fix: workflow batch 404** — `_runBatchGenerate()` workflow case was fetching `/api/wfm/workflows/{filename}` (non-existent route); corrected to `/api/wfm/workflows/raw?filename={filename}`
|
||||
- **Bug fix: rename double-submit** — `addEventListener("blur", commitRename)` was accumulating on the persistent `#wfm-modal-title-input` element each time the modal opened; subsequent renames fired the handler twice, sending two rename requests back-to-back (first succeeds, second returns 409 or 404); fixed by storing the listener reference on `titleInput._commitRename` and calling `removeEventListener` before re-registering
|
||||
|
||||
### v0.3.22
|
||||
- **Card view removed** — Workflow tab and Models tab no longer offer Card view; Thumbnail and Table remain; if `"card"` was previously stored in localStorage it falls back to Thumbnail automatically
|
||||
- **Batch type selector** — replaced the Checkpoint Batch toggle with per-type checkboxes on the Batch Queue column headers (Checkpoint / Lora / Prompt / Workflow); radio behavior ensures only one type is active at a time; the Batch panel below Generate repurposed as a status display showing the active type, amber progress bar, and Pause/Resume / Stop controls
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "comfyui-workflow-studio"
|
||||
description = "A comprehensive workflow management and generation UI plugin for ComfyUI. Browse, organize, and execute workflows from a dedicated studio interface."
|
||||
version = "0.3.22"
|
||||
version = "0.3.23"
|
||||
license = "MIT"
|
||||
requires-python = ">= 3.10"
|
||||
dependencies = ["jinja2"]
|
||||
|
||||
@@ -1132,7 +1132,7 @@ async function _runBatchGenerate() {
|
||||
const savedFilename = document.getElementById("wfm-gen-workflow-name")?.textContent || "";
|
||||
try {
|
||||
await _runBatchLoop(list, async (filename) => {
|
||||
const resp = await fetch(`/api/wfm/workflows/${encodeURIComponent(filename)}`);
|
||||
const resp = await fetch(`/api/wfm/workflows/raw?filename=${encodeURIComponent(filename)}`);
|
||||
if (!resp.ok) throw new Error(`Failed to load: ${filename}`);
|
||||
const data = await resp.json();
|
||||
await loadWorkflowIntoEditor(data, filename);
|
||||
|
||||
@@ -946,6 +946,8 @@ function openDetailModal(wf) {
|
||||
showToast(t("renameError") + ": " + err.message, "error");
|
||||
}
|
||||
};
|
||||
if (titleInput._commitRename) titleInput.removeEventListener("blur", titleInput._commitRename);
|
||||
titleInput._commitRename = commitRename;
|
||||
titleInput.addEventListener("blur", commitRename);
|
||||
titleInput.addEventListener("keydown", (e) => {
|
||||
if (e.key === "Enter") { e.preventDefault(); titleInput.blur(); }
|
||||
|
||||
Reference in New Issue
Block a user