feat: Add analytics and churn dashboard pages with metrics visualization, risk analysis, and multi-tab interfaces

- Add analytics page with overview, churn, market, maintenance, and pricing tabs
- Add churn page with predictions table, risk filtering, and retention recommendations
- Add metrics cards for subscribers, churn rate, market share, and system uptime
- Add risk distribution visualization with progress bars and color-coded badges
- Add market metrics with country breakdown and penetration rates
- Add maintenance metrics with asset health, MTTF, MTTR
This commit is contained in:
nutcas3
2026-05-03 13:28:44 +03:00
parent b7a9b9f09e
commit 12887765de
11 changed files with 2033 additions and 55 deletions
@@ -11,6 +11,11 @@ import {
Settings,
Radio,
HeartPulse,
TrendingDown,
AlertTriangle,
BarChart3,
DollarSign,
Wrench,
} from "lucide-react";
import { cn } from "@/lib/utils";
@@ -20,6 +25,11 @@ const navItems = [
{ href: "/usage", label: "Usage & Billing", icon: Activity },
{ href: "/payments", label: "Payments", icon: CreditCard },
{ href: "/esim", label: "eSIM Profiles", icon: Radio },
{ href: "/analytics", label: "Analytics", icon: BarChart3 },
{ href: "/churn", label: "Churn Analysis", icon: TrendingDown },
{ href: "/fraud", label: "Fraud Detection", icon: AlertTriangle },
{ href: "/pricing", label: "Pricing", icon: DollarSign },
{ href: "/maintenance", label: "Maintenance", icon: Wrench },
{ href: "/health", label: "System Health", icon: HeartPulse },
{ href: "/chaos", label: "Chaos Engineering", icon: Shield },
{ href: "/settings", label: "Settings", icon: Settings },