feat: add DCB Reporting Dashboard - Comprehensive analytics system with real-time charts and API health monitoring

This commit is contained in:
diallolatoile 2025-12-02 13:40:19 +00:00
parent cd9746a404
commit 2093e50b27

View File

@ -22,7 +22,8 @@ import {
lucideDollarSign, lucideUsers, lucideCreditCard, lucideSettings, lucideDollarSign, lucideUsers, lucideCreditCard, lucideSettings,
lucideLayoutDashboard, lucideStore, lucideFilter, lucideHeartPulse, lucideLayoutDashboard, lucideStore, lucideFilter, lucideHeartPulse,
lucideCpu, lucidePhone, lucideTrophy, lucidePlus, lucideListChecks, lucideCpu, lucidePhone, lucideTrophy, lucidePlus, lucideListChecks,
lucideDatabase, lucideInfo, lucideBell, lucideCode lucideDatabase, lucideInfo, lucideBell, lucideCode,
lucideBanknoteArrowUp
} from '@ng-icons/lucide'; } from '@ng-icons/lucide';
import { import {
@ -145,7 +146,7 @@ interface SubscriptionStats {
lucideDollarSign, lucideUsers, lucideCreditCard, lucideSettings, lucideDollarSign, lucideUsers, lucideCreditCard, lucideSettings,
lucideLayoutDashboard, lucideStore, lucideFilter, lucideHeartPulse, lucideLayoutDashboard, lucideStore, lucideFilter, lucideHeartPulse,
lucideCpu, lucidePhone, lucideTrophy, lucidePlus, lucideListChecks, lucideCpu, lucidePhone, lucideTrophy, lucidePlus, lucideListChecks,
lucideDatabase, lucideInfo, lucideBell, lucideCode lucideDatabase, lucideInfo, lucideBell, lucideCode, lucideBanknoteArrowUp
}) })
] ]
}) })
@ -189,7 +190,7 @@ export class DcbReportingDashboard implements OnInit, OnDestroy, AfterViewInit {
}; };
availableMetrics: MetricOption[] = [ availableMetrics: MetricOption[] = [
{ id: 'revenue', label: 'Revenue', icon: 'lucideDollarSign' }, { id: 'revenue', label: 'Revenue', icon: 'lucideBanknoteArrowUp' },
{ id: 'transactions', label: 'Transactions', icon: 'lucideCreditCard' }, { id: 'transactions', label: 'Transactions', icon: 'lucideCreditCard' },
{ id: 'successRate', label: 'Taux de succès', icon: 'lucideActivity' }, { id: 'successRate', label: 'Taux de succès', icon: 'lucideActivity' },
{ id: 'activeSubscriptions', label: 'Abonnements actifs', icon: 'lucideUsers' } { id: 'activeSubscriptions', label: 'Abonnements actifs', icon: 'lucideUsers' }