From 06904748cce79f36596ad18713007b24c67b046b Mon Sep 17 00:00:00 2001 From: lingniu Date: Mon, 6 Jul 2026 01:49:55 +0800 Subject: [PATCH] feat(platform): frame realtime sources as evidence --- .../apps/web/src/pages/Realtime.tsx | 8 +- .../apps/web/src/test/App.test.tsx | 75 +++++++++++++++++-- 2 files changed, 74 insertions(+), 9 deletions(-) diff --git a/vehicle-data-platform/apps/web/src/pages/Realtime.tsx b/vehicle-data-platform/apps/web/src/pages/Realtime.tsx index b51f4f03..284c21a6 100644 --- a/vehicle-data-platform/apps/web/src/pages/Realtime.tsx +++ b/vehicle-data-platform/apps/web/src/pages/Realtime.tsx @@ -2689,7 +2689,7 @@ export function Realtime({ applyFilters(nextFilters); }} style={{ marginBottom: 12 }}> - + GB32960 JT808 YUTONG_MQTT @@ -2743,7 +2743,7 @@ export function Realtime({ { label: '定位有效', value: locatedCount, color: locatedCount > 0 ? 'blue' as const : 'orange' as const }, { label: '需要关注', value: degradedCount, color: degradedCount > 0 ? 'orange' as const : 'green' as const, action: () => applyFilters({ ...filters, serviceStatus: 'degraded' }) }, { label: '更新超时', value: staleCount, color: staleCount > 0 ? 'red' as const : 'green' as const }, - { label: '数据通道', value: primaryProtocols.size, color: 'blue' as const } + { label: '来源证据', value: primaryProtocols.size, color: 'blue' as const } ].map((item) => ( item.action ? (