Commit Graph

293 Commits

Author SHA1 Message Date
comfyanonymous
eaf858df78 Auto increase the size of the image upload widget when there's an image. 2023-04-24 18:13:18 -04:00
comfyanonymous
04da98df66 Add a way for nodes to validate their own inputs. 2023-04-23 16:03:26 -04:00
ltdrdata
73ff5c5278 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
pythongosssss
7ffe40e3c2 use window.name instead of session storage
- prevents duplicate stealing session id
2023-04-23 10:31:21 +01:00
comfyanonymous
eb7a0faa30 Cleanup. 2023-04-21 23:43:38 -04:00
comfyanonymous
ce8dacc0de Merge branch 'slotDefaults-dynamic' of https://github.com/omar92/ComfyUI 2023-04-21 23:39:55 -04:00
missionfloyd
726927e17b Remove brackets if weight == 1 2023-04-20 23:55:20 -06:00
missionfloyd
a900b94df2 Improve current word selection 2023-04-20 18:23:51 -06:00
omar92
704383c26d add option on the settings to change the number of the suggestions 2023-04-20 21:13:14 +02:00
omar92
c232d693da when drag from node input or output show all possible nodes that you can connect 2023-04-20 06:19:56 +02:00
comfyanonymous
7085f624c7 Saner range of values. 2023-04-18 02:25:57 -04:00
missionfloyd
c15e61ffc9 Editattention setting (#533)
* Add editAttention delta setting

* Update editAttention.js

* Update web/extensions/core/editAttention.js

Co-authored-by: Karun <karun.ellango7@gmail.com>

* Update editAttention.js

* Update editAttention.js

* Fix setting value

---------

Co-authored-by: Karun <karun.ellango7@gmail.com>
2023-04-18 02:22:05 -04:00
comfyanonymous
d492b289d4 Merge branch 'edit-attention-fix' of https://github.com/EllangoK/ComfyUI 2023-04-17 23:57:20 -04:00
EllangoK
0d3b0553ae correctly checks end of the text 2023-04-17 23:40:44 -04:00
comfyanonymous
922a327ca9 Merge branch 'settings-slider' of https://github.com/missionfloyd/ComfyUI 2023-04-17 22:45:46 -04:00
EllangoK
9e00f1bfc5 selects current word automatically 2023-04-17 19:02:08 -04:00
comfyanonymous
40ef940c6f Lower how much CTRL+arrow key changes the number. 2023-04-17 18:21:24 -04:00
EllangoK
b26a787f18 allows control arrow to edit attention in textarea 2023-04-17 17:29:22 -04:00
Tomoaki Hayasaka
605fe1aeb1 Fix "Ctrl+Enter doesn't work when textarea has focus" regression introduced in #491. 2023-04-17 01:58:33 +09:00
Karun
80512e598a 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
comfyanonymous
2de20e8f34 Merge branch 'master' of https://github.com/jwd-dev/ComfyUI 2023-04-15 20:34:20 -04:00
jwd-dev
5ebb0816c8 node serialization 2023-04-15 20:16:28 -04:00
jwd-dev
2442150ddd default text property incase we need one. 2023-04-15 19:58:46 -04:00
Jake D
8c8c44e8b0 Create noteNode.js 2023-04-15 19:50:05 -04:00
pythongosssss
51578c8ba6 style 2023-04-15 21:41:21 +01:00
pythongosssss
a496a45f3e Adds jsdoc for better dev experience 2023-04-15 21:40:39 +01:00
comfyanonymous
70bcf52e28 Merge branch 'fix-combo-auto-primitive' of https://github.com/pythongosssss/ComfyUI 2023-04-15 12:36:43 -04:00
pythongosssss
6edcf41977 Fix double click on converted combo widget link 2023-04-15 17:34:46 +01:00
comfyanonymous
4e90d7232e Merge branch 'fix-combo-primitive' of https://github.com/pythongosssss/ComfyUI 2023-04-15 11:07:03 -04:00
pythongosssss
498622f07e style 2023-04-15 10:55:19 +01:00
pythongosssss
b89b4ed61c Allow combo primitive to connect to multiple inputs 2023-04-15 10:53:30 +01:00
pythongosssss
855442e5b1 Prevent generating bad replacement regex 2023-04-15 10:29:32 +01:00
comfyanonymous
ba91d80870 Merge branch 'Allow-connect-premitiveNode-to-forceInput-comfyiUI-nodes' of https://github.com/omar92/ComfyUI 2023-04-14 00:59:31 -04:00
comfyanonymous
5b57df5424 Merge branch 'comfy-list-fix' of https://github.com/EllangoK/ComfyUI 2023-04-13 13:50:44 -04:00
missionfloyd
42f9a7452e Change grid size to slider 2023-04-13 10:04:06 -06:00
comfyanonymous
3a21c11f68 Fix widgets not getting converted correctly in workflows. 2023-04-13 10:38:41 -04:00
EllangoK
f9cd061774 fix comfy list not styled, and light theme border 2023-04-13 06:38:24 -04:00
missionfloyd
51d5668f14 Fix indentation 2023-04-12 21:15:21 -06:00
missionfloyd
52cd245d21 Add slider setting type 2023-04-12 19:36:35 -06:00
FizzleDorf
b062f87a7e Seed controls added to Ksamplers (#296)
Co-authored-by: flyingshutter <flyingshutter@users.noreply.github.com>
2023-04-12 20:57:13 -04:00
comfyanonymous
f177ad5e75 Update litegraph from upstream. 2023-04-12 18:00:13 -04:00
comfyanonymous
0de7e6d8f9 Merge branch 'default-replace-name' of https://github.com/pythongosssss/ComfyUI 2023-04-12 09:37:14 -04:00
pythongosssss
dadfac7d07 Changed default name to be the node type not title 2023-04-12 13:52:19 +01:00
pythongosssss
a64d858356 Add support for dropping images from urls 2023-04-12 13:49:32 +01:00
comfyanonymous
ee8ca50967 Change colour of background in light theme. 2023-04-11 23:23:06 -04:00
EllangoK
57be70b04a simplify setting color of root, fixes fg and bg 2023-04-11 13:24:32 -04:00
EllangoK
182bc15f03 adds light theme, fixes multiline css 2023-04-11 13:11:39 -04:00
EllangoK
e1f8b7b24d fix node slot colors for solarized
previously many dupes, and same colors as base
2023-04-11 12:09:15 -04:00
EllangoK
c458f7d9b4 colorPalette modifies comfyUI as well 2023-04-11 11:38:55 -04:00
EllangoK
334b8dbebf use variables in css stylesheet 2023-04-11 01:08:01 -04:00
pythongosssss
cfc4747ee9 style 2023-04-09 11:30:31 +01:00
pythongosssss
cfacbc0439 Add arrow to menu items with submenu 2023-04-09 11:29:55 +01:00
comfyanonymous
5d4c1c52c3 Merge branch 'fix/pnginfo-import' of https://github.com/filipemeneses/ComfyUI 2023-04-08 18:48:53 -04:00
comfyanonymous
04d13a1a37 Merge branch 'catch-configure-errors' of https://github.com/pythongosssss/ComfyUI 2023-04-08 18:37:47 -04:00
comfyanonymous
f069583252 Merge branch 'missing-node-warning' of https://github.com/pythongosssss/ComfyUI 2023-04-08 18:37:27 -04:00
comfyanonymous
b458942ab3 Merge branch 'node-templates' of https://github.com/pythongosssss/ComfyUI 2023-04-08 18:37:05 -04:00
comfyanonymous
5c01808f4b Merge branch 'themes' of https://github.com/EllangoK/ComfyUI 2023-04-08 18:14:05 -04:00
comfyanonymous
25edb68351 Merge branch 'master' of https://github.com/city96/ComfyUI 2023-04-08 15:50:26 -04:00
EllangoK
4354be0cb4 assign link_type_colors directly 2023-04-08 13:18:23 -04:00
omar92
b2779e064f handle double click create primitive widget 2023-04-08 19:05:22 +02:00
omar92
f1b146e82e Allow connect premitive Node to "comfyiUI-nodes that have forceInput setting" 2023-04-08 18:58:47 +02:00
EllangoK
d379a0abc5 link colors change after palette swap
didn't work previously as same function was defined repeatedly
2023-04-08 11:55:27 -04:00
pythongosssss
07859b9bdc Fix multiple missing 2023-04-08 16:55:09 +01:00
pythongosssss
95a43082e1 Improve error UI 2023-04-08 16:37:09 +01:00
pythongosssss
43eb049ddc Better filename check 2023-04-08 16:31:10 +01:00
pythongosssss
625acbec71 Add error handling around initial load of workflow 2023-04-08 16:23:57 +01:00
EllangoK
23dd6cf99b remove test render link file 2023-04-08 11:13:27 -04:00
Filipe
715ecf8f96 Fix large workflow pnginfo import 2023-04-08 12:00:03 -03:00
EllangoK
3d32435d5a cleanup customizeRenderLink 2023-04-08 10:59:34 -04:00
EllangoK
ee82a4c320 matches entry for correct link color 2023-04-08 10:47:15 -04:00
EllangoK
c91fcdbfb2 link color is set to nodeType color 2023-04-08 10:43:04 -04:00
pythongosssss
f9a6e5c6f4 const 2023-04-08 14:52:24 +01:00
pythongosssss
1b529aedb3 Adds warning when loading graph with nodes you dont have 2023-04-08 14:50:57 +01:00
pythongosssss
d2cda860ef Add style update 2023-04-08 14:48:15 +01:00
pythongosssss
2ce3dac5ad Adds menu for adding + managing node templates 2023-04-08 14:39:10 +01:00
pythongosssss
e2d6ba9fd1 Support dataset when creating elements
Allow dialog to show element and override buttons
2023-04-08 14:38:45 +01:00
EllangoK
8df8d9b7d0 manual set default link color 2023-04-08 09:28:35 -04:00
comfyanonymous
508d58dbfc Change the default prompt to something more impressive. 2023-04-08 01:10:15 -04:00
comfyanonymous
aa3da2fbb4 Allow dragging again. 2023-04-07 23:07:19 -04:00
EllangoK
998f1391eb fixes NODE_TITLE_COLOR not being set 2023-04-07 20:12:24 -04:00
EllangoK
36dfd0c513 colorPalette sets LiteGraph colors 2023-04-07 19:42:03 -04:00
comfyanonymous
9d1eaea760 Set title of page to ComfyUI. 2023-04-07 16:26:06 -04:00
comfyanonymous
c951ecc0fd Update litegraph from upstream. 2023-04-07 15:11:00 -04:00
comfyanonymous
f4e478eb4c Add webp images to upload accept list. 2023-04-06 22:22:59 -04:00
comfyanonymous
170da91441 Merge branch 'image-node-keybindings' of https://github.com/ALSchwalm/ComfyUI 2023-04-06 03:27:42 -04:00
comfyanonymous
01f9d8268d Merge branch 'menu-drag' of https://github.com/missionfloyd/ComfyUI 2023-04-06 03:19:20 -04:00
missionfloyd
e10577366b Style modals to match rest of UI 2023-04-05 15:56:41 -06:00
missionfloyd
d56ef7e753 Put drag icon back 2023-04-05 08:57:44 -06:00
missionfloyd
791d92615d Remove redundant lines 2023-04-04 22:10:45 -06:00
missionfloyd
1a6f38afe0 Remove menu drag handle 2023-04-04 22:03:22 -06:00
missionfloyd
5885832d11 Make the default true 2023-04-04 21:53:02 -06:00
missionfloyd
2c46a37229 Merge branch 'master' into confirm-clear 2023-04-04 21:43:28 -06:00
missionfloyd
b49a528720 Add confirmation for clearing canvas 2023-04-04 21:20:49 -06:00
comfyanonymous
b52df24907 Merge branch 'graphdialog-style' of https://github.com/missionfloyd/ComfyUI 2023-04-04 23:04:25 -04:00
Adam Schwalm
7f92a6c40e Add left/right/escape hotkeys for image nodes 2023-04-04 21:02:40 -05:00
missionfloyd
26f25c4d97 Fix .graphdialog style 2023-04-04 19:32:49 -06:00
City
850028f65c Ask for confirmation before clearing nodes 2023-04-04 18:16:23 +02:00
mligaintart
3afd02a351 Adds orientation settings to reroute nodes, allowing for cleaner
graphes.
2023-04-03 17:47:32 -04:00
comfyanonymous
39d93d5924 Merge branch 'master' of https://github.com/omar92/ComfyUI 2023-04-03 16:52:59 -04:00
omar92
25002a6f5b check if workflowNode And widgets_values are defined as they were causing errors on QueuePrompt after loading workFlow 2023-04-03 22:01:18 +02:00