How rachitmalik-byte/workflow-conversation works
RelayHQ is a browser-based outbound sales operations workspace. Users authenticate, then work a lead pipeline and its records, coordinate through messaging and lead-linked notes, and manage tasks, reminders, and notifications. The app routes these views through a shared database client that selects between an in-memory simulator and Supabase; authentication, workspace settings, and keyboard/search tools support the workflow. The README also documents Google Chat mirroring and synthesized alarms. Some subsystem links are documented rather than visible in sampled call sites, so those are marked unverified.
Main entry points: dbClient.ts Data access facade · App.tsx App router · AuthContext.tsx Auth and team context · supabase.ts Supabase client
Components 24
Workspace Experience
- App router
src/App.tsx - Dashboard
src/views/dashboard/DashboardView.tsx - Global search
src/components/ui/GlobalSearch.tsx - Keyboard commands
src/components/ui/CommandPalette.tsx - Workspace settings
src/views/settings/SettingsView.tsx - Theme preferences
src/context/ThemeContext.tsx
Lead Pipeline
- Lead pipeline
src/views/leads/LeadsView.tsx - Lead dossier
src/views/leads/DetailPage.tsx - Create lead
src/views/leads/CreatePage.tsx - Edit lead
src/views/leads/EditPage.tsx
Team Coordination
- Channels and DMs
src/views/messaging/MessagingView.tsx - Playbook notes
src/views/notes/NotesView.tsx - Task management
src/views/tasks/TasksView.tsx - Reminders
src/views/reminders/RemindersView.tsx - Notification center
src/components/layout/NotificationCenter.tsx - Synthesized alarms
src/App.tsx - Google Chat mirroring
src/context/AuthContext.tsx
Identity and Data
- Sign-in and signup
src/views/auth/AuthPage.tsx - Auth and team context
src/context/AuthContext.tsx - Data access facade
src/services/dbClient.ts - In-memory simulator
src/services/mockDb.ts - Supabase client
src/services/supabase.ts
Other components
- Workspace user
- Supabase PostgreSQL
Connections 37
- Workspace user → Sign-in and signup: signs in
- Workspace user → App router: uses workspace
src/App.tsx - App router → Auth and team context: provides context
src/App.tsx - App router → Dashboard: routes to
src/App.tsx - App router → Lead pipeline: routes to
src/App.tsx - App router → Create lead: routes to
src/App.tsx - App router → Edit lead: routes to
src/App.tsx - App router → Lead dossier: routes to
src/App.tsx - App router → Task management: routes to
src/App.tsx - App router → Reminders: routes to
src/App.tsx - App router → Channels and DMs: routes to
src/App.tsx - App router → Playbook notes: routes to
src/App.tsx - App router → Workspace settings: routes to
src/App.tsx - App router → Synthesized alarms: plays alarm
src/App.tsx - Dashboard → Data access facade: loads data
src/views/dashboard/DashboardView.tsx - Lead pipeline → Data access facade: reads and writes
src/views/leads/LeadsView.tsx - Lead dossier → Data access facade: reads and writes
src/views/leads/DetailPage.tsx - Create lead → Data access facade: creates records
src/views/leads/CreatePage.tsx - Edit lead → Data access facade: updates records
src/views/leads/EditPage.tsx - Task management → Data access facade: loads tasks
src/views/tasks/TasksView.tsx - Reminders → Data access facade: manages reminders
src/views/reminders/RemindersView.tsx - Channels and DMs → Data access facade: manages messages
src/views/messaging/MessagingView.tsx - Playbook notes → Data access facade: manages notes
src/views/notes/NotesView.tsx - Global search → Data access facade: searches records
src/components/ui/GlobalSearch.tsx - Keyboard commands → Data access facade: accesses records
src/components/ui/CommandPalette.tsx - Sign-in and signup → Supabase client: authenticates
src/views/auth/AuthPage.tsx - Sign-in and signup → Data access facade: loads profiles
src/views/auth/AuthPage.tsx - Auth and team context → Data access facade: loads profiles
src/context/AuthContext.tsx - Auth and team context → Supabase client: observes sessions
src/context/AuthContext.tsx - Workspace settings → Theme preferences: configures appearance
src/views/settings/SettingsView.tsx - Data access facade → In-memory simulator: falls back to
src/services/dbClient.ts - Data access facade → Supabase client: selects backend
src/services/dbClient.ts - Supabase client → Supabase PostgreSQL: queries
- Auth and team context → Google Chat mirroring: sends mirrored chat
src/context/AuthContext.tsx - Channels and DMs → Google Chat mirroring: mirrors messages
src/views/messaging/MessagingView.tsx - Reminders → Notification center: raises alerts
- Notification center → Synthesized alarms: triggers alarm