From 1fa5645c0d8900d9108fdcf97a42e9a65afa8058 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Thu, 9 Apr 2026 14:24:03 +0800 Subject: [PATCH] feat: add DetailPanel component for displaying city-specific weather data and charts --- frontend/components/dashboard/DetailPanel.tsx | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/frontend/components/dashboard/DetailPanel.tsx b/frontend/components/dashboard/DetailPanel.tsx index 39b4b031..c924b7b6 100644 --- a/frontend/components/dashboard/DetailPanel.tsx +++ b/frontend/components/dashboard/DetailPanel.tsx @@ -451,12 +451,22 @@ export function DetailPanel() {
- {locale === "en-US" ? "Pro features" : "Pro 功能"} + {isPro + ? locale === "en-US" + ? "Detail sync" + : "详情同步" + : locale === "en-US" + ? "Pro features" + : "Pro 功能"} - {locale === "en-US" - ? "Intraday analysis, history reconciliation, and deeper structure signals require Pro." - : "今日日内分析、历史对账和更深入的结构信号需要 Pro。"} + {isPro + ? locale === "en-US" + ? "Full city detail is still syncing. The deeper panel will appear automatically." + : "完整城市详情仍在同步中,深度面板会自动补齐。" + : locale === "en-US" + ? "Intraday analysis, history reconciliation, and deeper structure signals require Pro." + : "今日日内分析、历史对账和更深入的结构信号需要 Pro。"}