Integrate BSG Prospecting Loop into Campaign Command Center
Add full leads pipeline: Lead/LeadRun types, 3 new DB tables (leads, leads_runs, leads_config), 12 CRUD functions including syncBriefsFromDisk and exportAccountsForLoop, 12 API actions for leads lifecycle management. New pages: /leads (filterable lead cards with expand/action), /leads/admin (run controls, config, run history). AccountLeads component in account detail view. New Leads scorecard on Executive Overview. Sidebar nav entry. Also fixes account detail activity list using raw.activities to show all activities regardless of date filter. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -84,9 +84,18 @@ function AccountsIcon({ className }: { className?: string }) {
|
||||
);
|
||||
}
|
||||
|
||||
function LeadsIcon({ className }: { className?: string }) {
|
||||
return (
|
||||
<svg className={className} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
|
||||
<polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2" />
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
|
||||
const navItems = [
|
||||
{ href: '/', label: 'Executive Overview', icon: DashboardIcon, shortLabel: 'Overview' },
|
||||
{ href: '/accounts', label: 'Accounts', icon: AccountsIcon, shortLabel: 'Accounts' },
|
||||
{ href: '/leads', label: 'Leads', icon: LeadsIcon, shortLabel: 'Leads' },
|
||||
{ href: '/activity', label: 'Activities', icon: ActivityIcon, shortLabel: 'Activities' },
|
||||
{ href: '/pipeline', label: 'Opportunities', icon: PipelineIcon, shortLabel: 'Opps' },
|
||||
{ href: '/implementation', label: 'Implementation', icon: ImplementIcon, shortLabel: 'Implement' },
|
||||
|
||||
Reference in New Issue
Block a user