How sarthakdhabale2006-dev/resq---ai works
RESQ-AI is a simulated emergency-operations coordination interface. An operator enters the command workspace, reviews the dashboard’s incident and zone picture, inspects zone dossiers and resource recommendations, then reviews and authorizes a phased response plan or manages incident reports. App owns shared session and operational state; screen components render and update that state. Data is initialized from mock fixtures, not a demonstrated backend. The map, telemetry, AI, and dispatch capabilities are represented in the UI; excerpts do not establish live external integrations.
Main entry points: App.tsx App State & Routing · DashboardScreen.tsx Operations Dashboard · types.ts Operational Types · LoginScreen.tsx Command Login
Components 16
Command Workspace
- App State & Routing
src/App.tsx - Command Login
src/components/LoginScreen.tsx - Navigation Header
src/components/Header.tsx - Tactical Audio
src/components/TacticalAudio.ts
Situation Assessment
- Operations Dashboard
src/components/DashboardScreen.tsx - Disaster Map
src/components/DisasterMap.tsx - AI Priority Analysis
src/components/AIPriorityAnalysis.tsx - AI Insights
src/components/AIInsightsPanel.tsx - Live Incident Feed
src/components/LiveIncidentFeed.tsx - Zone Dossier
src/components/ZoneDetailsScreen.tsx - Incident Reports
src/components/IncidentReportsScreen.tsx
Response Operations
- Resource Allocation
src/components/ResourceAllocation.tsx - Response Planning
src/components/ResponsePlanningScreen.tsx
Domain Model
- Initial Disaster Data
src/data/mockDisasterData.ts - Operational Types
src/types.ts
Other components
- Operator
Connections 19
- Operator → Command Login: enters credentials
src/components/LoginScreen.tsx - Command Login → App State & Routing: authorizes session
src/App.tsx - Operator → App State & Routing: uses workspace
src/App.tsx - Initial Disaster Data → App State & Routing: initializes state
src/App.tsx - App State & Routing → Navigation Header: renders and supplies state
src/App.tsx - App State & Routing → Operations Dashboard: routes and supplies state
src/App.tsx - App State & Routing → Zone Dossier: routes and supplies state
src/App.tsx - App State & Routing → Response Planning: routes and supplies state
src/App.tsx - App State & Routing → Incident Reports: routes and supplies state
src/App.tsx - Operations Dashboard → Disaster Map: renders
src/components/DashboardScreen.tsx - Operations Dashboard → AI Priority Analysis: renders
src/components/DashboardScreen.tsx - Operations Dashboard → Resource Allocation: renders
src/components/DashboardScreen.tsx - Operations Dashboard → Live Incident Feed: renders
src/components/DashboardScreen.tsx - Operations Dashboard → AI Insights: renders
src/components/DashboardScreen.tsx - App State & Routing → Operational Types: uses domain types
src/App.tsx - Operations Dashboard → Operational Types: uses domain types
src/components/DashboardScreen.tsx - Zone Dossier → Operational Types: uses domain types
src/types.ts - Incident Reports → Operational Types: uses domain types
src/components/IncidentReportsScreen.tsx - Response Planning → Operational Types: uses domain types
src/components/ResponsePlanningScreen.tsx