How 11monther33-cell/menu-ai works
VISIONO is a restaurant-management and customer-facing digital-menu platform, with separate funnel, TableX, and iOS capture applications in the repository. The main customer workflow is opening a public menu, browsing dishes, and using its cart or 3D viewing features; restaurant users manage menus, branches, and POS operations through a dashboard. Authentication and admin tools support those workflows, while WhatsApp automation and 3D/AR capture are distinct capabilities. Edges rely on the App, PublicMenu, auth, POS, and iOS excerpts or indexed references; unsampled service wiring is not inferred.
Main entry points: Dashboard.tsx Restaurant dashboard · App.tsx Web app router · PublicMenu.tsx Public menu · useAuth.ts User authentication
Components 25
Customer Menu
- Public menu
src/pages/PublicMenu.tsx - Menu cart
src/components/menu/MenuCartSheet.tsx - AI menu chat
src/components/qr/AIChatDrawer.tsx
Restaurant Operations
- Restaurant dashboard
src/pages/restaurant/Dashboard.tsx - Menu management
src/pages/restaurant/pages/MenuBuilder.tsx - Dish editing
src/pages/restaurant/pages/DishFormPage.tsx - Branch management
src/pages/restaurant/pages/POSBranches.tsx - POS operations
src/services/posService.ts - WhatsApp sales
src/pages/restaurant/pages/WhatsAppSalesAgent.tsx
Platform Services
- Web app router
src/App.tsx - User authentication
src/hooks/useAuth.ts - Staff sessions
src/hooks/useStaffSession.ts - Admin dashboard
src/pages/admin/Dashboard.tsx - Supabase service
src/lib/supabase.ts - Asset storage
src/lib/storage.ts - WhatsApp service
src/services/whatsappService.ts - WhatsApp webhook
supabase/functions/whatsapp-webhook/index.ts
3D And Capture
- 3D dish viewer
src/components/3d/ThreeDViewerFull.tsx - iOS capture
ios-app/ARCodeCaptureApp/Features/Capture/ReconstructionManager.swift - Capture files
ios-app/ARCodeCaptureApp/Persistence/CaptureFileManager.swift - iOS API client
ios-app/ARCodeCaptureApp/Networking/APIClient.swift
Other Applications
- Funnel application
visiono-funnel/client/src/App.tsx - TableX API routes
tablexapp/src/lib/apiRoutes.ts
Other components
- Menu visitor
- Restaurant user
Connections 21
- Menu visitor → Web app router: opens
src/App.tsx - Web app router → Public menu: routes to
src/App.tsx - Restaurant user → Web app router: opens
src/App.tsx - Web app router → Restaurant dashboard: routes to
src/App.tsx - Restaurant dashboard → Menu management: loads
src/pages/restaurant/Dashboard.tsx - Restaurant dashboard → Dish editing: loads
src/pages/restaurant/Dashboard.tsx - Restaurant dashboard → Branch management: loads
src/pages/restaurant/Dashboard.tsx - Restaurant dashboard → WhatsApp sales: loads
src/pages/restaurant/Dashboard.tsx - Public menu → Menu cart: renders
src/pages/PublicMenu.tsx - Public menu → AI menu chat: renders
src/pages/PublicMenu.tsx - Public menu → 3D dish viewer: renders
src/pages/PublicMenu.tsx - User authentication → Supabase service: reads profile
src/hooks/useAuth.ts - POS operations → Supabase service: reads and writes
src/services/posService.ts - Restaurant dashboard → User authentication: uses
src/pages/restaurant/Dashboard.tsx - Restaurant dashboard → Staff sessions: uses
src/pages/restaurant/Dashboard.tsx - Admin dashboard → User authentication: uses
src/pages/admin/Dashboard.tsx - WhatsApp service → Supabase service: uses
src/services/whatsappService.ts - iOS capture → Capture files: stores captures
ios-app/ARCodeCaptureApp/Features/Capture/ReconstructionManager.swift - Web app router → Admin dashboard: routes to
src/App.tsx - Web app router → Staff sessions: routes to
src/App.tsx - Funnel application → Menu visitor: serves entry
visiono-funnel/client/src/App.tsx