199 Commits (2ba5cc8b867bc1aabe59fdaf0a8489e65012d603)

Author SHA1 Message Date
bymyself d160073829
Fix loadGraphData call during restore (#3976) 8 months ago
ruucm e53b1592ba
enable cmd shortcuts for mac (mute & bypass) (#3792) 8 months ago
Chenlei Hu 7c5fa7f4a2
Fix loadGraphData func call (#3918) 8 months ago
comfyanonymous 521421f53e Fix workflow not importing from flac files on some systems. 8 months ago
comfyanonymous 05e831697a Switch to the real cfg++ method in the samplers.
The old _pp ones will be updated automatically to the regular ones with 2x
the cfg.

My fault for not checking what the "_pp" samplers actually did.
8 months ago
comfyanonymous 4650e7d6e9 Save and load workflow from the flac files output by SaveAudio. 8 months ago
Chenlei Hu 3b423afcca
Add audio widget (#3863)
* Add audio widget

* Fix audio bugs

* Add CSS

* Populate audio widget when load history
8 months ago
pythongosssss e3579f3360
Fix merge issue breaking api json loading (#3876) 8 months ago
pythongosssss 90aebb6c86
New Menu & Workflow Management (#3112)
* menu

* wip

* wip

* wip

* wip

* wip

* workflow saving/loading

* Support inserting workflows
Move buttosn to top of lists

* fix session storage
implement renaming

* temp

* refactor, better workflow instance management

* wip

* progress on progress

* added send to workflow
various fixes

* Support multiple image loaders

* Support dynamic size breakpoints based on content

* various fixes
add close unsaved warning

* Add filtering tree

* prevent renaming unsaved

* fix zindex on hover

* fix top offset

* use filename as workflow name

* resize on setting change

* hide element until it is drawn

* remove glow

* Fix export name

* Fix test, revert accidental changes to groupNode

* Fix colors on all themes

* show hover items on smaller screen (mobile)

* remove debugging code

* dialog fix

* Dont reorder open workflows
Allow elements around canvas

* Toggle body display on setting change

* Fix menu disappearing on chrome

* Increase delay when typing, remove margin on Safari, fix dialog location

* Fix overflow issue on iOS

* Add reset view button
Prevent view changes causing history entries

* Bottom menu wip

* Various fixes

* Fix merge

* Fix breaking old menu position

* Fix merge adding restore view to loadGraphData
8 months ago
Juanjuan 379ff92e9e
fix app.js no graph defined (#3754)
* local test

* fix "graph" not found

* fix

---------

Co-authored-by: Xiujuan Li <xiujuali@amazon.com>
8 months ago
comfyanonymous cb8d0ebccc Don't load the view coordinates when loading a workflow from the history.
I think this makes things slightly less annoying for some users.
9 months ago
DLohn 5b87369474
Load titles from API format JSON (#3563) 9 months ago
freakabcd cf6e1efb69
Show message on error when loading wf from file (works on drag and drop) (#3466) 10 months ago
comfyanonymous 4f63ee99f1 Add a button to reset the view. 10 months ago
pythongosssss f374ea714d
Setting for saving and restoring canvas position and zoom level (#3437) 10 months ago
Dr.Lt.Data d7fa417bfa
feat: shortcuts for zoom in/out (#3410)
* feat: shortcuts for zoom in/out

* feat: pen support for canvas zoom

ctrl + LMB + vertical drag

* Ctrl+LMB+Drag -> ctrl+Shift+LMB+Drag

---------

Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
10 months ago
pythongosssss d2e7f1b04b Support linking converted inputs from api json 1 year ago
Chaoses-Ib 951a2064a3 Fix frontend webp prompt handling 1 year ago
pythongosssss ed2fa105ae Make auto saved workflow stored per tab 1 year ago
pythongosssss 3762e676a9
Support refresh on group node combos (#2625)
* Support refresh on group node combos

* fix check
1 year ago
pythongosssss 93bbe3f4c0
Auto queue on change (#2542)
* Add toggle to enable auto queue when graph is changed

* type fix

* better

* better alignment

* Change undoredo to not ignore inputs when autoqueue in change mode
1 year ago
pythongosssss 270daa02a8
Adds copy image option if browser feature available (#2544)
* Adds copy image option if browser feature available

* refactor
1 year ago
pythongosssss 32034217ae add setting to change control after generate to run before 1 year ago
pythongosssss 235727fed7
Store user settings/data on the server and multi user support (#2160)
* wip per user data

* Rename, hide menu

* better error
rework default user

* store pretty

* Add userdata endpoints
Change nodetemplates to userdata

* add multi user message

* make normal arg

* Fix tests

* Ignore user dir

* user tests

* Changed to default to browser storage and add server-storage arg

* fix crash on empty templates

* fix settings added before load

* ignore parse errors
1 year ago
comfyanonymous 36e15f2507 Reregister nodes when pressing refresh button. 1 year ago
comfyanonymous e478b1794e Only add _meta title to api prompt when dev mode is enabled in UI. 1 year ago
AYF f15dce71fd
Add title to the API workflow json. (#2380)
* Add `title` to the API workflow json.

* API: Move `title` to `_meta` dictionary, imply unused.
1 year ago
pythongosssss 390078904c
Group node fixes (#2259)
* Prevent cleaning graph state on undo/redo

* Remove pause rendering due to LG bug

* Fix crash on disconnected internal reroutes

* Fix widget inputs being incorrect order and value

* Fix initial primitive values on connect

* basic support for basic rerouted converted inputs

* Populate primitive to reroute input

* dont crash on bad primitive links

* Fix convert to group changing control value

* reduce restrictions

* fix random crash in tests
1 year ago
pythongosssss ab93abd4b2
Prevent cleaning graph state on undo/redo (#2255)
* Prevent cleaning graph state on undo/redo

* Remove pause rendering due to LG bug
1 year ago
pythongosssss 44d8abadf0 allow muting group node 1 year ago
pythongosssss 496de0891d Allow removing erroring embedded groups
Unregister group nodes on workflow change
1 year ago
comfyanonymous b2517b4ceb Load api workflow if regular workflow isn't in loaded image. 1 year ago
comfyanonymous 88e2c9746b Merge branch 'image-cache' of https://github.com/jn-jairo/ComfyUI 1 year ago
pythongosssss 28220fa839 Fix node growing with DOM widgets when adding image even if enough space 1 year ago
Jairo Correa c92f3dca73
Merge branch 'master' into image-cache 1 year ago
pythongosssss 8491280504
Add Extension tests (#2125)
* Add test for extension hooks
Add afterConfigureGraph callback

* fix comment
1 year ago
comfyanonymous ec7a00aa96 Fix extension widgets not working. 1 year ago
pythongosssss 7f469203b7
Group nodes (#1776)
* setup ui unit tests

* Refactoring, adding connections

* Few tweaks

* Fix type

* Add general test

* Refactored and extended test

* move to describe

* for groups

* wip group nodes

* Relink nodes
Fixed widget values
Convert to nodes

* Reconnect on convert back

* add via node menu + canvas
refactor

* Add ws event handling

* fix using wrong node on widget serialize

* allow reroute pipe
fix control_after_generate configure

* allow multiple images

* Add test for converted widgets on missing nodes + fix crash

* tidy

* mores tests + refactor

* throw earlier to get less confusing error

* support outputs

* more test

* add ci action

* use lts node

* Fix?

* Prevent connecting non matching combos

* update

* accidently removed npm i

* Disable logging extension

* fix naming
allow control_after_generate custom name
allow convert from reroutes

* group node tests

* Add executing info, custom node icon
Tidy

* internal reroute just works

* Fix crash on virtual nodes e.g. note

* Save group nodes to templates

* Fix template nodes not being stored

* Fix aborting convert

* tidy

* Fix reconnecting output links on convert to group

* Fix links on convert to nodes

* Handle missing internal nodes

* Trigger callback on text change

* Apply value on connect

* Fix converted widgets not reconnecting

* Group node updates
- persist internal ids in current session
- copy widget values when converting to nodes
- fix issue serializing converted inputs

* Resolve issue with sanitized node name

* Fix internal id

* allow outputs to be used internally and externally

* order widgets on group node
various fixes

* fix imageupload widget requiring a specific name

* groupnode imageupload test
give widget unique name

* Fix issue with external node links

* Add VAE model

* Fix internal node id check

* fix potential crash

* wip widget input support

* more wip group widget inputs

* Group node refactor
Support for primitives/converted widgets

* Fix convert to nodes with internal reroutes

* fix applying primitive

* Fix control widget values

* fix test
1 year ago
comfyanonymous 02ffbb2de3 Fix typo. 1 year ago
pythongosssss 4d2437e681 Call widget onRemove to remove element 1 year ago
pythongosssss 6ff06fa796
Animated image output support (#2008)
* Refactor multiline widget into generic DOM widget

* wip webp preview

* webp support

* fix check

* fix sizing

* show image when zoomed out

* Swap webp checkto generic animated image flag

* remove duplicate

* Fix falsy check
1 year ago
comfyanonymous 7114cfec0e Always clone graph data when loading to fix some load issues. 1 year ago
pythongosssss 4aeef781a3
Support number/text ids when importing API JSON (#1952)
* support numeric/text ids
1 year ago
Jairo Correa 006b24cc32 Prevent image cache 1 year ago
pythongosssss 72e3feb573
Load API JSON (#1932)
* added loading api json

* revert async change

* reorder
1 year ago
comfyanonymous cd6df8b323 Fix sanitize node name removing the "/" character. 1 year ago
comfyanonymous 02f062b5b7 Sanitize unknown node types on load to prevent XSS. 1 year ago
comfyanonymous 40963b5a16 Apply primitive nodes to graph before serializing workflow. 1 year ago
comfyanonymous b935bea3a0 The frontend can now load workflows from webp exif. 1 year ago
comfyanonymous 8d50f0890d Merge branch 'templates-export-import' of https://github.com/jn-jairo/ComfyUI 1 year ago