Repository navigation
feat: Queue page and Image Studio page - #450
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #412 · Closes #420
Queue page (#412)
A new Queue page (Manage, after Library) follows every job from one place:
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:
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).workflowRunStoreexposes 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:
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 narrowworkspace:images:saveIPC (PNG / JPEG / WebP checked by signature, 40 MB cap, sanitized unique names, never overwrites, never intmp/). Picked files keep their own path.Background removal (#421) comes next, on top of this page.
Testing
npm testpasses (Python 460, JS 336 + 237, 0 failures); lint clean;tscunchanged fromdevqueueModel.test.ts,workflowRunRecord.test.tsadditions,test_run_history.py(+13 cases),workspace-images.test.ts,imageStudioStore.test.ts,imageInput.test.tsReplaces #449.