mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1208] [MERGED] Add ComfyUI workflow JSON file import #4983
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4983
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1208
Author: @cha1latte
Created: 5/25/2026
Status: ✅ Merged
Merged: 5/25/2026
Merged by: @cha1latte
Base:
refactor← Head:feature/refactor-issue-1150-comfyui-json-file📝 Commits (1)
796f1f4Add ComfyUI workflow JSON file import📊 Changes
1 file changed (+47 additions, -1 deletions)
View changed files
📝
src/features/shell/connections/components/ConnectionEditor.tsx(+47 -1)📄 Description
Linked issue
Closes #1150
Why this change
What changed
Import JSONbutton above the ComfyUI workflow text area in the connection editor..jsonfiles, reads the selected workflow with the browser File API, validates JSON before replacing the text area, marks the editor dirty, and shows success/error toast feedback.Refactor impact
Primary owner:
Shell connections UI.
Impact areas reviewed:
src/features/shell/connections/components/ConnectionEditor.tsxBoundary notes:
Pressure points touched:
Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
node scratch\issue-1150-verify-comfyui-import.mjsagainst local Vite. The script opened the real Connection editor UI with mocked Tauri storage, created an image-generation connection, selected ComfyUI, imported a valid workflow JSON file, confirmed%prompt%appeared in the workflow text area, then imported invalid JSON and confirmed the existing workflow text was not overwritten.pnpm checksuccessfully after rebasing onto currentupstream/refactor.pnpm buildsuccessfully after rebasing onto currentupstream/refactor. Vite reported existing chunk-size/dynamic-import warnings.refactor.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdDocs/release notes: not changed; this is a focused UI affordance in an existing connection setting.
UI evidence
Codex generated local Playwright screenshots:
scratch/issue-1150-before-import.pngscratch/issue-1150-after-valid-import.pngscratch/issue-1150-after-invalid-import.pngThese are local proof artifacts and are not attached to the PR body.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.