完成产品审查剩余修复:新手指引、反馈入口、付费墙预览
P1-4:新增 WelcomeOverlay 新手指引 - 首次访问时显示 3 步引导:①从地图选城市 ②查看城市简报 ③解锁 Pro 深入分析 - 圆点进度指示、跳过/下一步按钮、点背景可关闭 - 看过一次后 localStorage 标记不再显示 P1-5:付费墙增加功能预览 - HistoryModal 在付费墙上方展示功能说明文案 - 新增 i18n 键 history.previewTitle / history.previewDesc(中英双语) P2-9:新增反馈入口 - 顶栏增加 Telegram 反馈按钮(MessageCircle 图标) - 点击跳转 PolyWeather 社群 Tested: npx tsc --noEmit
This commit is contained in:
@@ -5,6 +5,7 @@ import dynamic from "next/dynamic";
|
||||
import Link from "next/link";
|
||||
import {
|
||||
LogIn,
|
||||
MessageCircle,
|
||||
Moon,
|
||||
RefreshCw,
|
||||
Sun,
|
||||
@@ -31,6 +32,7 @@ import type {
|
||||
} from "@/lib/dashboard-types";
|
||||
import { AiPinnedForecastView } from "@/components/dashboard/scan-terminal/AiPinnedForecastView";
|
||||
import { LoadingSignal } from "@/components/dashboard/scan-terminal/LoadingSignal";
|
||||
import { WelcomeOverlay } from "@/components/dashboard/scan-terminal/WelcomeOverlay";
|
||||
import { findDetailForCity } from "@/components/dashboard/scan-terminal/city-detail-utils";
|
||||
import {
|
||||
findRowForCity,
|
||||
@@ -451,6 +453,16 @@ function ScanTerminalScreen() {
|
||||
<UserRound size={15} />
|
||||
</Link>
|
||||
) : null}
|
||||
<a
|
||||
href="https://t.me/+nMG7SjziUKYyZmM1"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="scan-account-button"
|
||||
aria-label={isEn ? "Feedback" : "反馈"}
|
||||
title={isEn ? "Join Telegram for feedback" : "加入 Telegram 反馈"}
|
||||
>
|
||||
<MessageCircle size={15} />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -575,6 +587,7 @@ function ScanTerminalScreen() {
|
||||
|
||||
<CityDetailPanel variant="rail" />
|
||||
</div>
|
||||
<WelcomeOverlay locale={locale} onDismiss={() => {}} />
|
||||
<FutureForecastModal />
|
||||
{showScanPaywall ? (
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user