How optigo-app/support.optigo works
This is a React web application for operational call logging, ticket handling, delivery and training workflows, and order requests, with shared authentication, notifications, and PWA support. The source tree contains parallel v1 and v2 implementations; the graph uses v1 for documented domain workflows and includes the sampled v2 call-session persistence layer. The README is empty, so capability coverage comes from the source tree; edges are limited to relationships shown in excerpts or the SOURCE INDEX.
Main entry points: HeaderWrapper.jsx Navigation shell · index.js React application · AuthProvider.js Authentication · index.jsx Training workflow
Components 21
Application runtime
- React application
src/v1/index.js - Route entry
src/v1/Entry.js - Navigation shell
src/v1/components/_ui/HeaderWrapper.jsx
Calls and tickets
- Call logging
src/v1/components/CallLogger/CallLogger.jsx - Call API
src/v1/apis/CallLogApiController.js - Call session state
src/v2/hooks/useCallSession.js - Session storage
src/v2/utils/callSessionStorage.js - Ticket workspace
src/v1/components/TicketUi/index.js - Ticket API
src/v1/apis/TicketApiController.js
Operational workflows
- Delivery dashboard
src/v1/components/Delivery&Training/components/Delivery/index.jsx - Delivery state
src/v1/components/Delivery&Training/context/DeliveryProvider.js - Delivery API
src/v1/apis/DeliveryController.js - Training workflow
src/v1/components/Delivery&Training/components/Training/index.jsx - Training state
src/v1/components/Delivery&Training/context/TrainingProvider.js - Order requests
src/v1/components/PointToBeDiscuss/index.jsx - Order request state
src/v1/components/PointToBeDiscuss/context/usePointToDiscuss.js - Order request API
src/v1/apis/PointToBeDiscussController.js
Shared services
- Authentication
src/v1/components/Delivery&Training/context/AuthProvider.js - Notification preferences
src/v1/context/NotificationManager.js - PWA services
src/v1/pwa/index.js
Other components
- Staff user
Connections 22
- Staff user → React application: opens
src/v1/index.js - React application → Route entry: renders
src/v1/index.js - React application → PWA services: provides
src/v1/index.js - React application → Notification preferences: provides
src/v1/index.js - React application → Navigation shell: routes through
- Navigation shell → Call logging: opens
- Navigation shell → Ticket workspace: opens
- Navigation shell → Delivery dashboard: opens
src/v1/components/Delivery&Training/components/Delivery/index.jsx - Navigation shell → Training workflow: opens
src/v1/components/Delivery&Training/components/Training/index.jsx - Navigation shell → Order requests: opens
src/v1/components/PointToBeDiscuss/index.jsx - Call session state → Session storage: persists
src/v2/hooks/useCallSession.js - Authentication → Delivery API: initializes
src/v1/components/Delivery&Training/context/AuthProvider.js - Authentication → Training state: loads token
src/v1/components/Delivery&Training/context/AuthProvider.js - Authentication → Order request API: initializes
src/v1/components/Delivery&Training/context/AuthProvider.js - Delivery dashboard → Delivery state: uses state
src/v1/components/Delivery&Training/components/Delivery/index.jsx - Delivery state → Delivery API: requests data
src/v1/components/Delivery&Training/context/DeliveryProvider.js - Training workflow → Training state: uses state
src/v1/components/Delivery&Training/components/Training/index.jsx - Training state → Training workflow: loads API data
src/v1/components/Delivery&Training/context/TrainingProvider.js - Order requests → Order request state: uses state
src/v1/components/PointToBeDiscuss/Main.js - Order request state → Order request API: requests data
src/v1/components/PointToBeDiscuss/context/usePointToDiscuss.js - Call logging → Call API: requests data
- Ticket workspace → Ticket API: requests data