mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-06 16:31:12 +08:00
feat: enhance dialog and drawer components with new styles and functionality
- Updated Dialog component to support fullscreen mode and added a back button. - Introduced Drawer component for side navigation with customizable size and position. - Added DialogStyleContext for managing dialog style preferences including smart mode and drawer settings. - Implemented pending question service for managing persistent storage of pending questions. - Enhanced WebSocket handling to request pending questions upon frontend readiness. - Created dashboard launcher utility to manage the Dashboard server lifecycle.
This commit is contained in:
@@ -440,6 +440,12 @@ export function useWebSocket(options: UseWebSocketOptions = {}): UseWebSocketRet
|
||||
s.setWsStatus('connected');
|
||||
s.resetReconnectAttempts();
|
||||
reconnectDelayRef.current = RECONNECT_DELAY_BASE;
|
||||
|
||||
// Request any pending questions from backend
|
||||
ws.send(JSON.stringify({
|
||||
type: 'FRONTEND_READY',
|
||||
payload: { action: 'requestPendingQuestions' }
|
||||
}));
|
||||
};
|
||||
|
||||
ws.onmessage = handleMessage;
|
||||
|
||||
Reference in New Issue
Block a user