Commit Graph

95 Commits

Author SHA1 Message Date
Jairo Correa 4b9e11053c Color palette setting 2023-03-27 23:36:53 -03:00
ltdrdata d3a375c8fb
Add support for file list refresh feature in node (#192)
* Added file reload feature to widgets.

* Modify feature name 'reload' to 'refresh' and fixed ignoring button name.

* refresh widget bugfix

* crash patch for "widget" input by type mismatch

* compensate offset on showimage
* adding widget caused misaligned offset

* patch refresh feature for general method

* clean up patch and following upstream

* make more clean code for refresh feature

* move refresh button position

* robust patch for refresh feature

* patch for refreh feature
* avoid specify REFRESH_LIST for each node
* prevent updating selected value unless removed item
* update all combo list for 'required input' in node

---------

Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
2023-03-27 13:27:09 -04:00
Silversith bb1503ed63
Bugfix/include optional node inputs (#271)
* Minor changes and extra nodes

* Added Preview Image for Nodes

* Add a delete images button on main floating menu

* Add a confirmation dialog

* Remove DeleteAll, Remove Custom KSampler, Remove Image List

* Remove Image and Custom Json Load

* Remove Custom Nodes

* remove patch.diff
2023-03-27 01:16:22 -04:00
comfyanonymous 479ef4b38f Merge branch 'group-header' of https://github.com/jn-jairo/ComfyUI 2023-03-27 00:46:30 -04:00
Jairo Correa 63525ee83c Move group by header 2023-03-26 22:53:49 -03:00
Jairo Correa 967bfce0f3 Optional RETURN_NAMES to set the output name 2023-03-26 21:40:36 -03:00
pythongosssss a49b5659bc
Merge branch 'comfyanonymous:master' into custom-node-socket 2023-03-26 10:12:39 +01:00
comfyanonymous d68350eee5 Merge branch 'draggable-menu' of https://github.com/jn-jairo/ComfyUI 2023-03-26 00:22:04 -04:00
mezzo-anon 980379bab2 change colors to a more consistent and pleasing palette 2023-03-26 04:11:53 +02:00
Jairo Correa 48d4edbceb Prevent draggable menu to get outside of window 2023-03-25 23:06:00 -03:00
Jairo Correa a5c78a5796 Draggable menu 2023-03-25 20:23:46 -03:00
comfyanonymous 8d66827b15 Merge branch 'slot-color' of https://github.com/jn-jairo/ComfyUI 2023-03-25 12:37:55 -04:00
comfyanonymous 58695f9c7a Fix seed being impossible to increment/decrement by 1. 2023-03-25 11:12:03 -04:00
Jairo Correa 070b5749b3 Slot colors by type 2023-03-25 06:28:09 -03:00
comfyanonymous 44b6eaad6f Don't completely break workflow if field name changes. 2023-03-25 01:04:02 -04:00
comfyanonymous edb3dea88b Merge branch 'widget-inputs' of https://github.com/pythongosssss/ComfyUI 2023-03-24 22:45:40 -04:00
comfyanonymous 5c03b2f31e Merge branch 'mobile-support' of https://github.com/Zentropivity/ComfyUI 2023-03-24 18:23:37 -04:00
pythongosssss d6830b958c Prevent exactly overlapping nodes
Throttle double click
2023-03-24 20:20:34 +00:00
Zentropivity 4461ddc9e6 Change close on mouseleave to false 2023-03-24 19:18:58 +01:00
pythongosssss 1fa9ccaa16 Set title to widget name 2023-03-24 16:51:17 +00:00
pythongosssss 97198f5b74 Restore original size after add/remove input 2023-03-24 16:36:11 +00:00
pythongosssss 8d0a142321 adds simple access to server from custom nodes 2023-03-24 11:39:09 +00:00
pythongosssss b13539c3dd Sync widget changes 2023-03-24 10:27:19 +00:00
pythongosssss bb00176731 Remove debugger 2023-03-23 21:43:51 +00:00
pythongosssss 7a7e3288ee Added support for converting widgets to inputs (and back) 2023-03-23 21:37:19 +00:00
Zentropivity e9206a52da Fix double click handling by not using faulty is_primary check 2023-03-23 10:06:06 +01:00
pythongosssss 4257e4ce51 tidy 2023-03-22 18:52:24 +00:00
pythongosssss 76f4d65d79 Remove initial call as now unnecessary
Set canvas to dirty if we grow the node
2023-03-22 18:50:45 +00:00
pythongosssss 2b94dee3da Calculate sizes when drawing if required 2023-03-22 18:43:43 +00:00
pythongosssss b810ca49f1 Add support for multiple multiline text areas on the same widget 2023-03-21 21:34:00 +00:00
xss eb67d05540 add canvas tab index so it recieves keydown events 2023-03-21 13:31:47 -05:00
comfyanonymous 451447bd9f Merge branch 'saveimage' of https://github.com/pythongosssss/ComfyUI 2023-03-21 13:30:22 -04:00
Guo Y.K 49705dc947
ui: hide decimal fraction for int fields 2023-03-21 17:48:00 +08:00
pythongosssss 0b6ba21f52 Added save image menu item 2023-03-21 08:00:13 +00:00
comfyanonymous e85fcb822b Small fix. 2023-03-20 14:55:28 -04:00
comfyanonymous 0abe001edd Merge branch 'save-images' of https://github.com/m957ymj75urz/ComfyUI 2023-03-20 14:29:45 -04:00
comfyanonymous 46b674c9c2 Make saved json more pretty. 2023-03-20 02:23:47 -04:00
m957ymj75urz d1138e8ba0 rework payload from server 2023-03-19 12:54:29 +01:00
comfyanonymous 07dab962da Add an auto queue checkbox.
This will auto queue the current prompt when the queue hits zero.
2023-03-19 00:03:18 -04:00
m957ymj75urz 5fa514fa51 rollback urlparams 2023-03-18 20:13:25 +01:00
comfyanonymous 739c1a753d Fix annoyance. 2023-03-18 14:52:19 -04:00
comfyanonymous e51d240eec Merge branch 'reroute-rewrite' of https://github.com/pythongosssss/ComfyUI 2023-03-17 20:54:05 -04:00
comfyanonymous 2e73367f45 Merge T2IAdapterLoader and ControlNetLoader.
Workflows will be auto updated.
2023-03-17 18:17:59 -04:00
pythongosssss 52e74a2bb2 Fixed crash removing nodes
due to output link is still being set but not valid
2023-03-17 17:52:20 +00:00
Zentropivity 963b68b81c Remove mobile client-side zoom 2023-03-17 10:36:50 +01:00
pythongosssss ba4a754a53 Merge remote-tracking branch 'origin/master' into a1111-meta-v2 2023-03-16 21:30:23 +00:00
pythongosssss c0f5325018 Increase size of node 2023-03-16 21:04:54 +00:00
pythongosssss aff1e3936a Simplify and fix bug with following virtual nodes
courtesy of someanon
2023-03-16 19:15:02 +00:00
m957ymj75urz 16001e9429 fixes for specific paths 2023-03-16 19:48:59 +01:00
Zentropivity 8c5d45e7f8 Correct html head and switch litegraph to pointer mode. 2023-03-16 17:05:26 +01:00