321 Commits (ca9d300a804fd1bfc67b3de9200c2d09b78899d0)

Author SHA1 Message Date
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
luke zhang 34030fed92
improve dom widget performance (#3584) 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
comfyanonymous daa92a8ff4 Fix potential issues with the int rounding fix. 10 months ago
comfyanonymous 89d0e9abeb Fix int widgets rounding. 10 months ago
comfyanonymous d64e217427 Fix annoying float issue causing the value to be rounded to above the max. 10 months ago
Dr.Lt.Data 072e3bd2b5
Fixed an issue where the main menu disappears intermittently as the coordinates become negative. (#3269) 10 months ago
Gorka Eguileor de172f8be7
Improve A1111 metadata parsing (#3216)
* A1111 import: Set VAE name

This patch sets the VAE name for the `VAELoader` when present in the png
metadata.

* A1111 import: Skip all hashes

When importing from A1111 the parsing assumes that values of a key will
never contain a ":", which is not correct.

There are 2 cases where we can have ":" in the value:

- Inside a string. E.g.:
  Lora hashes: "xl_more_art-full_v1: fe3b4816be83, add-detail-xl: 9c783c8ce46c"

- When the value is a json dictionary. E.g.:
  Hashes: {"vae": "63aeecb90f", "embed:negativeXL_D": "fff5d51ab6"}

This patch changes how we parse the metadata to take those 2 cases into
account and also skips the following additional keys that are present in
some Forge images:

- Version
- VAE hash
- TI hashes
- Lora hashes
- Hashes

* A1111 import: Parse Hires steps

This patch parses the `Hires steps` parameter that is part of the High
Resolution Upscale configuration when it  is present, and fallbacks to
the one from the `samplerNode` (like the code currently does) if it's
not present.
11 months ago
shiimizu 5171414143 Support additional PNG info. 1 year ago
comfyanonymous fd73b5ee3a Merge branch 'improved-mobile-support' of https://github.com/pythongosssss/ComfyUI 1 year ago
pythongosssss d2e7f1b04b Support linking converted inputs from api json 1 year ago
Chaoses-Ib 951a2064a3 Fix frontend webp prompt handling 1 year ago
pksebben 53a22e1ab9 add increment-wrap as option to ValueControlWidget when isCombo, which loops back to 0 when at end of list 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 8a92ac2120 Ability to hide menu
Responsive setting screen
Touch events for zooming/context menu
1 year ago
Kristjan Pärt 45bf88d8ef
Fix queue on change to respect auto queue checkbox (#2608)
* Fix render on change not respecting auto queue checkbox

Fix issue where autoQueueEnabled checkbox is ignored for changes if autoQueueMode is left on `change`

* Make check more specific
1 year ago
comfyanonymous 818d0c01b2 Merge branch 'fix-logging-setting' of https://github.com/pythongosssss/ComfyUI 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 23687da9a9 Fix logging not checking onChange 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
comfyanonymous 432ba1c179 Merge branch 'control_before_generate' of https://github.com/pythongosssss/ComfyUI 1 year ago
pythongosssss 18511dd581
Manage group nodes (#2455)
* wip group manage

* prototyping ui

* tweaks

* wip

* wip

* more wip

* fixes
add deletion

* Fix tests

* fixes

* Remove test code

* typo

* fix crash when link is invalid
1 year ago
pythongosssss 8e916735c0 export function 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
shiimizu 392878a262 Fix hiding dom widgets. 1 year ago
pythongosssss e65110fd93 Fix dom widgets not being hidden 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 8de6f94f5c Allow widget placeholder replacement on primitives 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
Jack Bauer 6aa1bcd601
Remove hard coded max_items in history API 1 year ago
comfyanonymous e020ab61f9 Fix output APNG not working with ffmpeg. 1 year ago
comfyanonymous 982338b9bb Fix issue loading webp files in UI. 1 year ago