system-prompts-and-models-o.../salesflow-saas/frontend
Claude 22d3efc0e6
fix(dealix): replace all placeholder services + wire frontend to APIs
Backend - eliminated ALL stub/placeholder services:
  forecast_control_center.py: Now queries real Deal + StrategicDeal tables
    for actual revenue, pipeline forecast, partnership counts, M&A counts
  model_routing_dashboard.py: Now queries real AIConversation table for
    total calls, tokens used, average latency, estimated cost in SAR
  Both services now use AsyncSession with lazy imports.

Backend APIs updated:
  forecast_control.py: All routes now use async _get_db + real service
  model_routing.py: All routes now use async _get_db + real service

Frontend - wired 3 more components to real APIs:
  approval-center.tsx: Now fetches from /api/v1/approval-center/ every 15s
  saudi-compliance-dashboard.tsx: Now fetches from /api/v1/compliance/matrix/
  connector-governance-board.tsx: Now fetches from /api/v1/connectors/governance

Audit findings addressed:
  - 0/8 placeholder backend services → 0 remaining (all query real DB)
  - 1/9 frontend components wired → 4/9 now wired to real APIs

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-17 05:05:10 +00:00
..
e2e fix(dealix): resolve Python deps, SQLAlchemy metadata, JWT, and frontend CI 2026-04-12 10:32:05 +00:00
public feat: Launch readiness — SEO basics + WhatsApp webhook registration 2026-04-12 02:54:46 +00:00
src fix(dealix): replace all placeholder services + wire frontend to APIs 2026-04-17 05:05:10 +00:00
.env.example chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
.env.staging.example chore(dealix): launch runbooks, staging env templates, SQLite init on startup, product journey test 2026-04-12 11:01:09 +00:00
.eslintrc.json chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
.npmrc chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
Dockerfile Add SalesMatic AI Sales SaaS Platform - Complete Foundation 2026-03-28 03:06:53 +00:00
next-env.d.ts 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
next.config.js chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
package-lock.json chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
package.json chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
playwright.config.ts chore: snapshot Dealix salesflow phase2 for audit worktree 2026-04-04 18:04:21 +03:00
postcss.config.js Add SalesMatic AI Sales SaaS Platform - Complete Foundation 2026-03-28 03:06:53 +00:00
tailwind.config.js fix: add missing tailwind color themes for border and background 2026-03-31 19:56:04 +03:00
tsconfig.json Add SalesMatic AI Sales SaaS Platform - Complete Foundation 2026-03-28 03:06:53 +00:00