fix: render optimistic first-message UI before workspace server start
2 months ago
13 files changed
- apps/desktop/src/app/store.actions/thread.ts+209−125
- apps/desktop/src/app/store.actions/workspaceDefaults.ts+9−3
- apps/desktop/src/app/store.helpers/controlSocket.ts+8−1
- apps/desktop/src/app/store.helpers/threadEventReducer/handlers/index.ts+2−2
- apps/desktop/src/app/store.helpers/threadEventReducer/handlers/lifecycleHandlers.ts+5−2
- apps/desktop/src/app/store.helpers/threadEventReducer/handlers/shared.ts+1−1
- apps/desktop/src/app/store.helpers/threadEventReducer/messaging.ts+4−4
- apps/desktop/src/app/store.helpers/threadEventReducer/workspaceState.ts+10−3
- apps/desktop/src/ui/chat/NewChatLanding.tsx+8−2
- apps/desktop/test/jsonrpc-single-connection.test.ts+3−3
- apps/desktop/test/thread-reconnect.test.ts+73−0
- apps/desktop/test/workspace-settings-sync.threadApply.test.ts+15−3
- apps/desktop/test/workspace-startup.test.ts+64−1