ui.shell_warm¶
Small Electron main-process helpers for loading a lightweight data: placeholder
into the pill BrowserWindow while the FastAPI sidecar starts, so renderer
startup overlaps PyInstaller cold-start without eagerly creating label/panel popup
windows.
Source¶
API¶
shellLoadingDataUrl()— returns adata:text/html;charset=utf-8,…URL with a minimal “Loading…” page.warmPillWindow(pill)—loadURLthat placeholder into the given pill window only.
Integration¶
- Used by
electron/main.tsduring startup, in parallel withwaitForShell. - Startup UX for the full shell is documented in
electron_shell.
Tests¶
electron/shell_warm.test.js (run make electron-test).