feat: global error fallback and e2e (#91)

* fix(ui): add global route fallback with error toast and retry

* test(e2e): cover cloud accounts error fallback UI
This commit is contained in:
vin authored and GitHub committed 2026-02-11 02:25:10 +08:00
1 parent bcca5ec935
commit b89dd2c3bb
6 files changed
+141 -8

No files matched your search

+1 -1
View File
@@ -199,7 +199,7 @@ function createWindow({ startHidden }: { startHidden: boolean }) {
ipcContext.setMainWindow(mainWindow);
logger.info('createWindow: setMainWindow done');
if (MAIN_WINDOW_VITE_DEV_SERVER_URL) {
if (inDevelopment && MAIN_WINDOW_VITE_DEV_SERVER_URL) {
logger.info(`createWindow: loading URL ${MAIN_WINDOW_VITE_DEV_SERVER_URL}`);
mainWindow.loadURL(MAIN_WINDOW_VITE_DEV_SERVER_URL);
} else {