Chenlei Hu
aa04ab78c1
Replace window.prompt with custom prompt impl ( #1847 )
...
* Replace window.prompt with custom prompt impl
* Update locales [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-12-08 16:55:32 -05:00
Chenlei Hu
43548785b5
Fix Comfy-Desktop.Reinstall command label ( #1844 )
2024-12-07 22:13:03 -05:00
filtered
0e385c4262
Require confirmation for desktop reinstall ( #1835 )
...
* Add generic default button for unknown dialogs
* Add reinstall confirmation dialog
* Prevent removal of newlines in i18n dialogs
* Update locales [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-12-07 10:24:00 -05:00
Chenlei Hu
6cdc524174
Align desktop version badge format with other badges ( #1808 )
2024-12-05 11:11:28 -05:00
filtered
0fe0aea242
Fix keybinds invalidated by capslock state ( #1776 )
...
* [Refactor] Simplify keybinds code
* [Refactor] Type safety
* Fix capslock inverts undo/redo shortcuts
* [Refactor] Type safety
* Fix capslock state changes keybinds
* Deprecate keybind deserialize
* Remove keybind deserialize
2024-12-03 19:12:09 -05:00
Tristan Sommer
b23cebcba4
maskeditor: massive improvements to brush opacity in brush strokes and lines ( #1768 )
...
* massive improvements to brush opacity in brush strokes and lines, improved save button visibility
* prettier formatting fixed
2024-12-02 18:16:18 -08:00
pythongosssss
5c6eecd660
Fix group node manage opening to wrong node type ( #1754 )
...
Remove dialog from DOM when closed
Add test
2024-12-01 19:52:08 -05:00
filtered
7c2cce40de
Add default setting for node error colour ( #1738 )
2024-11-29 13:20:54 -05:00
filtered
2017b9016b
Add TS types - API ( #1736 )
...
* nit
* Add TS types - API events
* Replace all API event emits with type-safe variants
* Add missing API type
* nit
* Remove test code, nit
2024-11-29 13:15:25 -05:00
Chenlei Hu
df3fff5dbb
Remove migration logic (settings & templates storage location) ( #1732 )
...
* Remove isNewUserSession handling
* Remove writing of setting and templates to localStorage
2024-11-28 14:24:06 -05:00
Chenlei Hu
b0085114d7
Remove app.storageLocation handling ( #1731 )
2024-11-28 13:35:08 -05:00
Chenlei Hu
c4d3c672ad
Enforce ComfyExtension types ( #1718 )
...
* Enforce extension types
* nit
2024-11-27 15:35:18 -05:00
Chenlei Hu
c61ed4da37
Add server config modified message to prompt restart ( #1668 )
...
* Server config changed message
* Write to settings on unmount
* nit
* Highlight modified config
* Move modified logic to store
* Add jest test
* nit
2024-11-24 16:13:37 -05:00
Terry Jia
4a4d6d070a
restore camera state ( #1666 )
2024-11-24 16:09:58 -05:00
Tristan Sommer
4bedd873a1
improved mouse brush adjustment, added zoom level indicator with reset, added invert button, bug fixes ( #1664 )
2024-11-24 11:32:13 -05:00
Terry Jia
5febda16c7
fix bug and allow restore previous node size ( #1659 )
2024-11-23 10:56:59 -05:00
Robin Huang
f51866d988
[desktop] Update crash report description ( #1646 )
...
* Update crash report descripton
* Update settings description.
2024-11-22 21:42:55 -05:00
Chenlei Hu
4007cc13c2
[Electron] ComfyUI server config (Launch args config) ( #1644 )
...
* Remove electron adapter server args
* Add server args typing
* Add server config constant file
* Tooltip to name; name to id
* Capitalize category
* Server config store
* Prevent default value
* Add serverconfig test
* Guard server config panel with electron flag
* Filter nullish values from server args
* Use slider for preview size
2024-11-22 16:50:24 -05:00
Tristan Sommer
c41b57128a
maskEditor UI interface revamp + brush smoothing precision adjustment ( #1626 )
2024-11-21 09:39:53 -05:00
Terry Jia
431ad7d27f
allow render depth directly ( #1610 )
2024-11-20 09:36:44 -05:00
Chenlei Hu
8906f5c26e
Add Comfy-Desktop.ComfyServer.ExtraLaunchArgs ( #1609 )
2024-11-19 20:44:26 -05:00
Terry Jia
3aa1c03566
better support for animation ( #1606 )
2024-11-19 18:25:58 -05:00
Tristan Sommer
6e49685f58
fix: improve light mode visibility, add: select color up to mask option ( #1596 )
2024-11-18 21:31:28 -05:00
Chenlei Hu
946823ce6c
[Electron] Add Comfy-Desktop.SendStatistics setting ( #1594 )
2024-11-18 20:25:18 -05:00
filtered
7e245ba1cf
Update Litegraph: Canvas Pointer ( #1556 )
...
* Litegraph: canvas.pointer
Clear @ts-expect-error
Fix exception thrown on slot double-click
Long-standing bug but has no real impact in prod - just logs an error.
Required for new connecting_link features.
Add settings: CanvasPointer options
Update litegraph 0.8.28
Fix regression in snap to grid render
Fix snap to grid marker always on
Update snap to grid to use Positionable API
Fix test clicks registering as double-click
Improve test precision
Current test proves it has changed to something smaller.
New test proves it is exactly what was specified.
Will need refinement when a limit is put on latent width.
Fix test expects collapse node to select node
Remove redundant code
Resolved by CanvasPointer
Fix flaky test - ContextMenu
Fix settings group
* Update litegraph
* Remove snapToGrid extension
* Update test expectations [skip ci]
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
Co-authored-by: github-actions <github-actions@github.com >
2024-11-18 10:50:51 -05:00
filtered
2a93f873b4
Use Litegraph snap to grid ( #1572 )
...
Leaves only settings code in the extension
2024-11-18 10:27:37 -05:00
Tristan Sommer
3273ee938b
New Mask Editor ( #1284 )
...
* implmentation of new mask editor
* fixed some problems, added some new ones
* Refactor: Split implementation into classes, fix multiple bugs -> all initial features work, more testing required
* first release - fixed all known issues, tested, added color select tool and settings toggle
2024-11-17 21:23:32 -05:00
Terry Jia
94f1bc3b38
add preview 3d node and up_direction parameter ( #1579 )
2024-11-17 21:17:00 -05:00
Terry Jia
d5ce140eb6
add load 3d node support ( #1563 )
...
* add load 3d node support
* stl and different material display support
2024-11-17 15:13:24 -05:00
Chenlei Hu
eaeb17bdc7
Add new top level setting category 'LiteGraph' and 'Appearance' ( #1573 )
2024-11-17 12:06:07 -05:00
filtered
239b464957
Apply group padding in context menu commands ( #1570 )
2024-11-17 11:13:28 -05:00
filtered
dde0291add
Fix change tracker count desync on error ( #1555 )
...
* Add TS types
* Ensure changeTracker works after exceptions
Wraps all code between before/after change calls in try/finally blocks
2024-11-15 16:03:21 -05:00
Chenlei Hu
86b2e1aa6c
Add electron adapter extension ( #1538 )
2024-11-14 19:57:09 -05:00
filtered
82d00a1bcf
Update Template copy & paste ( #1533 )
...
* Split original clipboard functions out
* Add version check for templates
* Fix regression in use template undo steps
2024-11-13 17:04:31 -05:00
Lasse Lauwerys
d838777e04
Touch support bug fixes ( #1527 )
...
* Improved touch support
* Fix touch support scaling error
* Fix touch scaling precision on all zoom levels
* Improved touch experiene, fixed zooming on textarea elements and fixed context menu.
* Minor bug fix
2024-11-13 10:14:11 -05:00
filtered
d6e0c197bd
Decouple group node from Litegraph copy & paste ( #1522 )
...
* nit - Refactor
* Add old clipboard code to groupNode
* [Refactor] groupNode copy / paste functions
* Clarify function name
2024-11-12 23:11:04 -05:00
Lasse Lauwerys
1a8900de1f
Improved touch support ( #1519 )
...
* Improved touch support
* Fix touch support scaling error
2024-11-12 16:19:59 -05:00
Chenlei Hu
05ba526388
Type DOMWidget and DOMWidgetOptions ( #1517 )
...
* Type DOMWidget and DOMWidgetOptions
* Annotate widget value type
2024-11-12 13:35:24 -05:00
Chenlei Hu
1ff6e27d9c
Manage widget definitions with Pinia store ( #1510 )
...
* Fix compile
* nit
* Remove extensions.test
* nit
2024-11-11 17:23:52 -05:00
Chenlei Hu
4617e0fb1a
Fix node badge on unknown color palette ( #1487 )
...
* Fix node badge on unknown color palette
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-11-09 10:55:25 -05:00
filtered
45380f7ca0
Fix TypeError thrown ( #1461 )
...
Missing node type + reroute linked
2024-11-07 20:17:16 -05:00
Chenlei Hu
3d303c7693
Fix save workflow binding on Ctrl + S ( #1442 )
...
* Fix save workflow binding on Ctrl + S
* nit
2024-11-06 13:46:56 -05:00
filtered
3ba776e6ca
Add Litegraph multi-select & group nesting ( #1416 )
...
* Allow nested groups
Pass all selected items (new litegraph feature) instead of just selected nodes.
* Allow nested groups - context menus
* Update litegraph
* Update litegraph (Select all / Delete selected)
* Add playwright test
* nit
* Update test expectations [skip ci]
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
Co-authored-by: github-actions <github-actions@github.com >
2024-11-03 18:08:42 -05:00
filtered
394df49208
Fix primitive size on load ( #1407 )
2024-11-03 09:29:39 -05:00
filtered
1366c8cb44
Fix primitive resize when node size ref retained ( #1405 )
...
* Fix primitive resize when node size ref retained
Primitive assumes that setting node size property will replace the ref. Minimal change.
* Use explicit variable names
2024-11-02 16:14:49 -04:00
filtered
3fb2d423ba
Update litegraph API - 237 ( #1376 )
2024-10-30 13:43:38 -04:00
Chenlei Hu
1f91a88d7b
Move linkRenderMode extension to core ( #1359 )
2024-10-29 11:00:10 -04:00
Chenlei Hu
dc3dab4e1c
Enable ts-strict for commandStore ( #1321 )
2024-10-26 17:05:42 -04:00
Chenlei Hu
645897f8b8
[Refactor] Make node badge a vue component ( #1317 )
...
* [Refactor] Make node badge a vue component
* Simplify badge logic
* nit
2024-10-26 15:28:14 -04:00
Chenlei Hu
ef4179a06c
Update litegraph to 0.8.6 ( #1316 )
...
* Update litegraph
* Remove ts-expect-error
2024-10-26 14:36:45 -04:00