Skip to content

feat: Queue page and Image Studio page - #450

Merged
lightningpixel merged 2 commits into
devfrom
feat/queue-and-image-studio
Nov 16, 2026
Merged

lightningpixel merged 2 commits into
devfrom
feat/queue-and-image-studio

Conversation

@lightningpixel

Copy link
Copy Markdown
Owner

Closes #412 · Closes #420

Queue page (#412)

A new Queue page (Manage, after Library) follows every job from one place:

  • Running: the workflow started in this window with its live steps and elapsed time, plus any generation the backend is running
  • Queued: generations waiting for the single backend worker
  • History: past runs, newest first, with "Load more"

Each run shows its name, an input or output thumbnail, step progress, elapsed time and status. A finished mesh opens in Generate or is shown in the Library, which now selects and scrolls to it. Expanding a workflow run lists its steps and the generations it started.

Under the hood:

  • Run records get parent_run_id; workflow model nodes pass it when they start a generation, so history lists a workflow once with its generations as its steps (GET /workflow-runs?top_level=true, GET /workflow-runs/{id}/children).
  • Workflow records now take their input image from the Image nodes (they were empty when a run started from Generate).
  • workflowRunStore exposes the live run (useLiveWorkflowRun) without changing existing consumers.

Out of scope: cancel / retry / reorder (#413), run detail (#414), top-bar indicator (#415), a real priority queue (#322).

Image Studio page (#420)

A new Image Studio page (Create, after Generate) to prepare input images:

  • a canvas on a checkerboard, with a before/after slider when an image was made from another one (ready for the image operations of T-M2 — Background removal #421)
  • a history strip of the session's images, kept across page switches
  • file picker, drag and drop anywhere, and Ctrl+V paste
  • Send to Generate puts the image in Generate's image input

Ctrl+V outside text fields also pastes an image into Generate's image input.

Pasted images, and dropped ones without a file path, are saved to <workspace>/Images/ through a narrow workspace:images:save IPC (PNG / JPEG / WebP checked by signature, 40 MB cap, sanitized unique names, never overwrites, never in tmp/). Picked files keep their own path.

Background removal (#421) comes next, on top of this page.

Testing

  • npm test passes (Python 460, JS 336 + 237, 0 failures); lint clean; tsc unchanged from dev
  • New tests: queueModel.test.ts, workflowRunRecord.test.ts additions, test_run_history.py (+13 cases), workspace-images.test.ts, imageStudioStore.test.ts, imageInput.test.ts
  • Not yet clicked through in the app

Replaces #449.

A new Queue page (Manage, after Library) follows every job from one place:
- Running: the workflow started in this window with its live steps and
  elapsed time, plus any generation the backend is running.
- Queued: generations waiting for the single backend worker.
- History: past runs, newest first, with "Load more".
Each run shows its name, an input or output thumbnail, step progress,
elapsed time and status; a finished mesh opens in Generate or is shown
in the Library (which now selects and scrolls to it).

Backend: run records get parent_run_id. Model nodes of a workflow pass it
when they start a generation, so the history lists the workflow once and
its generations as its steps (GET /workflow-runs?top_level=true,
GET /workflow-runs/{id}/children).

Workflow records now take their input image from the Image nodes
(they were empty when started from Generate).

Closes #412
…nerate

A new Image Studio page (Create, after Generate) to prepare input images:
- a canvas on a checkerboard, with a before/after slider when an image
  was made from another one (ready for the image operations of #421)
- a history strip of the session's images, kept across page switches
- file picker, drag and drop anywhere, and Ctrl+V paste
- "Send to Generate" puts the image in Generate's image input

Ctrl+V outside text fields also pastes an image into Generate's image
input.

Pasted images, and dropped ones without a file path, are saved to
<workspace>/Images/ through a narrow workspace:images:save IPC (PNG,
JPEG or WebP checked by signature, 40 MB cap, sanitized unique names,
never overwrites, never in tmp/). Picked files keep their own path.

Closes #420
@lightningpixel
lightningpixel merged commit 3a1f250 into dev Nov 16, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant