Commit Graph

33 Commits

Author SHA1 Message Date
2569718930@qq.com c79e0f36cc Improve scan terminal freshness and AMSC overlay consistency 2026-06-15 01:39:19 +08:00
2569718930@qq.com abe08de769 Forward Supabase identity for terminal data proxies 2026-06-14 07:26:15 +08:00
2569718930@qq.com 05ec1fd993 avoid caching initializing scan payloads 2026-06-10 19:49:27 +08:00
2569718930@qq.com 3a1b2dfd6d Avoid caching failed scan snapshots 2026-06-09 22:47:23 +08:00
2569718930@qq.com 00f96150c5 fix: prevent slow chart proxy 504s 2026-06-03 02:34:27 +08:00
2569718930@qq.com 39c7c1903c Shorten cold scan terminal timeout 2026-05-31 22:54:43 +08:00
2569718930@qq.com 5083b7c433 Instrument API timing and reduce detail fallbacks 2026-05-31 18:58:57 +08:00
2569718930@qq.com 74a2d71644 Reduce scan terminal origin load 2026-05-30 21:55:45 +08:00
2569718930@qq.com 2269aaefd7 Reduce Supabase disk IO 2026-05-29 17:22:33 +08:00
2569718930@qq.com 2e6349cbc6 fix: align scan terminal proxy and build timeouts 2026-05-28 09:23:01 +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 5d0d1e2673 删除 AI 预报系统全部死代码:11 个文件,扫描客户端 AI 流、状态管理、类型定义 2026-05-25 22:27:02 +08:00
2569718930@qq.com 7f0506b897 清理残留 skip_polymarket 参数和 PM 注释 2026-05-25 20:26:26 +08:00
2569718930@qq.com 6b7a4575ad 拆分 analysis_service:剩余工具函数全部移至 analysis_utils.py
提取 _mgm_hourly_high/_dedupe_forecast_daily/_format_observation_time_local/_parse_local_hour/_parse_utc_datetime/_metar_is_current_local_day/_is_plausible_city_temp。统一 parse_utc_datetime 副本。analysis_service 2082→1966 行。
2026-05-25 17:51:10 +08:00
2569718930@qq.com 045121a457 feat: implement scan terminal dashboard with real-time market data services and interactive visual components 2026-05-25 16:48:19 +08:00
2569718930@qq.com e590150fa9 补全 scan/terminal/overview Next.js API route handler,修复生产 404
MarketOverviewBanner 改为使用 fetchBackendApi() 统一调用模式,
同时创建缺失的 app/api/scan/terminal/overview/route.ts 代理到后端。
其他 scan/terminal 子路由 (ai, ai-city, stream) 已有对应 handler。
2026-05-15 02:08:12 +08:00
2569718930@qq.com c9d03fd3e1 feat: implement dashboard state management, API proxy layer, and modular UI components for weather monitoring and payments 2026-05-14 15:05:13 +08:00
2569718930@qq.com 02add6d994 feat: implement city weather detail API routing, dashboard data models, and monitoring infrastructure 2026-05-14 14:21:28 +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 569f3eef97 Make weather-market UI reliable before shipping
Proxy routes now share one upstream-error adapter so client-actionable statuses such as auth, entitlement, validation, and rate limits survive the BFF instead of becoming opaque 502s. The scan terminal mobile overrides also load last and remove desktop rail constraints so phones get a single readable column.

Constraint: Mobile users reported the dashboard was unreadable, and BFF proxy errors were masking expected client states.

Rejected: Let every route keep bespoke error JSON | continued inconsistent status codes and production detail leakage.

Confidence: high

Scope-risk: moderate

Directive: Keep ScanTerminalMobile.module.css imported after desktop scan-terminal CSS so mobile breakpoints win.

Tested: npx tsc --noEmit --pretty false --project frontend/tsconfig.json

Tested: npm run build

Tested: npm run test:business

Tested: Chrome mobile smoke test at 390px with no horizontal overflow

Not-tested: Real device Safari/Android manual QA
2026-04-29 11:22:49 +08:00
2569718930@qq.com 9b77a3a0e2 feat: implement AI city forecast and market scan integration for terminal dashboard 2026-04-26 11:08:58 +08:00
2569718930@qq.com e374ad4bf0 feat: add AI city forecast terminal and integration components 2026-04-26 10:43:14 +08:00
2569718930@qq.com 763f131850 feat: implement AI city scanning terminal with streaming SSE support and concurrency-limited request queueing 2026-04-26 07:58:19 +08:00
2569718930@qq.com 9ef998e9e0 feat: implement ScanTerminalDashboard UI and backend service for AI-driven city weather forecasting 2026-04-26 07:24:39 +08:00
2569718930@qq.com 963b2098c0 feat: implement AI city scan proxy route and add premium dark theme dashboard styling 2026-04-26 04:32:46 +08:00
2569718930@qq.com ce0f7629a2 feat: implement scan terminal dashboard with AI-driven city analysis and state management 2026-04-26 03:42:13 +08:00
2569718930@qq.com d71d5979e1 feat: add scan terminal dashboard with AI city analysis integration 2026-04-26 02:47:24 +08:00
2569718930@qq.com 9bbb713d45 feat: implement scan terminal dashboard with dedicated API route and service layer 2026-04-26 02:22:56 +08:00
2569718930@qq.com e6dbef1ece feat: implement ScanTerminalDashboard component and associated CSS module for PolyWeather map interface 2026-04-26 01:55:30 +08:00
2569718930@qq.com b614778f13 Relax V4 scan timeout and trim output 2026-04-25 02:58:06 +08:00
2569718930@qq.com 091d2efef3 Add DeepSeek V4 scan review 2026-04-24 23:32:32 +08:00
2569718930@qq.com d2bc9e3ac8 Add scan terminal request timeouts 2026-04-24 22:47:03 +08:00
2569718930@qq.com ddc0180ae6 Implement EMOS scan terminal with REST-only market data 2026-04-23 23:49:52 +08:00