Commit Graph

95 Commits

Author SHA1 Message Date
Dr.Lt.Data
9d332bec0e crash fix 2023-04-29 14:42:47 +09:00
Dr.Lt.Data
286b731de3 copy/paste bug fixes for batch images
enhance selector preview on clipspace menu
add img_paste_mode option into clipspace menu
2023-04-29 14:39:03 +09:00
ltdrdata
8d454f4785 support batch images on clipspace, maskeditor 2023-04-28 21:47:16 +09:00
ltdrdata
1ce7350304 fix copy (clipspace) action
imgs[0] copy -> whole imgs copy
2023-04-28 20:31:27 +09:00
ltdrdata
5cc97cf2bf various bug fixes
* paste action
- prevent opening upload popup
- ensure rendering after widget_value update

* view api update
- support annotated_filepath

* maskeditor layout
- prevent covering button by hidden div
2023-04-26 20:36:58 +09:00
Lt.Dr.Data
79a07bb813 clean commit 2023-04-25 12:01:32 +09:00
Lt.Dr.Data
55e46e708e Merge branch 'Main' into feature/maskpainting 2023-04-25 11:52:53 +09:00
comfyanonymous
ccad603b2e Add a way for nodes to validate their own inputs. 2023-04-23 16:03:26 -04:00
ltdrdata
f7a8218814
Add clipspace feature. (#541)
* Add clipspace feature.
* feat: copy content to clipspace
* feat: paste content from clipspace

Extend validation to allow for validating annotated_path in addition to other parameters.

Add support for annotated_filepath in folder_paths function.

Generalize the '/upload/image' API to allow for uploading images to the 'input', 'temp', or 'output' directories.

* rename contentClipboard -> clipspace

* Do deep copy for imgs on copy to clipspace.

* add original_imgs into clipspace
* Preserve the original image when 'imgs' are modified

* robust patch & refactoring folder_paths about annotated_filepath

* Only show the Paste menu if the ComfyApp.clipspace is not empty

* instant refresh on paste

force triggering 'changed' on paste action

* subfolder fix on paste logic

attach subfolder if subfolder isn't empty

---------

Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
2023-04-23 15:58:55 -04:00
ltdrdata
b2abfa6ad7 subfolder fix on paste logic
attach subfolder if subfolder isn't empty
2023-04-23 23:32:48 +09:00
ltdrdata
8af0b2b52e instant refresh on paste
force triggering 'changed' on paste action
2023-04-23 21:04:06 +09:00
Lt.Dr.Data
5920edba3a Only show the Paste menu if the ComfyApp.clipspace is not empty 2023-04-21 15:45:22 +09:00
Lt.Dr.Data
4d93ef8a0a robust patch & refactoring folder_paths about annotated_filepath 2023-04-21 15:13:18 +09:00
Lt.Dr.Data
2c21210c72 add original_imgs into clipspace
* Preserve the original image when 'imgs' are modified
2023-04-21 13:40:07 +09:00
Dr.Lt.Data
254aa024f6 Do deep copy for imgs on copy to clipspace. 2023-04-20 23:21:29 +09:00
Dr.Lt.Data
65a005e9a2 rename contentClipboard -> clipspace 2023-04-20 22:36:13 +09:00
Lt.Dr.Data
9e8c60e9f3 Add clipspace feature.
* feat: copy content to clipspace
* feat: paste content from clipspace

Extend validation to allow for validating annotated_path in addition to other parameters.

Add support for annotated_filepath in folder_paths function.

Generalize the '/upload/image' API to allow for uploading images to the 'input', 'temp', or 'output' directories.
2023-04-20 21:54:05 +09:00
Karun
bc16b70bde
Adds several keybinds that interact with ComfyUI (#491)
* adds keybinds that interact w/ comfy menu

* adds remaining keybinds

* adds keybinds to readme and converts to table

* ctrl s and o save and open workflow

* moves keybinds to sep file, update readme

* remap load default, support keycodes

* update keybinds table, prepends comfy to ids

* escape exits out of modals

* modifier keys also use map

* adds setting for filename prompt

* better handle filename prompt

Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>
2023-04-16 01:25:11 -04:00
pythongosssss
2dd28d4d20 style 2023-04-15 21:41:21 +01:00
pythongosssss
eb4035c8bd Adds jsdoc for better dev experience 2023-04-15 21:40:39 +01:00
comfyanonymous
501f200d86 Fix widgets not getting converted correctly in workflows. 2023-04-13 10:38:41 -04:00
FizzleDorf
3f52e7cbb1
Seed controls added to Ksamplers (#296)
Co-authored-by: flyingshutter <flyingshutter@users.noreply.github.com>
2023-04-12 20:57:13 -04:00
pythongosssss
d6a3c0d424 Add support for dropping images from urls 2023-04-12 13:49:32 +01:00
comfyanonymous
c982c937a7 Merge branch 'catch-configure-errors' of https://github.com/pythongosssss/ComfyUI 2023-04-08 18:37:47 -04:00
comfyanonymous
b0edcfdc8e Merge branch 'missing-node-warning' of https://github.com/pythongosssss/ComfyUI 2023-04-08 18:37:27 -04:00
comfyanonymous
60ac983238 Merge branch 'master' of https://github.com/city96/ComfyUI 2023-04-08 15:50:26 -04:00
pythongosssss
92e912c065 Fix multiple missing 2023-04-08 16:55:09 +01:00
pythongosssss
b78ebfcf9d Improve error UI 2023-04-08 16:37:09 +01:00
pythongosssss
12f9bfe895 Better filename check 2023-04-08 16:31:10 +01:00
pythongosssss
79ff7d67a5 Add error handling around initial load of workflow 2023-04-08 16:23:57 +01:00
pythongosssss
aad71add69 const 2023-04-08 14:52:24 +01:00
pythongosssss
cceb530395 Adds warning when loading graph with nodes you dont have 2023-04-08 14:50:57 +01:00
comfyanonymous
0bb5f93b92 Merge branch 'image-node-keybindings' of https://github.com/ALSchwalm/ComfyUI 2023-04-06 03:27:42 -04:00
Adam Schwalm
bf7dbe4702 Add left/right/escape hotkeys for image nodes 2023-04-04 21:02:40 -05:00
comfyanonymous
72f9235a49 Merge branch 'snap-to-grid' of https://github.com/pythongosssss/ComfyUI 2023-04-02 14:13:55 -04:00
pythongosssss
519890a5cc Adds middle click for default node creation
Enable two useful properties
2023-04-02 15:57:12 +01:00
pythongosssss
26dc8e3056 formatting 2023-04-02 15:36:27 +01:00
pythongosssss
d027ff121c Snap to grid 2023-04-02 15:33:34 +01:00
pythongosssss
178fc76363 Added a queue for the queue action 2023-04-01 18:46:05 +01:00
pythongosssss
06c2c19b5a Clone default graph before using 2023-03-31 20:35:26 +01:00
City
e6e30ee7cb Fallback for node title 2023-03-31 00:54:35 +02:00
City
5bcbc007dd Add human-readable names for nodes 2023-03-30 23:13:58 +02:00
pythongosssss
00c1ec498f Fix crash if node is removed mid run 2023-03-29 19:03:38 +01:00
pythongosssss
6f72c4c6ff Allows nodes to return ui data and output data
Fire executed event on node when message received
2023-03-29 18:53:24 +01:00
Jairo Correa
d5bf2314b3 Mute nodes and shortcuts in README 2023-03-29 05:04:06 -03:00
Farid Safi
40a377775e move clean to handleFile and loadGraphData functions 2023-03-28 20:22:49 +02:00
Farid Safi
393084877c clean state when loading another workflow 2023-03-28 19:45:17 +02:00
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