feat(comfyuimini): add "Manage Photos" sidebar link to the Gallery

ComfyUIMini's built-in gallery is view-only. Inject a "Manage Photos"
link into its sidebar (via the shared head.ejs partial at build time, so
no fork) that points to the Model Manager's delete-capable Gallery. The
URL is built client-side from the browser host; the port is baked from
the MODEL_MANAGER_PORT build arg (default 8189).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-07 15:46:04 -04:00
parent c9fa3fcab5
commit 44f7b5a697
4 changed files with 32 additions and 0 deletions
+3
View File
@@ -262,6 +262,9 @@ SparkyUI includes a **StabilityMatrix-style Model Manager** - a lightweight Fast
Gallery. Append `?force=mobile` or `?force=desktop` to override. Bookmark `/start` as your
single SparkyUI link.
ComfyUIMini also gets a **"Manage Photos"** link in its sidebar that jumps to this Gallery,
so you can delete generated photos from the mobile UI too (its built-in gallery is view-only).
**Build only the Model Manager** (if the rest is already built):
```bash
docker compose build model-manager