Chenlei Hu
5206939c78
Translate setting categories ( #1797 )
...
* Add i18n for setting categories
* Update locales
* Translate about
* nit
* nit
2024-12-04 16:32:28 -05:00
filtered
735153886f
Confirm delete workflow ( #1772 )
...
* Add confirm delete workflow prompt
* Add confirm delete workflow setting
* Add delete workflow tests
* Change dialog to modal, set default cancel
* Fix setting version key
* Rename for clarity
* Fix tests
- Move into correct section
- Add confirm control
* Export type: ShowDialogOptions
* Replace workflow overwrite with new dialog
* Add delete workflow confirmation dialog
* Update i18n
* Add item list support to confirmation dialog
* Prevent multiple dialogs for same action
* Add confirm close file when dirty
* Add i18n for overwrite dialog
* Fix regression: confirm dialog setting ignored
* Fix delete last workflow does not open replacement
* Update tests
2024-12-04 14:11:49 -05:00
Chenlei Hu
7986aebf27
Translate command label on top command dropdown menu ( #1792 )
...
* collect i18n with playwright
* Add command label translation
* Normalize i18n object key
2024-12-04 13:19:53 -05:00
Hayden
e893f3ed03
Add a unique key to each showDialog ( #1786 )
2024-12-03 23:04:27 -05:00
Chenlei Hu
1856479de9
Translate topbar command menu ( #1784 )
...
* Rename script
* Translate menu labels
* Update translations
* Display translated menu items
2024-12-03 22:51:15 -05:00
Chenlei Hu
08ae36818a
Fix litegraph types in NodeSearchBoxPopover ( #1777 )
2024-12-03 19:07:15 -05:00
Chenlei Hu
8e293b41f5
[Refactor] Remove abstract inheritance of node search filter ( #1774 )
2024-12-03 11:39:29 -05:00
Chenlei Hu
a56462fc7c
Translate core setting name & tooltip ( #1765 )
...
* lazy eval default value
* Add setting translation
* Adjust hooks
* Add all translations
* nit
* Normalized setting id
* Update locales
* Fallback
* Locale => Language
* Locale => Language
* Update translations
2024-12-02 17:34:21 -05:00
pythongosssss
89a9288154
Support closing tab with middle click ( #1761 )
2024-12-02 15:09:46 -05:00
pythongosssss
17b7ef18d6
Add context menu to tabs ( #1759 )
...
* Add context menu to tabs
* Flatten menu
Translate
* Add translations
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-12-02 13:19:39 -05:00
Yuki Shindo
1afc584393
fix: remove unnecessary $t calls for column headers ( #1758 )
2024-12-02 09:47:08 -05:00
Chenlei Hu
7f5b685c9f
Add current user message in settings dialog ( #1740 )
2024-11-29 11:24:21 -05:00
Chenlei Hu
9e565154a9
Rework user selection ( #1728 )
...
* Move to new route
* Convert to tailwind
* Basic style
* Add userStore
* nit
* nit
* nit
* Remove app.#setUser
* Route to user-select view
* Mock login
* Use primevue UI components
* handle create new user
* Remove legacy user selection
* Add logout button on side toolbar
* Add username to logout button tooltip
* Add playwright tests
* hide logout button in single user server
* nit
2024-11-28 23:36:41 -05:00
filtered
578870d345
Add canvas maximum FPS setting ( #1727 )
...
* Add canvas maximum FPS setting
* Update litegraph
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-11-28 11:46:54 -05:00
Chenlei Hu
88a42172c5
Typecheck vue components ( #1721 )
...
* Fix various type issues in vue components
* Add vue tsc
* Add to hooks
* nit
2024-11-27 19:18:16 -05:00
Chenlei Hu
08f3370828
Use auto inferred type on electronAPI.Terminal ( #1719 )
2024-11-27 16:14:30 -05:00
oto-ciulis-tt
2d022e4e49
feat: Remove successful model downloads ( #1710 )
...
* feat: Remove successful model downloads
* PR comments
---------
Co-authored-by: Oto Ciulis <oto.ciulis@gmail.com >
2024-11-27 10:40:43 -05:00
Chenlei Hu
1ac6d6529f
Add empty workflows placeholder ( #1712 )
2024-11-26 17:22:05 -05:00
Chenlei Hu
dd1c878fdf
[Electron] Fix path validation on typing in input box ( #1708 )
2024-11-26 14:26:46 -05:00
Chenlei Hu
c54b675a48
Revert Filter cached/canceled results ( #1586 ) ( #1703 )
...
* Revert "Filter cached/canceled results (#1586 )"
This reverts commit 6fbf1248f4 .
* nit
2024-11-26 13:17:26 -05:00
Chenlei Hu
b7008dfc5c
Revert "nit: Fix import of OutputFilters in queue sidebar ( #1680 )" ( #1702 )
...
This reverts commit f97b673481 .
2024-11-26 13:11:28 -05:00
Chenlei Hu
d0ad4af51c
Revert "Move queueStore update to GraphView ( #1679 )" ( #1701 )
...
This reverts commit c8d5a6f154 .
2024-11-26 13:08:42 -05:00
Chenlei Hu
4a182014e1
Revert "Fix queue sidebar tab task filter ( #1682 )" ( #1700 )
...
This reverts commit c1c5573e7f .
2024-11-26 13:08:19 -05:00
Hayden
c977667a15
Change dialog to multi-window mode ( #1695 )
...
Fixed Dropdown's z-index being below the dialog
2024-11-26 10:11:15 -05:00
Chenlei Hu
51f57aba17
Revert "Change dialog to multi-window mode ( #1672 )" ( #1686 )
...
This reverts commit 43c23e526c .
2024-11-25 13:29:47 -05:00
Chenlei Hu
c1c5573e7f
Fix queue sidebar tab task filter ( #1682 )
...
* Fix queue sidebar tab task filter
* nit
2024-11-25 12:59:10 -05:00
Chenlei Hu
f97b673481
nit: Fix import of OutputFilters in queue sidebar ( #1680 )
2024-11-25 11:49:49 -05:00
Chenlei Hu
c8d5a6f154
Move queueStore update to GraphView ( #1679 )
2024-11-25 11:47:35 -05:00
Hayden
43c23e526c
Change dialog to multi-window mode ( #1672 )
2024-11-24 21:36:30 -05:00
Chenlei Hu
f89898b3d0
Add searchbox for extensions panel ( #1675 )
2024-11-24 21:33:43 -05:00
Chenlei Hu
af21142602
Use setting panel template ( #1674 )
...
* PanelTemplate
* Use panel template
2024-11-24 21:24:13 -05:00
Chenlei Hu
4b91860227
[Refactor] Extract SettingsPanel ( #1673 )
...
* [Refactor] Extract SettingsPanel
* nit
2024-11-24 20:48:35 -05:00
Chenlei Hu
e53bafbca6
[Electron] Add custom node migration placeholder ( #1670 )
2024-11-24 20:16:39 -05:00
Chenlei Hu
e01c8f06c7
[Electron] Show server launch args in server config panel ( #1669 )
...
* Move revertChanges
* Show launch args
* Explicit ServerConfigValue type
* nit
* nit
* Add tests
2024-11-24 18:14:05 -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
filtered
f8bd910e63
Fix terminal resizes incorrectly in flex parent ( #1663 )
...
Pushes siblings or self off-screen
2024-11-24 11:31:29 -05:00
Chenlei Hu
069dc67c30
Reland "Fix undo / redo filling with empty steps" ( #1653 )
...
* Revert "Revert "Fix undo / redo filling with empty steps (#1649 )" (#1652 )"
This reverts commit 7623810166 .
* Update test expectations
* Add dirty flag if workflow is not persisted
* Add dirty flag to other UI areas for new workflows
* Remove redundant code
* Fix regression: undo / redo steps lost on refresh
The history is still be cleared, but any changes made by issuing undo / redo comands prior to refresh are not lost.
* Update test expectations
Partially reverts f8cc2c0d67 - adds dirty flags back to unsaved workflows.
---------
Co-authored-by: filtered <176114999+webfiltered@users.noreply.github.com >
2024-11-23 09:49:12 -05:00
pythongosssss
0f2260065a
[Electron] Allow users to submit error reports ( #1633 )
...
* Allows users to submit error reports
* Text change
* Add tooltip, change severity on submit
Remove unused import
2024-11-22 17:04:51 -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
Chenlei Hu
479d1b28c7
Update litegraph (Global snap to grid setting) ( #1629 )
2024-11-21 10:30:54 -05:00
Chenlei Hu
f34d50da3d
[Refactor] Extract 'FormItem' and 'SettingItem' ( #1619 )
...
* Extract SettingItem component
* Extract GeneralSettingItem
* Rename to FormItem
* nit
* nit
2024-11-20 15:10:17 -05:00
Chenlei Hu
2a7df57404
Fix always snap to grid ( #1604 )
2024-11-19 12:10:40 -05:00
Chenlei Hu
6352cd86ee
Show confirm dialog on workflow path conflict (Save As) ( #1590 )
...
* Show confirm dialog on workflow path conflict (Save As)
* Fix closeworkflow
* nit
* Add playwright tests
* nit
* nit
* Move workflows dir cleanup
2024-11-18 23:07:24 -05:00
Chenlei Hu
88164bdac5
[Electron] Fix initial default install location validation ( #1592 )
2024-11-18 20:10:22 -05:00
pythongosssss
6fbf1248f4
Filter cached/canceled results ( #1586 )
...
* Filter cached/canceled results
* Highlight if on
* Update setting
2024-11-18 16:59:59 -05:00
Chenlei Hu
26c3eeb942
Fix vue warning on unnecessary defineEmits import ( #1588 )
2024-11-18 13:15:16 -05:00
filtered
a8f869337e
Fix load crash when graph or config unset ( #1587 )
...
Resolves #1585
2024-11-18 12:51:46 -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
pythongosssss
b5f0c4bf73
[Electron] Terminal commands ( #1531 )
...
* Add live terminal output
* Fix scrolling
* Refactor loading
* Fallback to polling if endpoint fails
* Comment
* Move clientId to executionStore
Refactor types
* Remove polling
* wip terminal command input
* Refactor to use node-pty
* Hide tabs if not electron
* Lint fix
* ts fix
* Refactor tab components
2024-11-17 14:43:08 -05:00
Chenlei Hu
71e4a42cfe
Only persist workflow on workflow change/switch ( #1576 )
...
* Only persist workflow on workflow change/switch
* nit
* Add playwright test
* Add modify test
* nit
* Fix playwright tests
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-11-17 14:13:52 -05:00