How paarth-goela/nexusflow-ticket-triager works
NexusFlow is a multi-team ticket-management web app: customers submit and track issues, while operations, factory, and logistics teams review and act on shared tickets. The sampled ticket context loads demo data or authenticated Supabase records and persists changes; its creation path explicitly uses simulated triage rather than a real AI service. The README also describes AI-powered routing and AWS, but no sampled implementation establishes those integrations, so they are shown only as unverified. Several page implementations were not sampled, so some portal links rely on README claims.
Main entry points: ticket-context.tsx Ticket state · page.tsx Portal entry · client.ts Browser client · department-portal.tsx Department views
Components 22
Portals & dashboards
- Portal entry
nexusflow/apps/web/src/app/page.tsx - Customer portal
nexusflow/apps/web/src/app/customer/page.tsx - Operations hub
nexusflow/apps/web/src/app/operations/page.tsx - Factory hub
nexusflow/apps/web/src/app/factory/page.tsx - Logistics hub
nexusflow/apps/web/src/app/logistics/page.tsx - Department views
nexusflow/apps/web/src/components/portal/department-portal.tsx
Ticket workflow
- Ticket queue
nexusflow/apps/web/src/components/dashboard/ticket-table.tsx - Ticket details
nexusflow/apps/web/src/components/tickets/ticket-detail-panel.tsx - Ticket state
nexusflow/apps/web/src/lib/ticket-context.tsx - Simulated triage
nexusflow/apps/web/src/lib/ticket-context.tsx
Authentication
- Sign-in & signup
nexusflow/apps/web/src/components/auth/auth-form.tsx - Access gate
nexusflow/apps/web/src/components/auth/auth-gate.tsx - Session proxy
nexusflow/apps/web/src/proxy.ts - Auth callback
nexusflow/apps/web/src/app/auth/callback/route.ts
Data & integrations
- Demo tickets
nexusflow/apps/web/src/lib/mock-data.ts - Browser client
nexusflow/apps/web/src/lib/supabase/client.ts - Server client
nexusflow/apps/web/src/lib/supabase/server.ts
Other components
- Customer
- Internal teams
- Supabase
- OpenAI service
- AWS services
Connections 25
- Customer → Portal entry: opens
nexusflow/apps/web/src/app/page.tsx - Internal teams → Portal entry: opens
nexusflow/apps/web/src/app/page.tsx - Portal entry → Customer portal: links to
nexusflow/apps/web/src/app/page.tsx - Portal entry → Operations hub: links to
nexusflow/apps/web/src/app/page.tsx - Portal entry → Factory hub: links to
nexusflow/apps/web/src/app/page.tsx - Portal entry → Logistics hub: links to
nexusflow/apps/web/src/app/page.tsx - Customer portal → Ticket state: uses tickets
- Operations hub → Ticket queue: shows queue
- Factory hub → Department views: renders
- Logistics hub → Department views: renders
- Department views → Ticket details: opens details
nexusflow/apps/web/src/components/portal/department-portal.tsx - Ticket queue → Ticket details: opens details
nexusflow/apps/web/src/components/dashboard/ticket-table.tsx - Ticket details → Ticket state: updates tickets
nexusflow/apps/web/src/components/tickets/ticket-detail-panel.tsx - Ticket state → Demo tickets: initializes from
nexusflow/apps/web/src/lib/ticket-context.tsx - Ticket state → Browser client: creates client
nexusflow/apps/web/src/lib/ticket-context.tsx - Ticket state → Supabase: reads and writes
nexusflow/apps/web/src/lib/ticket-context.tsx - Ticket state → Simulated triage: sets simulated summary
nexusflow/apps/web/src/lib/ticket-context.tsx - Sign-in & signup → Browser client: uses
- Access gate → Browser client: checks user
nexusflow/apps/web/src/components/auth/auth-gate.tsx - Session proxy → Supabase: checks claims
nexusflow/apps/web/src/proxy.ts - Auth callback → Server client: uses
- Browser client → Supabase: connects to
nexusflow/apps/web/src/lib/supabase/client.ts - Server client → Supabase: connects to
nexusflow/apps/web/src/lib/supabase/server.ts - Ticket state → OpenAI service: future integration
- Ticket state → AWS services: possible hosting