feat: implement dashboard detail panel with interactive charts and forecast modal components

This commit is contained in:
2569718930@qq.com
2026-04-24 13:35:36 +08:00
parent b94289a51a
commit 5fc65cbd85
4 changed files with 69 additions and 60 deletions
@@ -41,6 +41,8 @@ import type {
MarketScan,
} from "@/lib/dashboard-types";
const TODAY_MARKET_SCAN_AUTO_REFRESH_MS = 5 * 60 * 1000;
function normalizeMarketValue(value?: number | null) {
if (value == null) return null;
const numeric = Number(value);
@@ -830,7 +832,7 @@ function FutureForecastModalContent({
return;
}
refreshMarketScan();
}, 30_000);
}, TODAY_MARKET_SCAN_AUTO_REFRESH_MS);
return () => {
cancelled = true;