From a3f00a5fcd4c403cbaeea511d5d94156e529ed8c Mon Sep 17 00:00:00 2001 From: DJP Date: Fri, 10 Apr 2026 20:32:25 -0400 Subject: [PATCH] Map confidence fields in mapJobListResponse The API was returning confidence_high/moderate/low/total_output_rows but mapJobListResponse was dropping them, so the JobCard never rendered the confidence bar. Co-Authored-By: Claude Opus 4.6 --- frontend/src/lib/api.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/lib/api.ts b/frontend/src/lib/api.ts index c9871a5..b13cef8 100644 --- a/frontend/src/lib/api.ts +++ b/frontend/src/lib/api.ts @@ -190,6 +190,10 @@ function mapJobListResponse(data: any): Job { total_lines: 0, total_token_usage: data.total_token_usage || 0, total_estimated_cost: data.total_estimated_cost || 0, + confidence_high: data.confidence_high || 0, + confidence_moderate: data.confidence_moderate || 0, + confidence_low: data.confidence_low || 0, + total_output_rows: data.total_output_rows || 0, }; } /* eslint-enable @typescript-eslint/no-explicit-any */