How floorproadm/axofloorsnj works
This is a React/Supabase field-service and customer-relationship application, with an admin workspace plus partner, collaborator, customer-portal and public proposal flows. The central admin workflow routes users through lead intake and pipeline management, then measurements, proposals, projects/jobs, scheduling and financial follow-up. Separate branches cover partner referrals, automation, media, workforce and performance. The excerpts show routing, lead-pipeline use and selected data access; many capabilities are evident from the tree but their runtime wiring was not sampled, so those links are omitted.
Main entry points: App.tsx Route and auth shell · useLeadPipeline.ts Lead stages · client.ts Supabase client · LeadsManager.tsx Lead manager
Components 21
Application access
- Route and auth shell
src/App.tsx - Admin workspace
src/components/admin/AdminLayout.tsx
Sales lifecycle
- Lead manager
src/pages/admin/LeadsManager.tsx - Lead pipeline board
src/pages/admin/components/LinearPipeline.tsx - Lead stages
src/hooks/useLeadPipeline.ts - Lead controls
src/components/admin/LeadControlModal.tsx - Quote creation
src/components/admin/QuickQuoteSheet.tsx - Measurements
src/pages/admin/MeasurementsManager.tsx - Partner referral pipeline
src/components/admin/AdminReferralPipelineTab.tsx
Project delivery
- Project pipeline
src/components/admin/projects/ProjectPipelineBoard.tsx - Job detail
src/pages/admin/JobDetail.tsx - Dispatch and schedule
src/pages/admin/Schedule.tsx - Project media
src/pages/admin/GalleryHub.tsx
Business operations
- Payments and invoices
src/pages/admin/Payments.tsx - Lead automations
src/pages/admin/Automations.tsx - Crew and payroll
src/pages/admin/LaborPayroll.tsx - Performance review
src/pages/admin/WeeklyReview.tsx
Data and services
- Authentication context
src/contexts/AuthContext.tsx - Supabase client
src/integrations/supabase/client.ts - Supabase backend
Other components
- Staff user
Connections 17
- Staff user → Route and auth shell: opens
src/App.tsx - Route and auth shell → Admin workspace: routes to
src/App.tsx - Route and auth shell → Lead manager: routes to
src/App.tsx - Route and auth shell → Job detail: routes to
src/App.tsx - Route and auth shell → Dispatch and schedule: routes to
src/App.tsx - Lead manager → Admin workspace: renders
src/pages/admin/LeadsManager.tsx - Lead manager → Lead pipeline board: renders
src/pages/admin/LeadsManager.tsx - Lead manager → Lead stages: uses
src/pages/admin/LeadsManager.tsx - Lead pipeline board → Lead stages: uses
src/pages/admin/components/LinearPipeline.tsx - Lead pipeline board → Lead controls: opens
src/pages/admin/components/LinearPipeline.tsx - Lead pipeline board → Quote creation: opens
src/pages/admin/components/LinearPipeline.tsx - Lead stages → Supabase client: queries
src/hooks/useLeadPipeline.ts - Lead stages → Supabase client: notifies via
src/hooks/useLeadPipeline.ts - Authentication context → Supabase client: authenticates through
src/contexts/AuthContext.tsx - Supabase client → Supabase backend: connects
src/integrations/supabase/client.ts - Project pipeline → Supabase client: reads data
src/components/admin/projects/ProjectPipelineBoard.tsx - Project pipeline → Lead stages: derives risk with
src/components/admin/projects/ProjectPipelineBoard.tsx