feat: F006 supply dashboard — KPI grid, strong matches, data quality, future signals, review tasks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Sutter
2026-05-15 16:08:49 +02:00
parent c65e565dc7
commit 46acca9e62
15 changed files with 833 additions and 280 deletions
+55
View File
@@ -0,0 +1,55 @@
export interface KpiCardData {
id: string
label: string
value: number | string
trend?: 'up' | 'down' | 'neutral'
trendLabel?: string
accent?: string
}
export interface StrongMatchItem {
matchId: string
propertyId: string
propertyTitle: string
propertyAddress: string
needSummary: string
matchScore: number
topReason: string
missingDataCount: number
nextBestAction: string
}
export interface FutureSignalSummary {
total: number
highConfidence: number
restricted: number
needsReview: number
avgTimeHorizonMonths: number
}
export interface DataQualitySummary {
avgScore: number
critical: number
propertiesWithMissingCritical: number
topMissingFields: string[]
}
export interface DashboardReviewTask {
id: string
title: string
priority: 'HIGH' | 'MEDIUM' | 'LOW'
status: string
type: string
}
export interface DashboardData {
totalProperties: number
activeProperties: number
strongMatchCount: number
avgDataQuality: number
futureSignals: FutureSignalSummary
dataQuality: DataQualitySummary
reviewTasks: DashboardReviewTask[]
strongMatches: StrongMatchItem[]
lastUpdated: string
}