How mhd-muzammil/opencall works
OpenCall is an operational service-call reporting frontend with desktop administration and mobile reporting views. The main workflow is users reviewing and filtering daily call reports, uploading source reports, previewing matches, and generating or editing reports; adjacent capabilities include closed-call reconciliation, live tracking, productivity, quotations, renewals, warranty, and engineer/status administration. The graph follows relationships stated by the SOURCE INDEX and excerpts; several feature pages are unsampled, so their connections are omitted rather than inferred.
Main entry points: apiClient.ts API Facade · page.tsx Report Dashboard · openCallApiClient.ts OpenCall Client · webApiClient.ts Web API Client
Components 26
Call Reporting
- Report Dashboard
opencall-frontend/frontend/src/app/page.tsx - Mobile Reports
opencall-frontend/frontend/src/app/m/useMobileReport.ts - Report History
opencall-frontend/frontend/src/lib/reportHistorySelection.ts
Operational Features
- Live Tracking
opencall-frontend/frontend/src/features/dashboard/components/LiveTrackingPanel.tsx - Quotations
opencall-frontend/frontend/src/app/m/quotations/page.tsx - Renewal Pipeline
opencall-frontend/frontend/src/features/dashboard/components/RenewalPipelinePage.tsx - Warranty Manager
opencall-frontend/frontend/src/components/WarrantyLookupManager.tsx - Closed-Call Warranty
opencall-frontend/frontend/src/features/dashboard/components/ClosedCallWarrantyPanel.tsx - Engineer Targets
opencall-frontend/frontend/src/features/dashboard/components/EngineerTargetTab.tsx - Target Analysis
opencall-frontend/frontend/src/features/dashboard/components/engineerTargetMath.ts
Administration
- Engineer Administration
opencall-frontend/frontend/src/app/admin/engineers/page.tsx - Region Counts
opencall-frontend/frontend/src/lib/engineerRegionCounts.ts - RTPL Status Admin
opencall-frontend/frontend/src/components/AdminRtplStatusesManager.tsx
API Access
- Session Store
opencall-frontend/frontend/src/lib/session.ts - API Facade
opencall-frontend/frontend/src/lib/apiClient.ts - OpenCall Client
opencall-frontend/frontend/src/lib/api/openCallApiClient.ts - HTTP Client
opencall-frontend/frontend/src/lib/api/http.ts - Web API Client
opencall-frontend/frontend/src/lib/api/webApiClient.ts - Renewal API Client
opencall-frontend/frontend/src/lib/renewalApiClient.ts - Warranty API Client
opencall-frontend/frontend/src/lib/warrantyApiClient.ts - Engineer Target Client
opencall-frontend/frontend/src/lib/engineerTargetApiClient.ts
Shared Analytics
- Engineer Productivity
opencall-frontend/shared/src/analytics/engineerProductivity.ts - Scheduling Rules
opencall-frontend/shared/src/constants/scheduling.ts - Status Buckets
opencall-frontend/shared/src/constants/statusBuckets.ts
Other components
- Operator
- OpenCall API
Connections 24
- Operator → Report Dashboard: reviews reports
- Report Dashboard → API Facade: requests report data
opencall-frontend/frontend/src/app/page.tsx - Report Dashboard → Live Tracking: renders
opencall-frontend/frontend/src/app/page.tsx - Mobile Reports → API Facade: requests reports
opencall-frontend/frontend/src/app/m/useMobileReport.ts - Mobile Reports → Report History: selects history
opencall-frontend/frontend/src/app/m/useMobileReport.ts - Renewal Pipeline → Renewal API Client: requests renewals
opencall-frontend/frontend/src/features/dashboard/components/RenewalPipelinePage.tsx - Warranty Manager → Warranty API Client: manages jobs
opencall-frontend/frontend/src/components/WarrantyLookupManager.tsx - Warranty Manager → Closed-Call Warranty: renders panel
opencall-frontend/frontend/src/components/WarrantyLookupManager.tsx - Engineer Targets → Engineer Target Client: loads targets
opencall-frontend/frontend/src/features/dashboard/components/EngineerTargetTab.tsx - Engineer Targets → Target Analysis: analyses results
opencall-frontend/frontend/src/features/dashboard/components/EngineerTargetTab.tsx - Engineer Administration → API Facade: manages engineers
opencall-frontend/frontend/src/app/admin/engineers/page.tsx - Engineer Administration → Region Counts: counts regions
opencall-frontend/frontend/src/app/admin/engineers/page.tsx - RTPL Status Admin → API Facade: manages statuses
opencall-frontend/frontend/src/components/AdminRtplStatusesManager.tsx - API Facade → OpenCall Client: delegates calls
opencall-frontend/frontend/src/lib/apiClient.ts - API Facade → Web API Client: delegates calls
opencall-frontend/frontend/src/lib/apiClient.ts - OpenCall Client → HTTP Client: parses responses
opencall-frontend/frontend/src/lib/api/openCallApiClient.ts - Web API Client → HTTP Client: parses responses
- OpenCall Client → OpenCall API: calls endpoints
opencall-frontend/frontend/src/lib/api/openCallApiClient.ts - Web API Client → OpenCall API: calls endpoints
- Engineer Productivity → Scheduling Rules: checks statuses
opencall-frontend/shared/src/analytics/engineerProductivity.ts - Engineer Productivity → Status Buckets: maps statuses
opencall-frontend/shared/src/analytics/engineerProductivity.ts - Renewal API Client → OpenCall API: requests pipeline data
- Warranty API Client → OpenCall API: requests warranty data
- Engineer Target Client → OpenCall API: requests target data
opencall-frontend/frontend/src/lib/engineerTargetApiClient.ts