feat: add workflow packing checkboxes and delete non-favorites button to template

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
JasonHoku
2026-03-09 02:00:30 -07:00
co-authored by Claude Opus 4.6
parent 094b1a7207
commit 6ad1f792c2
+33
View File
@@ -225,7 +225,40 @@
</label>
</div>
<div style="margin-top: 8px; display: flex; align-items: center; gap: 6px;">
<input type="checkbox" checked id="copy-manifest-checkbox"
style="width: 14px; height: 14px; cursor: pointer;">
<label for="copy-manifest-checkbox"
style="font-size: 10px; color: #999; cursor: pointer; user-select: none;">
Copy cleaned favorites-only manifest into favorites folder
</label>
</div>
<div style="margin-top: 8px; display: flex; align-items: center; gap: 6px;">
<input type="checkbox" id="pack-workflow-checkbox"
style="width: 14px; height: 14px; cursor: pointer;">
<label for="pack-workflow-checkbox"
style="font-size: 10px; color: #999; cursor: pointer; user-select: none;">
Pack full ComfyUI workflow into image metadata (drag into ComfyUI to load)
</label>
</div>
<div style="margin-top: 8px; display: flex; align-items: center; gap: 6px;">
<input type="checkbox" id="pack-nodes-workflow-checkbox"
style="width: 14px; height: 14px; cursor: pointer;">
<label for="pack-nodes-workflow-checkbox"
style="font-size: 10px; color: #999; cursor: pointer; user-select: none;">
Pack config data as pure nodes workflow into image metadata
</label>
</div>
<div id="export-status" style="margin-top: 8px; font-size: 10px; color: #666; min-height: 16px;"></div>
<button class="session-action-btn"
style="background: #cc2222; width: 100%; font-size: 11px; padding: 10px; margin-top: 12px; border: 2px solid #ff4444;"
onclick="deleteNonFavorites()" title="Permanently delete all non-favorited images and update manifest">
🗑️ DELETE ALL NON FAVORITED ITEMS
</button>
<div id="delete-status" style="margin-top: 4px; font-size: 10px; color: #666; min-height: 16px;"></div>
</div>
<!-- Section 5: Manifest Analytics -->