2569718930@qq.com
20c8395c0b
全局配置更新:OAuth 回调修复、支付安全加固、站点 URL 工具
...
- 新增 NEXT_PUBLIC_SITE_URL 支持及 site-url.ts 工具模块
- 修复 OAuth 回调域名:import.meta.env 统一读取站点 URL
- 支付 API 路由新增收款地址校验
- 后端支付服务更新
- middleware 清理
- 新增 paymentSecurity 测试
2026-05-24 18:33:47 +08:00
2569718930@qq.com
2be0b71018
修复 Telegram 绑定按钮被浏览器 popup 拦截:先同步打开窗口再设置跳转
2026-05-24 18:12:07 +08:00
2569718930@qq.com
5aa2a9e384
更换 Telegram Bot 为新账号 polyyuanbot,更新群链接和推送配置
...
- Bot token/用户名全局替换:WeatherQuant_bot → polyyuanbot
- 群 ID 更新为新群 polyweather售后群(-1003927451869)
- 群邀请链接更新为 https://t.me/+Io5H9oVHFmVjOTQ5
- 修复机场推送:Paris/Taipei/Denver/Tel Aviv 支持 airport_primary/current 回退
- 修复跑道数据展示:has_runway 直接检测数据而非依赖 source 字段
- 创建新群 30 城 Forum Topics(data/city_thread_ids.json)
- 配置 AMSC AWOS 数据源 URL
Constraint: 旧 Telegram 账号已注销,Bot 完全重建
Tested: VPS 部署验证,所有城市推送正常,Topic 路由生效
2026-05-24 16:03:29 +08:00
2569718930@qq.com
89394e12ef
拆分 AccountCenter 超大组件:提取类型、常量、钱包、支付等独立模块
...
- AccountCenter.tsx 从 3565 行缩减约 1000 行
- 新增 8 个模块:types / constants / formatters / account-copy / wallet / payment-utils / usePaymentState / AccountInfoRow
- 同步更新 paymentShell 测试
Confidence: high
2026-05-23 23:30:48 +08:00
2569718930@qq.com
105713c799
@
...
支付提交增加 Tx 预校验:提交前链上验签收款地址与金额,防止转错地址;409 错误展示友好中文提示并自动对账恢复
- 新增 validate_intent_tx 方法及 POST /api/payments/intents/{id}/validate 端点,
在提交前查链上 receipt 对比收款地址和金额,mismatch 直接拦截
- 新增 handleSubmit409 辅助函数,根据后端错误详情分流处理:
已支付→自动 reconcile,已过期→提示重下单,其他→透传具体原因
- submit/validate 路由透传后端 detail 字段,生产环境也能看到具体错误
- 手动转账面板粘贴 tx hash 后自动触发验证,绿色/红色提示,
验证不通过时禁用提交按钮
Tested: tsc --noEmit + ruff check . 均通过
@
2026-05-22 04:44:14 +08:00
2569718930@qq.com
1edee81cf3
修复 paymentShell 测试断言,匹配移除 Matic 后的新文案
...
Tested: npm run test:business (20/20)
2026-05-21 13:09:21 +08:00
2569718930@qq.com
8022464e78
移除所有用户可见的 Matic 过时引用,统一使用 Polygon / POL
...
Polygon 已于 2021 年从 Matic 更名,2024 年 token 从 MATIC 迁移为 POL。
- polygonChain 标签: "Polygon (Matic) Network" → "Polygon Network"
- chainIdToDisplayName: "Polygon (Matic)" → "Polygon"
- paymentGasWarning: "POL/MATIC" → "POL"
- chainSwitchPrompt: "Polygon (Matic)" → "Polygon"
- 错误检测正则保留 matic 关键字以兼容旧钱包
Tested: tsc --noEmit
2026-05-21 13:04:37 +08:00
2569718930@qq.com
982d192499
支付管理摘要区新增支付网络信息行
...
用户反馈支付管理区未标明链网络,在账号/钱包/收款合约行下方
新增"支付网络 (Payment Network)" InfoRow,明确显示 Polygon (Matic)。
Tested: tsc --noEmit
2026-05-21 12:54:18 +08:00
2569718930@qq.com
0234104a63
支付方式选择区域补全中英文 i18n,链网络标签明确 Polygon (Matic)
...
- 支付方式选择区域全部硬编码中文替换为 copy 对象引用
- 新增 20 个 i18n key:支付方式标签、描述、警告、手动转账表单
- 链相关标签从模糊的 "Polygon Chain" 改为明确的双语 "Polygon (Matic)"
- 链切换错误提示支持中英文
- TypeScript 类型检查通过
Tested: tsc --noEmit
2026-05-21 12:25:57 +08:00
2569718930@qq.com
2f0b496066
ops 订阅开通改为 Next.js 直连 Supabase,免去 VPS 鉴权链路
2026-05-20 22:23:28 +08:00
2569718930@qq.com
b36c712ee4
同步文件
2026-05-20 21:18:59 +08:00
2569718930@qq.com
a0005b1e37
同步前端文件更新
2026-05-20 21:08:54 +08:00
2569718930@qq.com
2f9889d63a
修复后台漏斗无数据:埋点默认启用、补全 signup_completed 和 dashboard_active 事件上报
2026-05-20 20:13:18 +08:00
2569718930@qq.com
ef2691a37b
同步文件换行符
2026-05-20 20:00:32 +08:00
2569718930@qq.com
84a2d4ce06
恢复币安注入提供者列表但添加 WalletConnect 提示,更新支付测试
2026-05-20 19:48:13 +08:00
2569718930@qq.com
8ba9567f64
移除深圳宝安机场跑道数据采集,深圳市场结算使用流浮山 HKO 数据
2026-05-20 19:38:07 +08:00
2569718930@qq.com
dd01383b3a
优化钱包兼容性:移除 value:0x0 以兼容更多钱包、增强币安检测和网络切换提示
2026-05-20 19:18:29 +08:00
2569718930@qq.com
edf41efad6
过滤币安 Web3 注入提供者,引导用户使用 WalletConnect 支付
2026-05-20 19:00:07 +08:00
2569718930@qq.com
871d21792e
修复账户页 Pro 状态偶发性丢失
2026-05-20 18:50:17 +08:00
2569718930@qq.com
9b2ac614cb
重构跑道观测系统:全跑道展示、结算跑道标注、热力模型、风场分析
2026-05-20 18:16:27 +08:00
2569718930@qq.com
9a5f9abf21
@
...
修复 trial 用户无法打开付款入口
canOpenCheckoutOverlay 缺少 isTrialPlan 条件,导致试用用户无法升级付费
@
2026-05-20 11:27:46 +08:00
2569718930@qq.com
60093d3162
@
...
统一月付价格为 10 USDC 并清理所有 trial 文案
- 默认月付 fallback 从 5U 改为 10U(contract_checkout.py、AccountCenter.tsx)
- 移除 LoginClient / HeaderBar / AccountCenter / UnlockProOverlay 中的试用推广文案
- VPS 同步: PLAN_CATALOG_JSON、GROUP_MEMBER_PRICE_USDC 更新为 10
- SIGNUP_TRIAL_ENABLED=false 保持关闭
@
2026-05-20 11:12:29 +08:00
2569718930@qq.com
6e3b7f60a2
fix(payment): display payment management panel for non-subscribed users to allow manual transfer tx submission
2026-05-20 09:59:27 +08:00
2569718930@qq.com
9ff0685756
Unify subscription pricing to 10 USDC, update documentation, and improve manual payment address copy experience
2026-05-20 09:20:07 +08:00
2569718930@qq.com
95192e8b58
Fix manual payment receiver address truncation
2026-05-20 09:05:14 +08:00
2569718930@qq.com
1af33c3ab8
chore(account): separate payment methods into tabs and fix noWallet copy
2026-05-20 08:33:59 +08:00
2569718930@qq.com
76d5a0abe8
refactor: remove redundant telegram pricing, align daily forecast date, and hide sunrise/sunset from UI
2026-05-20 07:55:47 +08:00
2569718930@qq.com
82d60cf05f
feat: implement Telegram-to-Web account binding flow and add supporting database and UI components
2026-05-19 18:26:45 +08:00
2569718930@qq.com
a5c508cce8
feat: implement SQLite database management and Supabase integration for user authentication and points synchronization
2026-05-19 18:07:39 +08:00
2569718930@qq.com
ac4f70e33d
feat: implement basic command handlers, orchestrator, database manager, and account binding UI
2026-05-19 17:47:51 +08:00
2569718930@qq.com
89914a296b
feat: add AccountCenter component for user profile and subscription management
2026-05-19 17:31:31 +08:00
2569718930@qq.com
6e2baa14ad
账户页付费用户新增城市话题群入口链接
2026-05-19 17:15:16 +08:00
2569718930@qq.com
c38dc80f58
后台新增 API 状态检测页:实时检测 Supabase/Open-Meteo/METAR/KNMI/MADIS/Telegram 连通性
2026-05-18 23:25:16 +08:00
2569718930@qq.com
ad16ae6b3b
账户页 Telegram 区块仅付费用户可见,移除过期的频道升级通知和市场监控链接
2026-05-18 18:44:20 +08:00
2569718930@qq.com
78b23ef361
feat: implement Telegram account binding and update project structure in documentation
2026-05-18 17:10:44 +08:00
2569718930@qq.com
6041d25f23
feat: add telegram group pricing and direct payments
2026-05-18 16:18:26 +08:00
2569718930@qq.com
58e6557c66
feat: implement mobile scan terminal dashboard and city picker with backend forum automation scripts
2026-05-17 17:05:47 +08:00
2569718930@qq.com
c4b1844a67
fix: stabilize pro checkout loading
2026-05-15 00:58:40 +08:00
2569718930@qq.com
ac90ef9206
修复 CSS Module spin 动画::global(spin) 改为本地 @keyframes spin
...
PostCSS 将 :global(spin) 解析为伪元素 :: 导致 Vercel 构建失败。
改用在每个 CSS Module 中定义本地 @keyframes spin。
2026-05-14 18:06:53 +08:00
2569718930@qq.com
4f13faa311
优化日内温度曲线图加载性能并修复图标旋转动画
...
- AiCityTemperatureChart:React.memo 包裹 + useMemo 依赖移除 detail 避免每帧重算
- ScanTerminalCard 等 9 个 CSS Module:animation: spin 改为 :global(spin) 修复 CSS Modules 作用域问题
2026-05-14 17:31:25 +08:00
AmandaloveYang
787d04619b
feat: revamp points/reward system for inclusive engagement
...
- /city /deb now free, capped at 10/day each (was 2 pts cost)
- Welcome bonus +20 pts on first-ever valid message
- First-message-of-day bonus +2 pts
- Weekly winner point bonuses reduced (500→200, 300→100, 150→50)
- Weekly participation rewards for all active users (+5 base, +15 for ≥20 pts)
- Pro-day rewards for top 3 unchanged
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-11 13:35:52 +08:00
2569718930@qq.com
00e1845f2c
全面修复前端 UI 设计审查问题:消除工程债务、统一 token 体系、提升可维护性
...
- 消除 !important 滥用:134 → 49(仅保留 Leaflet/图表所必需项),浅色主题使用 html.light 选择器获得更高优先级
- 修复 font-weight:13 个文件中所有 760/850/860/880/950 等非标准值已映射为 Inter 支持的 300–800
- 移除未加载的 Geist 字体声明,替换为 Inter
- 添加全局 :focus-visible 轮廓环、跳过链接、Tab ARIA 属性(role/aria-selected)
- 统一断点体系:18 → 10(480/640/768/960/1024/1200/1280/1360/1440/1680)
- 创建 scan-root-styles.ts 桶文件,将 22 个 CSS Module 导入合并为 1 个
- Token 迁移:10 个文件中数百处硬编码颜色(#4DA3FF/#E6EDF3/#9FB2C7/#6B7A90)已替换为 CSS 变量
- 去重 @keyframes:spin 4→1、loading-spin 2→0、pulse-pending 已移至 globals.css
- 添加统一的 empty/error/retry 状态组件
- 添加全局 prefers-reduced-motion 支持
- 修复 accent-primary 与 accent-secondary 相同值的问题
- 修复 accent-green 类错误渲染为蓝色
- 添加 CSS 渐变品牌 Logo
- 移除死代码(1,697 行):public/static/style.css + public/legacy/index.html
- Dashboard.module.css 本地变量已桥接至全局 token
- 提升文字对比度:#6B7A90 → #7D8FA3
Fixed: !important-134-to-49, font-weight-13-files, Geist-removal, focus-visible, breakpoints-18-to-10, CSS-module-barrel, token-migration-10-files, keyframe-dedup, dead-code-removal, accent-color-fix, contrast-improvement
Scope: frontend CSS architecture, design tokens, accessibility, responsive breakpoints
Tested: npx tsc --noEmit
2026-05-10 14:21:10 +08:00
2569718930@qq.com
1ccc275a23
Make mobile account surfaces readable
...
Mobile review found that account payment rows could collapse labels vertically and several secondary links had small touch targets on narrow phones. The patch keeps the existing visual system but allows account rows to stack on mobile, improves tap height, and tightens the Scan Terminal narrow-screen container.
Constraint: Must keep the current desktop layout and avoid adding dependencies
Rejected: Rebuild the account page layout wholesale | too broad for a targeted mobile audit
Confidence: high
Scope-risk: narrow
Directive: Keep long account/payment identifiers breakable on narrow screens
Tested: iPhone SE and iPhone 12 Playwright mobile audits show no horizontal overflow on checked pages
Tested: npx tsc --noEmit --pretty false --project frontend/tsconfig.json
Tested: npm run build
Tested: npm run test:business
Not-tested: Authenticated /ops data state because local Supabase/admin gating redirects to the public shell
2026-04-29 12:40:37 +08:00
2569718930@qq.com
6914e6277b
feat: implement backend routing, dashboard components, and transaction reconciliation scripts
2026-04-19 20:14:07 +08:00
2569718930@qq.com
f98388ce69
Allow trial users to open checkout
2026-04-17 20:01:18 +08:00
2569718930@qq.com
41cfb65b92
Show queued subscription access and fix forecast time plotting
2026-04-13 16:35:22 +08:00
2569718930@qq.com
15022c77c0
Gate checkout overlay by subscription recovery eligibility
2026-04-10 09:00:37 +08:00
2569718930@qq.com
fbd1e4ab16
Persist recent payment recovery state across account sessions
2026-04-06 20:40:26 +08:00
2569718930@qq.com
ee40045b70
Hardcode Telegram market channel URL and update bot tests
2026-04-01 20:34:41 +08:00
2569718930@qq.com
65688dffd9
Add Telegram market monitor channel link to account center
2026-04-01 20:27:49 +08:00