[Electron] Add basic welcome screen (#1491)

* WIP

* Add LogTerminal

* Modify server startup view

* Add installView

* Add basic welcome screen and dev server setup

* nit

* nit

* nit

* nit

* nit
This commit is contained in:
Chenlei Hu
2024-11-10 09:41:32 -05:00
committed by GitHub
parent 31fac3873c
commit d9a34872c3
11 changed files with 216 additions and 15 deletions

View File

@@ -1784,6 +1784,8 @@ export class ComfyApp {
*/
async setup(canvasEl: HTMLCanvasElement) {
this.canvasEl = canvasEl
// Show menu container for GraphView.
this.ui.menuContainer.style.display = 'block'
await this.#setUser()
this.resizeCanvas()

View File

@@ -636,6 +636,8 @@ export class ComfyUI {
}
})
]) as HTMLDivElement
// Hide by default on construction so it does not interfere with other views.
this.menuContainer.style.display = 'none'
this.restoreMenuPosition = dragElement(this.menuContainer, this.settings)