merge: integrate startup recovery states (#239)
2 months ago
Authored
Cursor AgentCo-authored-by: Max Weinbach <mweinbach@users.noreply.github.com>
Parentsc4c90a4d4a58fc
50 files changed
- .github/workflows/ci.yml+6−0
- apps/desktop/electron/ipc/system.ts+14−8
- apps/desktop/electron/ipc/types.ts+2−0
- apps/desktop/electron/main.ts+26−5
- apps/desktop/electron/qualityGateMain.ts+60−12
- apps/desktop/electron/services/appearance.ts+6−0
- apps/desktop/electron/services/appearancePreferences.ts+68−0
- apps/desktop/index.html
+39
−7
apps/desktop/quality-gates/fixtures.ts+37−11apps/desktop/quality-gates/renderer.tsx+2−1apps/desktop/quality-gates/runtime.ts+24−2apps/desktop/quality-gates/snapshots/first-paint-dark-1024-linux.png——apps/desktop/quality-gates/snapshots/first-paint-light-1024-linux.png——apps/desktop/quality-gates/snapshots/first-paint-system-1024-linux.png——apps/desktop/quality-gates/specs/journeys.pw.ts+158−37apps/desktop/quality-gates/specs/native-first-paint.pw.ts+44−0apps/desktop/src/App.tsx+41−18apps/desktop/src/app/composerDrafts.ts+19−0apps/desktop/src/app/creationDrafts.ts+33−0apps/desktop/src/app/store.actions/bootstrap.ts+80−34apps/desktop/src/app/store.actions/thread.ts+34−0apps/desktop/src/app/store.helpers.ts+3−0apps/desktop/src/app/store.ts+1−0apps/desktop/src/styles/tokens/native.ts+1−1apps/desktop/src/ui/ConnectionRecoveryBanner.tsx+92−0apps/desktop/src/ui/CrashReportingErrorBoundary.tsx+26−9apps/desktop/src/ui/chat/chatLogic.ts+1−1apps/desktop/src/ui/layout/PrimaryContent.tsx+44−35apps/desktop/src/ui/layout/SettingsContent.tsx+49−21apps/desktop/src/ui/menuBar/MenuBarUtilityShell.tsx+22−10apps/desktop/src/ui/quickChat/QuickChatShell.tsx+23−11apps/desktop/src/ui/recovery/RecoveryDiagnosticsActions.tsx+108−0apps/desktop/src/ui/recovery/StartupRecovery.tsx+86−0apps/desktop/src/ui/recovery/startupPresentation.ts+33−0apps/desktop/test/app-notifications-window-modes.test.tsx+1−1apps/desktop/test/appearance-preferences.test.ts+63−0apps/desktop/test/bootstrap-cache.test.ts+140−15apps/desktop/test/canvas-theme.test.ts+59−1apps/desktop/test/chat-reconnect-banner.test.ts+4−1apps/desktop/test/composer-drafts.test.ts+53−0apps/desktop/test/connection-recovery-banner.test.tsx+142−0apps/desktop/test/crash-reporting-error-boundary.test.tsx+4−1apps/desktop/test/inline-error-boundary.test.tsx+4−2apps/desktop/test/menu-bar-utility-shell.test.tsx+23−0apps/desktop/test/startup-presentation.test.ts+26−0apps/desktop/test/thread-reconnect.test.ts+65−0apps/desktop/test/window-appearance-paint.test.ts+11−0apps/desktop/test/window-enhancements.test.ts+2−2apps/desktop/test/workspace-settings-sync.init.test.ts+12−2package.json+1−0