339 Commits (2c038ccef0f819ee8693a94dd880f05a4eb3808c)

Author SHA1 Message Date
bymyself ab76abc767
Active workflow use primary fg color (#4090) 7 months ago
filtered b6779d8df3
Fix undo incorrectly undoing text input (#4114)
Fixes an issue where under certain conditions, the ComfyUI custom undo / redo functions would not run when intended to.

When trying to undo an action like deleting several nodes, instead the native browser undo runs - e.g. a textarea gets focus and the last typed text is undone.  Clicking outside the text area and typing again just keeps doing the same thing.
7 months ago
Chenlei Hu 6045ed31f8
Supress frontend exception on unhandled message type (#4078)
* Supress frontend exception on unhandled message type

* nit
7 months ago
Greg Wainer 11b74147ee
Fix/webp exif little endian (#4061)
* Fix for isLittleEndian flag in parseExifData.

* Add break after reading first exif chunk in getWebpMetadata.
7 months ago
pythongosssss 79547efb65
New menu fixes - fix send to workflow (#3909)
* Fix send to workflow
Fix center align of close workflow dialog
Better support for elements around canvas

* More resilent to extra elements added to body
7 months ago
bymyself d160073829
Fix loadGraphData call during restore (#3976) 8 months ago
bymyself 24b969d3da
Skip state check hook on first load (#3915) 8 months ago
ruucm e53b1592ba
enable cmd shortcuts for mac (mute & bypass) (#3792) 8 months ago
Chenlei Hu 7c5fa7f4a2
Fix loadGraphData func call (#3918) 8 months ago
comfyanonymous 521421f53e Fix workflow not importing from flac files on some systems. 8 months ago
comfyanonymous 05e831697a Switch to the real cfg++ method in the samplers.
The old _pp ones will be updated automatically to the regular ones with 2x
the cfg.

My fault for not checking what the "_pp" samplers actually did.
8 months ago
pythongosssss 0d9009c96e
New menu/workflows fixes (#3900)
* Fix auto queue

* Detect added nodes via search

* Fix loading workflows

* Add button click style
8 months ago
comfyanonymous 4650e7d6e9 Save and load workflow from the flac files output by SaveAudio. 8 months ago
Chenlei Hu 3b423afcca
Add audio widget (#3863)
* Add audio widget

* Fix audio bugs

* Add CSS

* Populate audio widget when load history
8 months ago
pythongosssss e3579f3360
Fix merge issue breaking api json loading (#3876) 8 months ago
Chenlei Hu e99d97a9d9
Remove duplicated Reset View button (#3865)
* Remove duplicated Reset View button

* Disable flaky test
8 months ago
pythongosssss 90aebb6c86
New Menu & Workflow Management (#3112)
* menu

* wip

* wip

* wip

* wip

* wip

* workflow saving/loading

* Support inserting workflows
Move buttosn to top of lists

* fix session storage
implement renaming

* temp

* refactor, better workflow instance management

* wip

* progress on progress

* added send to workflow
various fixes

* Support multiple image loaders

* Support dynamic size breakpoints based on content

* various fixes
add close unsaved warning

* Add filtering tree

* prevent renaming unsaved

* fix zindex on hover

* fix top offset

* use filename as workflow name

* resize on setting change

* hide element until it is drawn

* remove glow

* Fix export name

* Fix test, revert accidental changes to groupNode

* Fix colors on all themes

* show hover items on smaller screen (mobile)

* remove debugging code

* dialog fix

* Dont reorder open workflows
Allow elements around canvas

* Toggle body display on setting change

* Fix menu disappearing on chrome

* Increase delay when typing, remove margin on Safari, fix dialog location

* Fix overflow issue on iOS

* Add reset view button
Prevent view changes causing history entries

* Bottom menu wip

* Various fixes

* Fix merge

* Fix breaking old menu position

* Fix merge adding restore view to loadGraphData
8 months ago
Juanjuan 379ff92e9e
fix app.js no graph defined (#3754)
* local test

* fix "graph" not found

* fix

---------

Co-authored-by: Xiujuan Li <xiujuali@amazon.com>
8 months ago
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