From 7bf2cd18b960c214620e2d5ca3d4d7b85c48a6bb Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Sun, 15 Nov 2026 22:42:38 -0800 Subject: [PATCH 1/3] feat(sidebar): move Desktop Settings above the account switcher (DESK-294) --- e2e/chooser.test.ts | 43 +++++++++++++++++++---- e2e/core-beta-optin.test.ts | 11 +++--- e2e/hardware-acceleration.test.ts | 9 ++--- e2e/shared-controls-input.test.ts | 9 ++--- e2e/storage-settings.test.ts | 7 ++-- e2e/support/chooserHelpers.ts | 12 +++++++ src/main/popups/titlePopup.test.ts | 7 ++-- src/main/popups/titlePopup.ts | 18 +--------- src/renderer/src/panel/AppSidebar.test.ts | 32 +++++++++++++++++ src/renderer/src/panel/AppSidebar.vue | 27 ++++++++++++-- 10 files changed, 119 insertions(+), 56 deletions(-) diff --git a/e2e/chooser.test.ts b/e2e/chooser.test.ts index 4445ce24f..6bd950696 100644 --- a/e2e/chooser.test.ts +++ b/e2e/chooser.test.ts @@ -7,15 +7,18 @@ import { expectNewBuildModalOpen, openNewBuildChangeSetup, pickFromTitleMenu, + openDesktopSettings, showBuildsPage } from './support/chooserHelpers' import { + closeTitlePopupIfOpen, findWebContentsId, isPopupVisible, TITLE_REOPEN_SUPPRESSION_MS, waitForWebContents } from './support/cdpPages' import { evalWithRetry } from './support/evalRetry' +import { captureHostWindow } from './support/windowCapture' let ctx: AppContext @@ -41,6 +44,38 @@ test('title bar shows install-less pill on chooser host @windows @macos @linux', expect(await ctx.titleBar.textOf('.title-install-name')).toMatch(/Comfy Desktop/i) }) +test('Desktop Settings opens from the sidebar footer when expanded and collapsed @windows @macos @linux', async () => { + const settings = '[data-testid="app-sidebar-settings"]' + const sidebar = '[data-testid="app-sidebar"]' + + for (const collapsed of [false, true]) { + expect(await ctx.panel.textOf(settings)).toBe(collapsed ? '' : 'Desktop Settings') + expect( + await ctx.panel.evaluate(`(() => { + const sidebar = document.querySelector('${sidebar}').getBoundingClientRect() + const settings = document.querySelector('${settings}').getBoundingClientRect() + const account = document.querySelector('.sidebar-account').getBoundingClientRect() + return settings.top >= sidebar.top && settings.bottom <= account.top && account.bottom <= sidebar.bottom + })()`) + ).toBe(true) + const name = collapsed ? 'sidebar-collapsed.png' : 'sidebar-expanded.png' + const shot = await captureHostWindow(ctx.app, ctx.panel, test.info().outputPath(name)) + await test.info().attach(name, { path: shot, contentType: 'image/png' }) + + await openDesktopSettings(ctx.app, ctx.panel) + expect(await ctx.panel.isVisible('.chooser-view')).toBe(true) + await closeTitlePopupIfOpen(ctx.app) + expect(await ctx.panel.click('[data-testid="app-sidebar-toggle"]')).toBe(true) + await ctx.panel.waitFor( + () => + ctx.panel.evaluate( + `document.querySelector('${sidebar}').dataset.collapsed === '${!collapsed}'` + ), + { message: 'the sidebar did not toggle' } + ) + } +}) + test('clicking New Install tile opens the new-install takeover @windows @macos @linux', async () => { await clickNewInstallTile(ctx.panel) await expectNewBuildModalOpen(ctx.panel) @@ -159,13 +194,7 @@ test('title popup opens, renders menu items, and closes via bridge @windows @mac .toBe(true) const popupItems = await readPopupMenuItems(ctx.app, 'comfyTitlePopup.html') - expect(popupItems).toEqual([ - 'Performance Tests', - 'Benchmarks', - 'Desktop Settings', - 'Close Window', - 'Quit Desktop' - ]) + expect(popupItems).toEqual(['Performance Tests', 'Benchmarks', 'Close Window', 'Quit Desktop']) await evalWithRetry(() => ctx.app.evaluate(({ webContents }) => { diff --git a/e2e/core-beta-optin.test.ts b/e2e/core-beta-optin.test.ts index 008af7f66..4eeb21226 100644 --- a/e2e/core-beta-optin.test.ts +++ b/e2e/core-beta-optin.test.ts @@ -1,6 +1,6 @@ import { expect, test } from '@playwright/test' import { launchApp, type AppContext } from './launchApp' -import { openTitleMenu } from './support/chooserHelpers' +import { openDesktopSettings } from './support/chooserHelpers' import { closeTitlePopupIfOpen, titlePopupPage, @@ -37,13 +37,10 @@ async function readBetaRow(popup: WebContentsPage): Promise })()`) } -async function openDesktopSettings(ctx: AppContext, popup: WebContentsPage): Promise { +async function openBetaSettings(ctx: AppContext, popup: WebContentsPage): Promise { await closeTitlePopupIfOpen(ctx.app) await new Promise((resolve) => setTimeout(resolve, TITLE_REOPEN_SUPPRESSION_MS)) - await openTitleMenu(ctx.titleBar) - await popup.waitForVisible('[role="menuitem"]', { timeout: 10_000 }) - expect(await popup.clickByText('[role="menuitem"]', 'Desktop Settings')).toBe(true) - await popup.waitForVisible('.global-settings', { timeout: 10_000 }) + await openDesktopSettings(ctx.app, ctx.panel) await popup.waitForVisible(BETA_SWITCH, { timeout: 10_000 }) } @@ -57,7 +54,7 @@ function betaScenario(settings: Record): () => WebContentsPage }) test.beforeEach(async () => { - await openDesktopSettings(ctx, popup) + await openBetaSettings(ctx, popup) }) test.afterAll(async () => { diff --git a/e2e/hardware-acceleration.test.ts b/e2e/hardware-acceleration.test.ts index c1b7b0f16..df0242ef4 100644 --- a/e2e/hardware-acceleration.test.ts +++ b/e2e/hardware-acceleration.test.ts @@ -5,8 +5,7 @@ import path from 'node:path' import process from 'node:process' import { expect, test, type ElectronApplication } from '@playwright/test' import { launchApp, type AppContext } from './launchApp' -import { openTitleMenu } from './support/chooserHelpers' -import { titlePopupPage } from './support/cdpPages' +import { openDesktopSettings } from './support/chooserHelpers' const MIB = 1024 * 1024 const GPU_MEMORY_COUNTER = '\\GPU Process Memory(*)\\Dedicated Usage' @@ -115,11 +114,7 @@ async function measureApp(application: ElectronApplication): Promise<{ } async function disableHardwareAccelerationFromDesktopSettings(ctx: AppContext): Promise { - const popup = titlePopupPage(ctx.app) - await openTitleMenu(ctx.titleBar) - await popup.waitForVisible('[role="menuitem"]', { timeout: 5_000 }) - expect(await popup.clickByText('[role="menuitem"]', 'Desktop Settings')).toBe(true) - await popup.waitForVisible('.global-settings', { timeout: 5_000 }) + const popup = await openDesktopSettings(ctx.app, ctx.panel) expect(await popup.clickByText('.gs-tab', 'Advanced')).toBe(true) const selector = '[role="switch"][aria-label="Use hardware acceleration"]' diff --git a/e2e/shared-controls-input.test.ts b/e2e/shared-controls-input.test.ts index 2c8f41602..347546846 100644 --- a/e2e/shared-controls-input.test.ts +++ b/e2e/shared-controls-input.test.ts @@ -1,17 +1,14 @@ import { expect, test } from '@playwright/test' import { launchApp } from './launchApp' -import { openTitleMenu } from './support/chooserHelpers' -import { isPopupVisible, titlePopupPage } from './support/cdpPages' +import { openDesktopSettings } from './support/chooserHelpers' +import { isPopupVisible } from './support/cdpPages' test('the WebContents facade drives shared selects and tabs with native input @windows @macos @linux', async () => { const ctx = await launchApp({ settings: { firstUseCompleted: true, language: 'en', autoLaunchOnStartup: 'none' } }) try { - const popup = titlePopupPage(ctx.app) - await openTitleMenu(ctx.titleBar) - await popup.waitForVisible('[role="menuitem"]') - expect(await popup.clickByText('[role="menuitem"]', 'Desktop Settings')).toBe(true) + const popup = await openDesktopSettings(ctx.app, ctx.panel) const trigger = '[data-field-id="autoLaunchOnStartup"] [role="combobox"]' await popup.waitForVisible(trigger) diff --git a/e2e/storage-settings.test.ts b/e2e/storage-settings.test.ts index f05318490..a306bdb8e 100644 --- a/e2e/storage-settings.test.ts +++ b/e2e/storage-settings.test.ts @@ -3,7 +3,7 @@ import path from 'node:path' import { mkdir, mkdtemp, readFile, rm, writeFile } from 'node:fs/promises' import { expect, test } from '@playwright/test' import { launchApp, type AppContext } from './launchApp' -import { openTitleMenu } from './support/chooserHelpers' +import { openDesktopSettings } from './support/chooserHelpers' import { titlePopupPage, type WebContentsPage } from './support/cdpPages' import { evalWithRetry } from './support/evalRetry' @@ -84,10 +84,7 @@ test.afterAll(async () => { }) test('Desktop Settings Storage renders the seeded shared model directory @windows @macos @linux', async () => { - await openTitleMenu(ctx.titleBar) - await popup.waitForVisible('[role="menuitem"]', { timeout: 5_000 }) - expect(await popup.clickByText('[role="menuitem"]', 'Desktop Settings')).toBe(true) - await popup.waitForVisible('.global-settings', { timeout: 5_000 }) + await openDesktopSettings(ctx.app, ctx.panel) expect(await popup.clickByText('.gs-tab', 'Storage')).toBe(true) await popup.waitFor( async () => (await popup.allText('.models-dir-name')).includes(defaultModelsDir), diff --git a/e2e/support/chooserHelpers.ts b/e2e/support/chooserHelpers.ts index 8b19d6b23..4ccf04b4f 100644 --- a/e2e/support/chooserHelpers.ts +++ b/e2e/support/chooserHelpers.ts @@ -65,6 +65,18 @@ export async function openTitleMenu(titleBar: WebContentsPage): Promise { expect(ok, 'Title menu button click dispatched').toBe(true) } +export async function openDesktopSettings( + app: ElectronApplication, + panel: WebContentsPage +): Promise { + const selector = '[data-testid="app-sidebar-settings"]' + await panel.waitForVisible(selector) + expect(await panel.click(selector), 'Desktop Settings clicked in the sidebar').toBe(true) + const popup = titlePopupPage(app) + await popup.waitForVisible('.global-settings', { timeout: 10_000 }) + return popup +} + export async function pickFromTitleMenu( app: ElectronApplication, titleBar: WebContentsPage, diff --git a/src/main/popups/titlePopup.test.ts b/src/main/popups/titlePopup.test.ts index 23a9d616e..e0340077d 100644 --- a/src/main/popups/titlePopup.test.ts +++ b/src/main/popups/titlePopup.test.ts @@ -132,28 +132,25 @@ describe('buildTitlePopupMenuItems', () => { }) it.each([null, 'inst-1'] as const)( - 'lists the tools, settings and window actions on host %s', + 'lists the tools and window actions on host %s', (installationId) => { const items = buildTitlePopupMenuItems(makeEntry({ installationId })) expect(items.map((item) => item.id ?? 'separator')).toEqual([ 'performance-test', 'benchmarks', 'separator', - 'settings', - 'separator', 'exit-window', 'close-all-windows' ]) } ) - it('install host lists Reset Zoom after Settings when zoomed', () => { + it('install host lists Reset Zoom after the tools when zoomed', () => { const items = buildTitlePopupMenuItems(makeEntry({ installationId: 'inst-1', zoomLevel: 2 })) const ids = items.map((i) => i.id ?? null).filter((id) => id !== null) expect(ids).toEqual([ 'performance-test', 'benchmarks', - 'settings', 'reset-zoom', 'exit-window', 'close-all-windows' diff --git a/src/main/popups/titlePopup.ts b/src/main/popups/titlePopup.ts index 0e422ac35..f2ad99abf 100644 --- a/src/main/popups/titlePopup.ts +++ b/src/main/popups/titlePopup.ts @@ -486,13 +486,7 @@ export function buildTitlePopupMenuItems(entry: ComfyWindowEntry): TitlePopupMen label: 'Performance Tests', labelKey: 'fileMenu.performanceTest' }, - { id: 'benchmarks', label: 'Benchmarks', labelKey: 'fileMenu.benchmarks' }, - { kind: 'separator' }, - { - id: 'settings', - label: 'Desktop Settings', - labelKey: 'fileMenu.globalSettings' - } + { id: 'benchmarks', label: 'Benchmarks', labelKey: 'fileMenu.benchmarks' } ] if (entry.installationId !== null && !entry.comfyView.webContents.isDestroyed()) { const level = entry.comfyView.webContents.getZoomLevel() @@ -1219,16 +1213,6 @@ export function activateTitlePopupMenuItem( const parentWindow = parentEntry && !parentEntry.window.isDestroyed() ? parentEntry.window : null void bindings.confirmAndCloseAllHostWindows(parentWindow) - } else if (id === 'settings') { - if (parentEntry && !parentEntry.window.isDestroyed()) { - openGlobalSettingsForHost( - parentEntry, - entry.parentEntryId, - bindings, - parentEntry.titleBarView.webContents - ) - } - return } else if (id === 'skip-onboarding') { if (parentEntry?.panelView && !parentEntry.panelView.webContents.isDestroyed()) { parentEntry.panelView.webContents.send('comfy-panel:first-use-skip') diff --git a/src/renderer/src/panel/AppSidebar.test.ts b/src/renderer/src/panel/AppSidebar.test.ts index 525e361b8..1cba60d69 100644 --- a/src/renderer/src/panel/AppSidebar.test.ts +++ b/src/renderer/src/panel/AppSidebar.test.ts @@ -25,6 +25,7 @@ const NEW = build({ id: 'new', name: 'Video Lab', lastLaunchedAt: 300 }) const TEAM = build({ id: 'team', name: 'Team Build', lastLaunchedAt: 400, workspaceId: 'ws-team' }) const navigatePanel = vi.fn() +const openGlobalSettings = vi.fn() const getAppsEnabled = vi.fn<() => Promise>() beforeEach(() => { @@ -33,6 +34,7 @@ beforeEach(() => { getAppsEnabled.mockResolvedValue(false) ;(window as unknown as { api: unknown }).api = { navigatePanel, + openGlobalSettings, getAppsEnabled, getInstallations: vi.fn().mockResolvedValue([]), onInstallationsChanged: vi.fn(() => () => {}), @@ -153,6 +155,36 @@ describe('AppSidebar', () => { expect(navigatePanel).toHaveBeenCalledExactlyOnceWith('home') }) + it('opens Desktop Settings above the account section without changing pages', async () => { + const wrapper = await mountSidebar('assets') + const settings = wrapper.get('[data-testid="app-sidebar-settings"]') + + expect(settings.text()).toBe('Desktop Settings') + expect(settings.attributes('aria-haspopup')).toBe('dialog') + expect(settings.element.closest('nav')).toBeNull() + expect(settings.element.nextElementSibling?.classList.contains('sidebar-account')).toBe(true) + + await settings.trigger('click') + + expect(openGlobalSettings).toHaveBeenCalledExactlyOnceWith() + expect(navigatePanel).not.toHaveBeenCalled() + expect(wrapper.findAll('[aria-current="page"]').map((row) => row.text())).toEqual(['Assets']) + }) + + it('keeps Desktop Settings accessible as an icon when the sidebar is collapsed', async () => { + const wrapper = await mountSidebar() + + await wrapper.get('[data-testid="app-sidebar-toggle"]').trigger('click') + const settings = wrapper.get('[data-testid="app-sidebar-settings"]') + expect(settings.text()).toBe('') + expect(settings.attributes('aria-label')).toBe('Desktop Settings') + expect(settings.attributes('title')).toBe('Desktop Settings') + + await settings.trigger('click') + + expect(openGlobalSettings).toHaveBeenCalledExactlyOnceWith() + }) + it('collapses to icons with tooltips and stays collapsed when reopened', async () => { const wrapper = await mountSidebar() const home = wrapper.get('[data-testid="app-sidebar-home"]') diff --git a/src/renderer/src/panel/AppSidebar.vue b/src/renderer/src/panel/AppSidebar.vue index ecc49da2c..a122f2fcb 100644 --- a/src/renderer/src/panel/AppSidebar.vue +++ b/src/renderer/src/panel/AppSidebar.vue @@ -11,7 +11,8 @@ import { Laptop, LoaderCircle, Plus, - Server + Server, + Settings } from '@lucide/vue' import type { Component } from 'vue' import Button from '@comfyorg/design-system/button/Button' @@ -134,6 +135,10 @@ function navigate(page: DashboardPage): void { emit('navigate', page) window.api.navigatePanel(page) } + +function openSettings(): void { + window.api.openGlobalSettings() +} - +
+ + +
From be0b99872e57fa807122dde2c4d2a6dff7572005 Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Sun, 15 Nov 2026 22:57:54 -0800 Subject: [PATCH 2/3] fix(sidebar): record Desktop Settings opens from the sidebar The hamburger entry was counted as comfy.desktop.title_menu.item_clicked with item_id settings. With that entry gone, opening Desktop Settings sent no event at all. The sidebar button now sends comfy.desktop.sidebar.settings_opened with from_page, next to the existing comfy.desktop.sidebar.page_opened. --- src/renderer/src/panel/AppSidebar.test.ts | 13 +++++++++++++ src/renderer/src/panel/AppSidebar.vue | 2 ++ 2 files changed, 15 insertions(+) diff --git a/src/renderer/src/panel/AppSidebar.test.ts b/src/renderer/src/panel/AppSidebar.test.ts index 1cba60d69..83aefd68d 100644 --- a/src/renderer/src/panel/AppSidebar.test.ts +++ b/src/renderer/src/panel/AppSidebar.test.ts @@ -6,6 +6,7 @@ import AppSidebar from './AppSidebar.vue' import { useDashboardScopeStore } from '../stores/dashboardScopeStore' import { useInstallationStore } from '../stores/installationStore' import { useSessionStore } from '../stores/sessionStore' +import { TELEMETRY_ACTION_EVENT_NAME, type TelemetryActionEventDetail } from '../lib/telemetry' import type { DashboardPage, Installation } from '../types/ipc' function build(over: Partial & { id: string; name: string }): Installation { @@ -164,9 +165,21 @@ describe('AppSidebar', () => { expect(settings.element.closest('nav')).toBeNull() expect(settings.element.nextElementSibling?.classList.contains('sidebar-account')).toBe(true) + const events: TelemetryActionEventDetail[] = [] + const record: EventListener = (event) => { + events.push((event as CustomEvent).detail) + } + window.addEventListener(TELEMETRY_ACTION_EVENT_NAME, record) await settings.trigger('click') + window.removeEventListener(TELEMETRY_ACTION_EVENT_NAME, record) expect(openGlobalSettings).toHaveBeenCalledExactlyOnceWith() + expect(events).toEqual([ + expect.objectContaining({ + actionName: 'comfy.desktop.sidebar.settings_opened', + context: { from_page: 'assets' } + }) + ]) expect(navigatePanel).not.toHaveBeenCalled() expect(wrapper.findAll('[aria-current="page"]').map((row) => row.text())).toEqual(['Assets']) }) diff --git a/src/renderer/src/panel/AppSidebar.vue b/src/renderer/src/panel/AppSidebar.vue index a122f2fcb..eacf5bc1e 100644 --- a/src/renderer/src/panel/AppSidebar.vue +++ b/src/renderer/src/panel/AppSidebar.vue @@ -27,6 +27,7 @@ import { useProgressStore } from '../stores/progressStore' import { useDashboardScopeStore } from '../stores/dashboardScopeStore' import { useInstallationStore } from '../stores/installationStore' import { useSessionStore } from '../stores/sessionStore' +import { emitTelemetryAction } from '../lib/telemetry' import { isInstallationInWorkspace } from '../../../shared/workspaces' import type { DashboardPage, Installation } from '../types/ipc' @@ -137,6 +138,7 @@ function navigate(page: DashboardPage): void { } function openSettings(): void { + emitTelemetryAction('comfy.desktop.sidebar.settings_opened', { from_page: activePage }) window.api.openGlobalSettings() } From 656227a0ce28460b88f9ede2baf6e3d2b1db0990 Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Sun, 15 Nov 2026 23:06:19 -0800 Subject: [PATCH 3/3] fix(title-menu): keep Desktop Settings in the hamburger on build windows A build window shows ComfyUI full-width and hides the panel, so it has no sidebar. Removing Desktop Settings from the hamburger everywhere left a build window with no direct way to open it: the person had to go back to a dashboard window first. The dashboard window keeps the DESK-294 behaviour: Desktop Settings lives in the sidebar and not in the hamburger. A build window lists it in the hamburger again, in its old place after the tools. --- src/main/popups/titlePopup.test.ts | 39 +++++++++++++++++++----------- src/main/popups/titlePopup.ts | 16 ++++++++++++ 2 files changed, 41 insertions(+), 14 deletions(-) diff --git a/src/main/popups/titlePopup.test.ts b/src/main/popups/titlePopup.test.ts index e0340077d..fdac8828a 100644 --- a/src/main/popups/titlePopup.test.ts +++ b/src/main/popups/titlePopup.test.ts @@ -131,26 +131,37 @@ describe('buildTitlePopupMenuItems', () => { expect(items[0]).toMatchObject({ id: 'skip-onboarding' }) }) - it.each([null, 'inst-1'] as const)( - 'lists the tools and window actions on host %s', - (installationId) => { - const items = buildTitlePopupMenuItems(makeEntry({ installationId })) - expect(items.map((item) => item.id ?? 'separator')).toEqual([ - 'performance-test', - 'benchmarks', - 'separator', - 'exit-window', - 'close-all-windows' - ]) - } - ) + it('chooser host leaves Desktop Settings to the sidebar', () => { + const items = buildTitlePopupMenuItems(makeEntry({ installationId: null })) + expect(items.map((item) => item.id ?? 'separator')).toEqual([ + 'performance-test', + 'benchmarks', + 'separator', + 'exit-window', + 'close-all-windows' + ]) + }) + + it('install host keeps Desktop Settings because it has no sidebar', () => { + const items = buildTitlePopupMenuItems(makeEntry({ installationId: 'inst-1' })) + expect(items.map((item) => item.id ?? 'separator')).toEqual([ + 'performance-test', + 'benchmarks', + 'separator', + 'settings', + 'separator', + 'exit-window', + 'close-all-windows' + ]) + }) - it('install host lists Reset Zoom after the tools when zoomed', () => { + it('install host lists Reset Zoom after Desktop Settings when zoomed', () => { const items = buildTitlePopupMenuItems(makeEntry({ installationId: 'inst-1', zoomLevel: 2 })) const ids = items.map((i) => i.id ?? null).filter((id) => id !== null) expect(ids).toEqual([ 'performance-test', 'benchmarks', + 'settings', 'reset-zoom', 'exit-window', 'close-all-windows' diff --git a/src/main/popups/titlePopup.ts b/src/main/popups/titlePopup.ts index f2ad99abf..e8e0b87bb 100644 --- a/src/main/popups/titlePopup.ts +++ b/src/main/popups/titlePopup.ts @@ -488,6 +488,12 @@ export function buildTitlePopupMenuItems(entry: ComfyWindowEntry): TitlePopupMen }, { id: 'benchmarks', label: 'Benchmarks', labelKey: 'fileMenu.benchmarks' } ] + if (entry.installationId !== null) { + items.push( + { kind: 'separator' }, + { id: 'settings', label: 'Desktop Settings', labelKey: 'fileMenu.globalSettings' } + ) + } if (entry.installationId !== null && !entry.comfyView.webContents.isDestroyed()) { const level = entry.comfyView.webContents.getZoomLevel() if (level !== 0) { @@ -1213,6 +1219,16 @@ export function activateTitlePopupMenuItem( const parentWindow = parentEntry && !parentEntry.window.isDestroyed() ? parentEntry.window : null void bindings.confirmAndCloseAllHostWindows(parentWindow) + } else if (id === 'settings') { + if (parentEntry && !parentEntry.window.isDestroyed()) { + openGlobalSettingsForHost( + parentEntry, + entry.parentEntryId, + bindings, + parentEntry.titleBarView.webContents + ) + } + return } else if (id === 'skip-onboarding') { if (parentEntry?.panelView && !parentEntry.panelView.webContents.isDestroyed()) { parentEntry.panelView.webContents.send('comfy-panel:first-use-skip')