Commit Graph

1750 Commits

Author SHA1 Message Date
2569718930@qq.com 651a93cacf fix: remove unused city runtime imports 2026-05-28 08:29:57 +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 725727d763 fix: restore Hong Kong CoWIN reference curve 2026-05-28 08:14:27 +08:00
2569718930@qq.com 1a7d2a487f feat: add hourly peak correction for DEB charts 2026-05-27 22:41:16 +08:00
2569718930@qq.com 14141314d7 fix: preserve DEB metadata in city summary 2026-05-27 21:50:28 +08:00
2569718930@qq.com 8609376c59 feat: add versioned DEB bias backtesting 2026-05-27 21:40:26 +08:00
2569718930@qq.com 4d22191a2d Fix city selector fallback coverage 2026-05-27 21:02:08 +08:00
2569718930@qq.com fb7e27d9ed fix: recover account subscription state 2026-05-27 12:14:07 +08:00
2569718930@qq.com 7ff1d21b95 fix: stabilize realtime chart axis and redis deployment 2026-05-27 11:51:22 +08:00
2569718930@qq.com 573768846e feat: implement real-time SSE event architecture with Redis stream integration and add associated validation tests 2026-05-27 11:03:04 +08:00
2569718930@qq.com 820dabfbf3 feat: implement real-time observation patch normalization and live temperature threshold visualization logic v1.8.0 2026-05-27 10:17:33 +08:00
2569718930@qq.com e6a673e27d feat: add multiple weather data source scrapers and integrate dashboard temperature chart logic components 2026-05-27 09:31:24 +08:00
2569718930@qq.com 05010d20e2 feat: implement AMOS real-time weather data collection and add corresponding unit and frontend tests 2026-05-27 09:07:48 +08:00
2569718930@qq.com bef3c610b7 feat: implement Telegram push utility and temperature threshold visualization components 2026-05-27 08:53:36 +08:00
2569718930@qq.com bbd7c768f8 feat: implement live temperature threshold charting component with SSE patch support and data collection logic 2026-05-27 08:42:08 +08:00
2569718930@qq.com 65fe2d7361 feat: implement runway temperature charting logic and UI components for scan terminal dashboard 2026-05-27 08:07:49 +08:00
2569718930@qq.com 79d94bed5f feat: add weekly reward loop, i18n support, and scan terminal dashboard components 2026-05-27 07:50:05 +08:00
2569718930@qq.com 2670e2f8ee feat: implement interactive temperature chart dashboard with runway trend visualization and multi-source data collection support 2026-05-27 01:16:49 +08:00
2569718930@qq.com c4119c1aab feat: add LiveTemperatureThresholdChart component and corresponding SSE architecture tests 2026-05-27 00:53:53 +08:00
2569718930@qq.com 40dcd6e8f0 feat: implement core logic and visualization components for runway temperature monitoring with SSE patching support 2026-05-27 00:44:38 +08:00
2569718930@qq.com 6b2c99cea4 feat: implement SSE architecture for real-time temperature updates with componentized dashboard charts and validation tests 2026-05-27 00:24:19 +08:00
2569718930@qq.com 50ac181b8d feat: add default visibility policies and chart data logic for temperature scan terminal 2026-05-27 00:05:55 +08:00
2569718930@qq.com 91ccb061a7 feat: implement LiveTemperatureThresholdChart and associated data processing logic with comprehensive unit tests 2026-05-26 23:56:42 +08:00
2569718930@qq.com b3496bed2d feat: add LiveTemperatureThresholdChart component with SSE-driven data synchronization and automated polling fallback 2026-05-26 23:28:43 +08:00
2569718930@qq.com b6194b4756 feat: implement live temperature threshold chart logic with auto-visibility policies and snapshot testing 2026-05-26 23:12:48 +08:00
2569718930@qq.com 645e304b3e feat: implement SSE-based real-time event distribution system with replay support and heartbeat functionality 2026-05-26 22:27:55 +08:00
2569718930@qq.com 5c6ffa4742 docs: shorten realtime patch replay retention 2026-05-26 22:10:15 +08:00
2569718930@qq.com ff104cfc31 docs: design production realtime sse patches 2026-05-26 22:08:44 +08:00
2569718930@qq.com 7a9dc35c63 Settlement 标签改为显示当地官方站点名称
- HourlyForecast 新增 settlementStationLabel 字段
- 从 detail JSON settlement_station.settlement_station_label 解析
- 台北显示 中央气象署台北站,其他城市有官方站名的也会显示
2026-05-26 21:30:33 +08:00
2569718930@qq.com a17ba0efb9 docker-compose 加 json-file 日志上限 50m×3,防止容器日志吃光磁盘 2026-05-26 20:58:30 +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 88b80d66e8 全局替换旧域名 polyweather-pro.vercel.app → polyweather.top
- payment-host: 移除 vercel 域名,加 www.polyweather.top
- CORS: 移除 vercel,加 www
- bot: 绑定链接 + 市场概览提示
- weather_sources: User-Agent
2026-05-26 19:53:47 +08:00
2569718930@qq.com dd585ac83b 模型区间数据修复:scan row 优先 daily models,fallback 到 multi forecasts + hourly
- 后端 _build_quick_row: model_cluster_sources 先从 multi_model_daily 取 daily models
- 前端 chart: modelValues 优先 row.model_cluster_sources,缺失时从 hourly.multiModelDaily 补
2026-05-26 11:51:27 +08:00
2569718930@qq.com bf1ee43ffe 台北 Settlement 标签从 跑道实测 改为 CWA 2026-05-26 11:36:00 +08:00
2569718930@qq.com 72d2f360c6 feat: add LiveTemperatureThresholdChart component for real-time runway temperature monitoring 2026-05-26 11:28:33 +08:00
2569718930@qq.com 4ad1014108 修复全局 CORS:NEXT_PUBLIC_API_BASE_URL 默认改为空,前端请求走 Next.js 代理 2026-05-26 11:23:12 +08:00
2569718930@qq.com c43f92cdeb CI build-and-push 前后端并行构建,matrix 策略砍半墙钟时间 2026-05-26 11:18:18 +08:00
2569718930@qq.com 777b7465b7 SSE CORS 修复:EventSource 跨域 + preflight OPTIONS
- sse_router: 显式加 Access-Control-Allow-Origin + Allow-Credentials,新增 OPTIONS
- use-sse-patches: CORS 失败自动切 BFF 代理降级
2026-05-26 11:15:41 +08:00
2569718930@qq.com a4891d58cd feat: implement SSE patch synchronization with frontend hooks and backend infrastructure 2026-05-26 11:12:48 +08:00
2569718930@qq.com 55439977f6 文档更新 + SSE hook 修复 2026-05-26 11:02:33 +08:00
2569718930@qq.com 7045e11082 修复 weather_sources.py MADIS cache 清理中未定义的 now 变量 2026-05-26 10:40:00 +08:00
2569718930@qq.com 23882ac1ef SSE Patch 增量推送架构全链路实现
- web/sse_manager.py: asyncio.Queue 连接池 + broadcast + event_stream
- web/routers/sse_router.py: GET /api/events + POST /api/internal/collector-patch
- weather_sources.py: 采集后 POST patch 给 web
- Nginx polyweather.conf: /api/events proxy_buffering off
- frontend/api/events/route.ts: Next.js SSE 代理
- frontend/hooks/use-sse-patches.ts: EventSource + useLatestPatch + 重连
- LiveTemperatureThresholdChart: mergePatchIntoHourly 增量合并
- scan-terminal-query: 接入 SSE patch 更新行数据
- 新增 ssePatchArchitecture.test.ts 架构测试
2026-05-26 10:39:17 +08:00
2569718930@qq.com 14252915ab 移除图表点击时的毛玻璃 loading 蒙层,改为静默后台更新 2026-05-26 09:54:16 +08:00
2569718930@qq.com fbd00df72f 移除图表 Brush 缩放拖拽组件,简化交互 2026-05-26 09:52:09 +08:00
2569718930@qq.com 4d103a7a38 test: add unit tests for country network snapshots, city time zone mappings, and METAR data source logic 2026-05-26 09:48:46 +08:00
2569718930@qq.com dd72908e0e 60s 轮询扩展:跑道曲线 + 站点观测同步刷新
原来只轮询 summary 拿 current.temp 更新数字。
现在同时 fetch detail?depth=full 合并 amos/runway_plate_history/
airport_primary_today_obs 等字段,跑道曲线和站点线每 60s 刷新。
后端 CITY_FULL_CACHE_TTL_SEC=60 保证轻量命中缓存。
2026-05-26 09:46:36 +08:00
2569718930@qq.com 6e6d27f323 莫斯科数据源简化:移除 METAR 集群 + NOAA 结算,仅保留 UUWW 单站
- city_registry: settlement_source noaa → metar
- weather_sources: 移除 Moscow METAR cluster 5 站配置
- country_networks: 删除 RussiaStationWebNetworkProvider 类
- 文档: Tier 4 备注更新
2026-05-26 09:20:49 +08:00
2569718930@qq.com 0fffc0faa1 修复 weather_sources.py 缺少 timezone 导入 2026-05-26 09:14:34 +08:00
2569718930@qq.com 45365df694 CoWIN 6087 历史持久化 + 跑道曲线聚合 + 模型区间修复 + HKO 曲线对调 + 毛玻璃加载层
- weather_sources: CoWIN 1min 观测写入 official_intraday_observations_store
- country_networks: cowin_obs 源从 DB 回读 1min 历史,不复用 VHHH METAR
- analysis_service: 跑道实测 36h 历史按跑道分组,透传至前端
- scan_terminal_city_row: model_cluster_sources fallback 修复 + runway_plate_history
- 前端: CoWIN 6087 升级为主轴实线,HKO 退为虚线,VHHH METAR 轻虚线
- 前端: Loading 升级为毛玻璃全卡蒙层
2026-05-26 09:13:39 +08:00
2569718930@qq.com 09a8e1bfbe SEO 全链路:OG/Twitter 标签 + robots.txt + sitemap.xml + JSON-LD 结构化数据
- layout metadata: Open Graph + Twitter Card + canonical + robots 指令
- app/robots.ts: 允许首页/auth,禁止 /terminal/account/ops/api
- app/sitemap.ts: 首页 1.0 + /auth/login 0.6
- 首页 JSON-LD: WebApplication schema,含 $10/mo 定价
2026-05-26 08:43:55 +08:00