From ad87080e8c6ee62a9d1a9088dfac50c12be3a154 Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Sat, 11 Jan 2025 16:50:22 +1100 Subject: [PATCH 01/19] Revert "[Desktop] Fix server start view layout (#2226)" This reverts commit 44610674ee51d00d2528492da3fca3a1c4b51ff5. --- src/views/ServerStartView.vue | 68 +++++++++++++++++------------------ vite.electron.config.mts | 6 +--- 2 files changed, 34 insertions(+), 40 deletions(-) diff --git a/src/views/ServerStartView.vue b/src/views/ServerStartView.vue index 39c5e1a7b..069f9ab1a 100644 --- a/src/views/ServerStartView.vue +++ b/src/views/ServerStartView.vue @@ -1,45 +1,43 @@ diff --git a/vite.electron.config.mts b/vite.electron.config.mts index 821919758..ac98946cf 100644 --- a/vite.electron.config.mts +++ b/vite.electron.config.mts @@ -54,11 +54,7 @@ const mockElectronAPI: Plugin = { getElectronVersion: () => Promise.resolve('1.0.0'), getComfyUIVersion: () => '9.9.9', getPlatform: () => 'win32', - changeTheme: () => {}, - Config: { - setWindowStyle: () => {}, - getWindowStyle: () => Promise.resolve('default') - } + changeTheme: () => {} };` } ] From 738de3baaa4c17dc3e2d9f15694321e95eeea0e3 Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Sat, 11 Jan 2025 16:43:54 +1100 Subject: [PATCH 02/19] Add missing electron mock API Co-Authored-By: Chenlei Hu --- vite.electron.config.mts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vite.electron.config.mts b/vite.electron.config.mts index ac98946cf..821919758 100644 --- a/vite.electron.config.mts +++ b/vite.electron.config.mts @@ -54,7 +54,11 @@ const mockElectronAPI: Plugin = { getElectronVersion: () => Promise.resolve('1.0.0'), getComfyUIVersion: () => '9.9.9', getPlatform: () => 'win32', - changeTheme: () => {} + changeTheme: () => {}, + Config: { + setWindowStyle: () => {}, + getWindowStyle: () => Promise.resolve('default') + } };` } ] From 582ca967c65169e662a43c312027c73d21820803 Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Sat, 11 Jan 2025 16:51:28 +1100 Subject: [PATCH 03/19] Revert "[Desktop] Allow dragging window on empty titlebar (#2222)" This reverts commit 30cd46ce1f13a6549167ec352404405f690ae7df. --- src/components/topbar/TopMenubar.vue | 2 +- src/components/topbar/WorkflowTabs.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/topbar/TopMenubar.vue b/src/components/topbar/TopMenubar.vue index 5d5ef2eae..4883fd3e5 100644 --- a/src/components/topbar/TopMenubar.vue +++ b/src/components/topbar/TopMenubar.vue @@ -9,7 +9,7 @@

ComfyUI

-
+
diff --git a/src/components/topbar/WorkflowTabs.vue b/src/components/topbar/WorkflowTabs.vue index abbc5061b..1035fd3dd 100644 --- a/src/components/topbar/WorkflowTabs.vue +++ b/src/components/topbar/WorkflowTabs.vue @@ -1,7 +1,7 @@