// ============================================================================
// public/screens/_stubs.jsx — placeholder screens for not-yet-built sections
// ----------------------------------------------------------------------------
// Each screen renders a tasteful "Coming soon" card with the phase it's
// scheduled for, so navigation works even before the real screen exists.
// As each phase delivers a real screen, the matching stub is deleted from
// the Router switch in app.jsx and the real component takes over.
// ============================================================================
function ComingSoon({ title, phase, description, icon }) {
return (
{icon || }
{phase}
{title}
{description}
);
}
// ── User screens ────────────────────────────────────────────────────────
// NOTE: CampaignsScreen, AgentsScreen, ContactsScreen are now REAL screens
// (built in Phase 3) — see public/screens/{campaigns,agents,contacts}.jsx.
function FlowBuilderScreen() { return } phase="Phase 4" title="Flow Builder" description="Visually design conversation logic — branches, intents, transfers, and integrations."/>; }
function KnowledgeBaseScreen(){ return } phase="Phase 6" title="Knowledge Base" description="Upload product docs your AI agents will use to answer questions accurately."/>; }
function CallHistoryScreen() { return } phase="Phase 5" title="Call History" description="Every call, transcript, recording, and outcome — searchable and exportable."/>; }
function AnalyticsScreen() { return } phase="Phase 7" title="Analytics" description="Deep performance insights — agent comparison, campaign ROI, lead quality trends."/>; }
function IntegrationsScreen() { return } phase="Phase 7" title="Integrations" description="Connect VoAIs to your CRM, calendar, WhatsApp, Slack, and webhooks."/>; }
function PricingScreen() { return } phase="Phase 7" title="Plans & Billing" description="View your plan, usage, invoices, and upgrade options."/>; }
function SettingsScreen() { return } phase="Phase 7" title="Settings" description="Profile, team members, security, telephony, and notification preferences."/>; }
function InboxScreen() { return } phase="Phase 6" title="Unified Inbox" description="All conversations across calls, WhatsApp, and email — one place to follow up."/>; }
function WhatsAppScreen() { return } phase="Phase 6" title="WhatsApp Business" description="Templates, broadcasts, and conversations for post-call follow-up."/>; }
function MonitorScreen() { return } phase="Phase 5" title="Live Call Monitor" description="Real-time view of active calls. Listen, barge, or take over with one click."/>; }
// ── Admin screens ───────────────────────────────────────────────────────
function AdminOverviewScreen() { return } phase="Phase 8" title="Admin Overview" description="Platform-wide KPIs across all tenants."/>; }
function AdminClientsScreen() { return } phase="Phase 8" title="Clients" description="All tenant accounts — usage, billing, status."/>; }
function AdminSipScreen() { return } phase="Phase 8" title="SIP Trunks" description="Telephony providers, channel capacity, uptime."/>; }
function AdminAgentLibScreen() { return } phase="Phase 8" title="Agent Library" description="Global persona templates available to all clients."/>; }
function AdminBillingScreen() { return } phase="Phase 8" title="Billing & Usage" description="Revenue, MRR, and per-client usage."/>; }
function AdminComplianceScreen() { return } phase="Phase 8" title="Compliance Center" description="DND, TRAI rules, calling hours enforcement."/>; }
function AdminHealthScreen() { return } phase="Phase 8" title="System Health" description="AI providers, SIP trunks, queues, error rates."/>; }
function AdminAuditScreen() { return } phase="Phase 8" title="Audit Logs" description="Every admin action, billing event, API call."/>; }
// Expose all globally so the Router in app.jsx can switch on them.
// CampaignsScreen, AgentsScreen, ContactsScreen are real now — assigned in
// their own files (campaigns.jsx, agents.jsx, contacts.jsx).
window.FlowBuilderScreen = FlowBuilderScreen;
window.KnowledgeBaseScreen = KnowledgeBaseScreen;
window.CallHistoryScreen = CallHistoryScreen;
window.AnalyticsScreen = AnalyticsScreen;
window.IntegrationsScreen = IntegrationsScreen;
window.PricingScreen = PricingScreen;
window.SettingsScreen = SettingsScreen;
window.InboxScreen = InboxScreen;
window.WhatsAppScreen = WhatsAppScreen;
window.MonitorScreen = MonitorScreen;
window.AdminOverviewScreen = AdminOverviewScreen;
window.AdminClientsScreen = AdminClientsScreen;
window.AdminSipScreen = AdminSipScreen;
window.AdminAgentLibScreen = AdminAgentLibScreen;
window.AdminBillingScreen = AdminBillingScreen;
window.AdminComplianceScreen = AdminComplianceScreen;
window.AdminHealthScreen = AdminHealthScreen;
window.AdminAuditScreen = AdminAuditScreen;