Commit Graph

24 Commits

Author SHA1 Message Date
2569718930@qq.com 1c250906ed fix: keep terminal stable across auth refresh 2026-05-30 14:33:26 +08:00
2569718930@qq.com 2269aaefd7 Reduce Supabase disk IO 2026-05-29 17:22:33 +08:00
2569718930@qq.com 5d784f78b9 feat: implement scan terminal dashboard system and supporting services 2026-05-28 08:24:50 +08:00
2569718930@qq.com d029d5c4e7 Auth session 持久化 + 多分辨率跑道图表 + 拖拽缩放
- middleware: refreshMiddlewareSession 前置刷新 Supabase token
- backend-auth: getUser() 优先触发 refresh,再 getSession 拿新 token
- Dashboard: onAuthStateChange 实时更新 proAccess + 15min getSession 心跳
- detail proxy: 新增 city/[name]/detail 代理,透传 resolution 参数
- city_payloads: aggregate_runway_history + build_runway_band_history 跑道聚合
- chart: 10m→1m 自适应分辨率 + zoom 拖拽 + 跑道温区 Area + Runway Details 开关
2026-05-26 20:37:00 +08:00
2569718930@qq.com 9a49ff3f5e 新增终端大洲分组与移动端卡片 CSS 模块
包含分组标题行、移动端 Tab 隐藏滚动条、信号卡片样式及浅色主题适配。
2026-05-25 01:55:55 +08:00
2569718930@qq.com 0574b0cc20 双层鉴权架构:中间件终端门控 + 落地页按钮直连登录
LandingPage "进入产品"按钮改为 /auth/login?next=/terminal,消除未登录直达终端
再跳登录的视觉卡顿。Middleware 新增 handleTerminalGate(Layer 1),
在 /terminal 路由独立拦截未认证用户并 302 到登录页。
ScanTerminalDashboard 内 ProductAccessRequired 重构为 SubscriptionGate(Layer 2),
专注展示升级订阅提示。

Constraint: 双层顺序为认证优先 → 订阅检查在后
Tested: tsc --noEmit 通过, npm run build 通过
2026-05-25 01:21:44 +08:00
2569718930@qq.com e4d123d94d 重构首页为机构落地页,新增终端路由,时区感知 Polymarket 市场发现 2026-05-25 00:16:53 +08:00
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 b93a75516d 移除未使用的 Groq 和 Meteoblue 服务代码及配置 2026-05-19 00:05:07 +08:00
2569718930@qq.com 6bdad2eae9 修复游客无法加载城市简报:middleware 白名单遗漏 detail 端点导致 401 2026-05-18 19:22:51 +08:00
2569718930@qq.com 40f231b76d 优化 Vercel Fluid CPU:API加CDN缓存、缩小middleware范围、跳过公共API的Supabase身份转发
- 7条GET路由加 s-maxage + stale-while-revalidate,fetch 改为 next revalidate
- middleware matcher 从全匹配缩小到9条需auth的路径,移除 isStaticAsset
- 8条公共API路由加 includeSupabaseIdentity: false
- backend-auth getSession 为空时跳过 getUser
- subscription-help 加 I18nProvider,移除 force-dynamic → 静态预渲染
- next.config.mjs 加静态资源 immutable 缓存头

Tested: npx tsc --noEmit 通过,npm run build 通过
2026-05-13 14:23:04 +08:00
2569718930@qq.com d5fb40a544 feat: implement weather dashboard components, state management, and API routes for terminal scanning and assistant chat 2026-04-25 06:42:24 +08:00
2569718930@qq.com a13299b82c Expose terminal scan endpoint in public API middleware 2026-04-24 03:01:53 +08:00
2569718930@qq.com 4f57d4ed1a feat: implement PolyWeather dashboard core components, state management, and API integration 2026-04-23 19:40:38 +08:00
2569718930@qq.com c29b560401 Add app analytics tracking for paywall and checkout events 2026-03-31 07:15:54 +08:00
2569718930@qq.com 436afe121a Reduce Vercel CPU usage by narrowing auth checks 2026-03-26 17:04:56 +08:00
2569718930@qq.com 88b355e9de Allow scenery images through middleware 2026-03-26 01:32:06 +08:00
2569718930@qq.com b146c637b6 Allow guest city APIs and normalize auth probe responses 2026-03-26 01:25:51 +08:00
2569718930@qq.com 961451aeff Restore guest city panels while keeping Pro data protected 2026-03-26 00:29:14 +08:00
2569718930@qq.com 7510e0a1e0 feat: implement user account center with authentication, subscription management, and EVM wallet integration. 2026-03-17 14:32:15 +08:00
2569718930@qq.com 9cc9ab93c4 feat: Implement account management center with authentication and subscription features, supported by new backend, i18n, and Supabase integration. 2026-03-13 03:27:56 +08:00
2569718930@qq.com 0a869459c4 feat: Implement Supabase authentication, account management UI, and entitlement services. 2026-03-13 02:23:01 +08:00
2569718930@qq.com b4d38590e1 feat: Add entitlement middleware, root layout, and PWA assets for the frontend. 2026-03-12 03:05:11 +08:00
2569718930@qq.com af4bee12f5 feat: Introduce a web frontend with new city API routes and refactor bot city query logic into a dedicated service. 2026-03-11 08:46:32 +08:00