How samriddhie/callingdashboard works
CallDesk is a calling dashboard for customer outreach: an agent signs in, selects customers from CRM-backed views, records an attributed call and required disposition, then reviews structured facts extracted from notes. The React app coordinates these workflows; call records and customer/cat facts remain browser-local, while the Express service authenticates users and reads CRM data. The README also documents follow-up queues, history, subscriptions, customer/order context, GoKwik engagement, and optional AI briefs. Some secondary UI wiring is inferred only from documented capabilities; unsampled implementation details are not asserted.
Main entry points: App.jsx App router · index.js Express API · api.js API client · CustomerDetailPage.jsx Customer detail
Components 28
Calling workspace
- App router
src/App.jsx - Sign-in screen
src/components/LoginScreen.jsx - Session context
src/auth/AuthContext.jsx - Dashboard
src/pages/DashboardPage.jsx - Calling queues
src/pages/CallQueuePage.jsx - Priority queue
src/pages/PriorityQueue.jsx - Customer directory
src/pages/CustomersPage.jsx - Customer detail
src/pages/CustomerDetailPage.jsx - Call history
src/pages/HistoryPage.jsx - Subscriptions
src/pages/SubscriptionsPage.jsx - Call capture
src/components/CallModal.jsx - Extraction review
src/components/ExtractionReview.jsx - Customer context
src/components/CustomerContext.jsx - Engagement panel
src/components/EngagementPanel.jsx - Orders panel
src/components/OrdersPanel.jsx - Shopify summary
src/components/ShopifySummary.jsx
Client data
- Domain state
src/data/DataContext.jsx - Browser storage
src/data/storage.js - Note extractor
src/data/extract.js - API client
src/data/api.js
Backend services
- Express API
server/index.js - Session security
server/auth.js - CRM queries
server/crm.js - GoKwik queries
server/gokwik.js
External systems
- CRM database
- Anthropic API
- Google sign-in
Other components
- Calling agent
Connections 31
- Calling agent → App router: uses
src/App.jsx - App router → Sign-in screen: shows when signed out
src/App.jsx - App router → Session context: checks identity
src/App.jsx - App router → Dashboard: routes to
src/App.jsx - App router → Calling queues: routes to
src/App.jsx - App router → Customer directory: routes to
src/App.jsx - App router → Customer detail: opens customer
src/App.jsx - App router → Call history: routes to
src/App.jsx - App router → Subscriptions: routes to
src/App.jsx - Calling queues → Priority queue: renders
src/pages/CallQueuePage.jsx - Customer directory → API client: fetches CRM customers
src/pages/CustomersPage.jsx - Customer detail → Customer context: renders
src/pages/CustomerDetailPage.jsx - Customer detail → Engagement panel: renders
src/pages/CustomerDetailPage.jsx - Customer detail → Orders panel: renders
README.md - Customer detail → Shopify summary: renders
src/pages/CustomerDetailPage.jsx - Calling agent → Call capture: records call
README.md - Call capture → Note extractor: extracts note facts
src/components/CallModal.jsx - Note extractor → API client: requests AI extraction
README.md - Call capture → Extraction review: reviews extracted facts
src/components/CallModal.jsx - Call capture → Domain state: completes disposition
src/components/CallModal.jsx - Domain state → Browser storage: persists local data
README.md - Session context → API client: sends session requests
src/auth/AuthContext.jsx - API client → Express API: calls API routes
README.md - Express API → Session security: enforces sessions
README.md - Express API → CRM queries: dispatches CRM queries
server/index.js - CRM queries → CRM database: reads CRM data
README.md - Express API → GoKwik queries: dispatches engagement
server/index.js - Express API → Anthropic API: requests note extraction
server/index.js - Express API → Google sign-in: verifies ID token
server/index.js - API client → GoKwik queries: requests engagement
src/data/api.js - API client → Express API: requests pre-call brief
src/data/api.js