How gargharshit304-lab/solar_installation_management_system works
SolarOS is an enterprise solar-installation operations app, organized around a customer-to-project workflow: sales captures inquiries, field staff survey sites, engineering reviews feasibility, and approved proposals become orders that proceed through inventory, dispatch, installation, warranty, and finance. Role-aware routing exposes these capabilities alongside owner administration, AI operations, and reporting. The README documents the domain workflow; source excerpts and the SOURCE INDEX support selected UI and state connections. Many page implementations were not sampled, so their internal calls are not inferred.
Main entry points: App.tsx Role-based routes · AppContext.tsx Application state · EngineeringDashboardPage.tsx Engineering review · SalesDashboardPage.tsx Sales CRM
Components 24
Sales and Surveys
- Sales CRM
src/pages/SalesDashboardPage.tsx - Customer profiles
src/pages/CustomersPage.tsx - Site surveys
src/pages/SiteSurveysPage.tsx - Field survey workspace
src/components/field/SiteSurveyWorkspaceModal.tsx - Engineering review
src/pages/engineering/EngineeringDashboardPage.tsx - Quotation builder
src/pages/QuotationsPage.tsx - Engineering decision
src/pages/engineering/EngineeringReviewModal.tsx - Technician dashboard
src/pages/field/FieldDashboardPage.tsx
Project Operations
- Orders and payments
src/pages/OrdersPaymentsPage.tsx - Inventory and serials
src/pages/InventoryPage.tsx - Material dispatch
src/pages/DispatchPage.tsx - Installation execution
src/pages/InstallationsPage.tsx - Warranty coverage
src/pages/WarrantyPage.tsx - Service complaints
src/pages/ServiceComplaintsPage.tsx
Business Management
- Workforce management
src/pages/WorkforcePage.tsx - Project finance
src/pages/FinancePage.tsx - Reports and KPIs
src/pages/ReportsPage.tsx - AI operations center
src/pages/AiCommandCenterPage.tsx - Owner administration
src/pages/owner/ApprovalsRequestsPage.tsx
Application Core
- Role-based routes
src/App.tsx - Application state
src/context/AppContext.tsx - Demo operational data
src/data/mockData.ts - Navigation and shell
src/components/layout/AppLayout.tsx
Other components
- SolarOS users
Connections 31
- SolarOS users → Role-based routes: uses
- Role-based routes → Sales CRM: routes to
src/App.tsx - Role-based routes → Site surveys: routes to
src/App.tsx - Role-based routes → Technician dashboard: routes to
src/App.tsx - Role-based routes → Engineering review: routes to
src/App.tsx - Sales CRM → Site surveys: requests survey
- Technician dashboard → Field survey workspace: opens workspace
src/pages/field/FieldDashboardPage.tsx - Site surveys → Engineering review: submits for review
- Engineering review → Engineering decision: opens review
src/pages/engineering/EngineeringDashboardPage.tsx - Engineering review → Quotation builder: approves feasibility
- Sales CRM → Quotation builder: creates proposals
src/pages/SalesDashboardPage.tsx - Quotation builder → Orders and payments: converts approved quote
- Orders and payments → Inventory and serials: allocates materials
- Inventory and serials → Material dispatch: supplies dispatch
- Material dispatch → Installation execution: delivers to site
- Material dispatch → Warranty coverage: starts coverage
- Installation execution → Project finance: records project costs
- Warranty coverage → Service complaints: informs coverage
- SolarOS users → Navigation and shell: navigates
- Navigation and shell → Role-based routes: hosts routes
src/components/layout/AppLayout.tsx - Role-based routes → Application state: provides state
src/App.tsx - Application state → Demo operational data: initializes from
src/context/AppContext.tsx - Sales CRM → Application state: reads and updates
src/pages/SalesDashboardPage.tsx - Customer profiles → Application state: reads and updates
src/pages/CustomersPage.tsx - Technician dashboard → Application state: reads and updates
src/pages/field/FieldDashboardPage.tsx - Engineering review → Application state: reads survey state
src/pages/engineering/EngineeringDashboardPage.tsx - Service complaints → Application state: reads service data
src/pages/ServiceComplaintsPage.tsx - SolarOS users → Owner administration: administers
- SolarOS users → Workforce management: manages workforce
- SolarOS users → Reports and KPIs: reviews reports
- SolarOS users → AI operations center: queries operations