199 Commits (e1c528196ef77e8c69b67d96dc909b8ccb776007)

Author SHA1 Message Date
pythongosssss 34eccd863b Add simple undo redo history 1 year ago
pythongosssss 70d2ea0faa
Control filter list (#2009)
* Add control_filter_list to filter items after queue

* fix regex

* backwards compatibility

* formatting

* revert

* Add and fix test
1 year ago
42lux 7b87c825a3 Added Colorschemes. Arc, North and Github. 1 year ago
Jairo Correa 006b24cc32 Prevent image cache 1 year ago
Matteo Spinelli 6e84a01ecc
Refactor the template manager (#1878)
* add drag-drop to node template manager

* better dnd, save field on change

* actually save templates

---------

Co-authored-by: matt3o <matt3o@gmail.com>
1 year ago
Joseph Antolick 88410ace9b fix: handle null case for currentNode widgets to prevent scroll error 1 year ago
comfyanonymous 8cfce083c4 Fix primitive node control value not getting loaded. 1 year ago
comfyanonymous 8d50f0890d Merge branch 'templates-export-import' of https://github.com/jn-jairo/ComfyUI 1 year ago
pythongosssss 5818ca83a2
Unit tests + widget input fixes (#1760)
* setup ui unit tests

* Refactoring, adding connections

* Few tweaks

* Fix type

* Add general test

* Refactored and extended test

* move to describe

* for groups

* 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

* added step to generate object_info

* fix python

* install python

* install deps

* fix cwd?

* logging

* Fix double resolve

* create dir

* update pkg
1 year ago
Jairo Correa 484bfe46c2 Clear importInput after import so change event works with same file 1 year ago
Jairo Correa a555074737 Use name from input to export single node template 1 year ago
Jairo Correa 6dbb18df92 Export and import templates 1 year ago
Jairo Correa 682c84ccf3 Fix fit group to nodes with reroute and collapsed nodes 1 year ago
Jairo Correa e8c02219ee Fix add selected nodes to empty group 1 year ago
Jairo Correa 7d5d0fd577 Group options
- Add Group For Selected Nodes
- Add Selected Nodes To Group
- Fit Group To Nodes
1 year ago
Jairo Correa a7b65b9505 Group menu option select nodes 1 year ago
comfyanonymous 1f2f4eaa6f Fix bug when copying node with converted input. 1 year ago
pythongosssss ae3e4e9ad8
access getConfig via a symbol so structuredClone works (#1677) 1 year ago
pythongosssss b9b178b839 More cleanup of old type data
Fix connecting combos of same type from different types of node
1 year ago
pythongosssss 80932ddf40 updated messages 1 year ago
pythongosssss 0b9246d9fa allow connecting numbers merging config 1 year ago
pythongosssss 6fc7314393 support refreshing primitive combos
no longer uses combo list as type name
1 year ago
Chris 0782ac2a96 defaultInput 1 year ago
comfyanonymous 6962cb46a9 Fix issue when node_input is undefined. 2 years ago
comfyanonymous 7291e303f6 Fix issue with some workflows not getting serialized. 2 years ago
comfyanonymous c335fdf200 Merge branch 'pixelass-patch-1' of https://github.com/pixelass/ComfyUI 2 years ago
Michael Poutre 9a7a52f8b5
refactor/fix: Treat forceInput widgets as standard widgets 2 years ago
Michael Poutre 6944288aff
refactor(ui): Switch statement, and handle other modes in group actions 2 years ago
Michael Poutre e30d546e38
feat(ui): Add node mode toggles to group context menu 2 years ago
comfyanonymous f081017c1a Save memory by storing text encoder weights in fp16 in most situations.
Do inference in fp32 to make sure quality stays the exact same.
2 years ago
comfyanonymous d7b3b0f8c1 Don't hardcode node names for image upload widget. 2 years ago
Gregor Adams af32197067
feat(extensions): Allow hiding link connectors
Thank you for adding this feature (linksRenderMode) to core. I would like to add the "Hidden" option (invalid number 3 will just hide the connector lines), so that I can remove that extension from my extension pack to prevent conflicts

https://github.com/failfa-st/failfast-comfyui-extensions
2 years ago
comfyanonymous 5e2b4893da Fix path issue. 2 years ago
pythongosssss b948b2cf41 handle value missing 2 years ago
pythongosssss 32e115b818 prevent crashing if the widget cant be found 2 years ago
pythongosssss 8918f1085c Add setting to change link render mode
Add support for combo settings
2 years ago
Dr.Lt.Data 9534f0f8a5
allows convert to widget for boolean type (#1063) 2 years ago
comfyanonymous d1347544bc Make context menu filter import from relative path. 2 years ago
comfyanonymous 907c9fbf0d Refactor to make it easier to set the api path. 2 years ago
Alex "mcmonkey" Goodwin 5797ff89b0 use relative paths for all web connections
This enables local reverse-proxies to host ComfyUI on a path, eg "http://example.com/ComfyUI/" in such a way that at least everything I tested works. Without this patch, proxying ComfyUI in this way will yield errors.
2 years ago
Dr.Lt.Data c9f5d5b2e1
optimize: support preview mode for mask editor. (#755)
* support preview mode for mask editor.
* use original file reference instead of loaded frontend blob

bugfix:
* prevent file open dialog when save to load image

* bugfix: cannot clear previous mask painted image's alpha

* bugfix

* bugfix

---------

Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
2 years ago
comfyanonymous 852cf4db99 Merge branch 'widget-input-overlapping' of https://github.com/ssitu/ComfyUI 2 years ago
ssit 6f54b01954 Fix reroute node connecting different types 2 years ago
ssit 8c3d24434a Fix overlapping when converting widgets to inputs 2 years ago
reaper47 96e8307bd3 Clean keybinds extension 2 years ago
reaper47 34ddbfdc8a Beautify settings dialog 2 years ago
reaper47 aba886e9da Issue 741: Darken white background 2 years ago
reaper47 3402ec0c0d Issue 752: Fix background 2 years ago
comfyanonymous b18946c53b Merge branch 'next-task' of https://github.com/reaper47/ComfyUI 2 years ago
reaper47 bfebe2d6c3 Improve ContextMenuFilter extension 2 years ago
comfyanonymous 4b0b516544 Add code to handle primitive nodes connected to reroute nodes.
Revert last commit because I noticed it broke a few things.
2 years ago
Dr.Lt.Data 8e14c46a38
allows connect primitive node to reroute if primitive node has type (#751)
Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
2 years ago
space-nuko eed4f62cc5 Add comment support to dynamic prompts nodes 2 years ago
space-nuko b4f434ee66 Preview sampled images with TAESD 2 years ago
Dr.Lt.Data 9f3a19b728
improve: lightweight preview to reduce network traffic (#733)
* To reduce bandwidth traffic in a remote environment, a lossy compression-based preview mode is provided for displaying simple visualizations in node-based widgets.

* Added 'preview=[image format]' option to the '/view' API.
* Updated node to use preview for displaying images as widgets.
* Excluded preview usage in the open image, save image, mask editor where the original data is required.

* Made preview_format parameterizable for extensibility.

* default preview format changed: jpeg -> webp

* Support advanced preview_format option.
- grayscale option for visual debugging
- quality option for aggressive reducing

L?;format;quality?

ex)
jpeg => rgb, jpeg, quality 90
L;webp;80 => grayscale, webp, quality 80
L;png => grayscale, png, quality 90
webp;50 => rgb, webp, quality 50

* move comment

* * add settings for preview_format
* default value is ''(= don't reencode)

---------

Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
2 years ago
Dr.Lt.Data 126b4050dc
Crash fix for intermittent crashes that occur when opening MaskEditor. (#732) 2 years ago
comfyanonymous bfb13f5eee Remove useless call to /object_info 2 years ago
comfyanonymous 13d94caf49 Add control_after_generate to combo primitive. 2 years ago
Dr.Lt.Data d926f65f56
Feature/maskeditor context menu (#649)
* add "Open in MaskEditor" to context menu

* change save button name to 'Save to node' if open in node.
clear clipspace_return_node after auto paste

* * leak patch: prevent infinite duplication of MaskEditorDialog instance on every dialog open
* prevent conflict of multiple opening of MaskEditorDialog
* name of save button fix

* patch: brushPreview hiding by dialog

* consider close by 'esc' key on maskeditor.

* bugfix about last patch

* patch: invalid close detection

* 'enter' key as save action

* * batch support enhance
  - pick index based on imageIndex on copy action
* paste fix on batch image node

* typo

---------

Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
2 years ago
comfyanonymous a7ebd5aa12 Fix masked editor issue with firefox on windows. 2 years ago
comfyanonymous 850daf0416 Masked editor changes.
Add a way to upload to subfolders.

Clean up code.

Fix some issues.
2 years ago
Dr.Lt.Data ae08fdb999
Clipspace Menu and MaskEditor application. (#548)
* 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.

* mask painting on clipspace

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

* robust patch & refactoring folder_paths about annotated_filepath

* wip

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

* clipspace feature added
maskeditor feature added

* instant refresh on paste

force triggering 'changed' on paste action

* enhance mask painting

smooth drawing
add brush_size +/- button

* robust patch

use mouseup event

* robust patch

again...

* subfolder fix on paste logic

attach subfolder if subfolder isn't empty

* event listener patch

add ], [ key event for brush size
remove listener on close

* Fix button positioning issue related to window height.
Change brush size from button to slider.

* clean commit

* clean code

* 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

* remove dbg message

* Add cursor functionality to display brush size

* refactor: Replace brush preview feature with missionfloyd implementation

* missionfloyd implementation
* hiding brush preview off the canvas
* change brush size on wheel event

* keyup -> keydown event

* Update web/extensions/core/maskeditor.js

Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>

* Add support for channel-specific image data retrieval in /view API to fix alpha mask loading issue

When loading an image with an alpha mask in JavaScript canvas, there is an issue where the alpha and RGB channels are premultiplied. To avoid reliance on JavaScript canvas, I added support for channel-specific image data retrieval in the "/view" API. This allows us to retrieve data for each channel separately and fix the alpha mask loading issue. The changes have been committed to the repository.

* Enable brush preview for key and slider events

* optimize

* preview fix

* robust patch

* fix copy (clipspace) action
imgs[0] copy -> whole imgs copy

* support batch images on clipspace, maskeditor

* copy/paste bug fixes for batch images
enhance selector preview on clipspace menu
add img_paste_mode option into clipspace menu

* crash fix

* print message if clipspace content cannot editable

* Update web/extensions/core/maskeditor.js

Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>

* make default img_paste_mode to 'selected'

refactor space -> tab

* save clipspace files to input/clipspace instead of temp

* show "clipspace/filename.png" instead of 'filename.png [clipspace]' in LoadImage/LoadImageMask

* refresh fix related to FILE_COMBO

* Update web/extensions/core/maskeditor.js

Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>

* Update web/extensions/core/maskeditor.js

Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>

* adjust margin based on missionfloyd impelements

* mouse event -> pointer event

* pen, touch, mouse drawing patched and tested

* Update web/extensions/core/maskeditor.js

Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>

* add comment about touch event.

---------

Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>
2 years ago
EllangoK 6aae1f497f style context menu
fix graphdialog background, and palette template
2 years ago
pythongosssss ffd0f9f417 Search filter by type 2 years ago
comfyanonymous 989acd769a Cleanup. 2 years ago
comfyanonymous d5a59da662 Merge branch 'slotDefaults-dynamic' of https://github.com/omar92/ComfyUI 2 years ago
missionfloyd 98ae4bbfde
Remove brackets if weight == 1 2 years ago
missionfloyd d2ef3465ca
Improve current word selection 2 years ago
omar92 5229c1f972 add option on the settings to change the number of the suggestions 2 years ago
omar92 94e9798a4b when drag from node input or output show all possible nodes that you can connect 2 years ago
comfyanonymous b016e2769f Saner range of values. 2 years ago
missionfloyd a7c7da68dc
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>
2 years ago
comfyanonymous b9b1df3038 Merge branch 'edit-attention-fix' of https://github.com/EllangoK/ComfyUI 2 years ago
EllangoK a962222992 correctly checks end of the text 2 years ago
comfyanonymous c8afa7e9fb Merge branch 'settings-slider' of https://github.com/missionfloyd/ComfyUI 2 years ago
EllangoK 79ba0399d8 selects current word automatically 2 years ago
comfyanonymous b8c636b10d Lower how much CTRL+arrow key changes the number. 2 years ago
EllangoK 7b5eb196db allows control arrow to edit attention in textarea 2 years ago
Tomoaki Hayasaka 22bde7957e Fix "Ctrl+Enter doesn't work when textarea has focus" regression introduced in #491. 2 years ago
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>
2 years ago
jwd-dev 8cd170f40d node serialization 2 years ago
jwd-dev fb61c75e39 default text property incase we need one. 2 years ago
Jake D 9587ea90c8
Create noteNode.js 2 years ago
comfyanonymous a40499891e Merge branch 'fix-combo-auto-primitive' of https://github.com/pythongosssss/ComfyUI 2 years ago
pythongosssss f5a78658b7 Fix double click on converted combo widget link 2 years ago
pythongosssss 887ea0ba83 style 2 years ago
pythongosssss 901a890199 Allow combo primitive to connect to multiple inputs 2 years ago
comfyanonymous 61e7767ca6 Merge branch 'Allow-connect-premitiveNode-to-forceInput-comfyiUI-nodes' of https://github.com/omar92/ComfyUI 2 years ago
missionfloyd 307ef543bf
Change grid size to slider 2 years ago
EllangoK ff0be60ac4 fix comfy list not styled, and light theme border 2 years ago
FizzleDorf 3f52e7cbb1
Seed controls added to Ksamplers (#296)
Co-authored-by: flyingshutter <flyingshutter@users.noreply.github.com>
2 years ago
pythongosssss a3516225f9 Changed default name to be the node type not title 2 years ago
comfyanonymous 6c69853afd Change colour of background in light theme. 2 years ago
EllangoK 19ce3df8c0 simplify setting color of root, fixes fg and bg 2 years ago
EllangoK eae159eb4c adds light theme, fixes multiline css 2 years ago
EllangoK c975fef620 fix node slot colors for solarized
previously many dupes, and same colors as base
2 years ago
EllangoK 73c4ba11fa colorPalette modifies comfyUI as well 2 years ago
comfyanonymous e07f8eab6a Merge branch 'node-templates' of https://github.com/pythongosssss/ComfyUI 2 years ago
EllangoK 53fba56ee5 assign link_type_colors directly 2 years ago
omar92 9d095c52f3 handle double click create primitive widget 2 years ago