Commit Graph

78 Commits

Author SHA1 Message Date
2569718930@qq.com 668f4d9bd3 Optimize terminal batching and cache guards 2026-05-31 18:28:50 +08:00
2569718930@qq.com 2a6d8748f4 Improve ops monitoring and chart loading 2026-05-31 03:21:58 +08:00
2569718930@qq.com ca72072da0 Optimize terminal startup and deployment smoke checks 2026-05-31 01:56:08 +08:00
2569718930@qq.com 9bcfd9d1eb Improve landing performance and analytics funnel 2026-05-30 19:50:50 +08:00
2569718930@qq.com 9e3a4e2f45 Fix WU historical current observation merge 2026-05-29 17:20:07 +08:00
2569718930@qq.com 618bac8b57 feat: add live temperature threshold chart logic and components for runway monitoring 2026-05-29 02:10:07 +08:00
2569718930@qq.com b239ad131f fix: keep terminal charts visible during scan refresh 2026-05-28 09:07:09 +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 2026-05-27 10:17:33 +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 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 7a9dc35c63 Settlement 标签改为显示当地官方站点名称
- HourlyForecast 新增 settlementStationLabel 字段
- 从 detail JSON settlement_station.settlement_station_label 解析
- 台北显示 中央气象署台北站,其他城市有官方站名的也会显示
2026-05-26 21:30:33 +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 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 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 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 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 23203f6ebb 图表 stats bar 温度数字 60 秒级轻量轮询
liveTemp state 独立于 hourly 缓存,每 60s fetch /api/city/{city}/summary。
只取 current.temp,不触发 _analyze() 重算。
图表曲线保持 5min TTL,顶部数字最快 1min 级更新。
2026-05-26 08:30:33 +08:00
2569718930@qq.com 5d10d60dcb 缓存 TTL 对齐:图表内存/会话缓存统一降为 5 分钟(metar),与大表刷新同步
- HOURLY_CACHE_TTL_MS: model(30min) → metar(5min)
- SESSION_CACHE_TTL_MS: 10min → metar(5min)
- 消除大表已刷新但折线图仍显示旧温度的时差问题
2026-05-26 08:13:37 +08:00
2569718930@qq.com 598cd17c0b 城市图表增加 LoadingSignal 组件:detail 数据加载中显示进度指示 2026-05-26 07:57:38 +08:00
2569718930@qq.com 00e3007949 feat: add LiveTemperatureThresholdChart component to dashboard scan-terminal 2026-05-26 07:32:02 +08:00
2569718930@qq.com 04dcbcd6ea 移除图表跑道系列的 AMOS/AMSC source 标签 2026-05-26 06:31:55 +08:00
2569718930@qq.com 3a82c11e78 feat: implement LiveTemperatureThresholdChart and add visibility and refresh policy unit tests 2026-05-26 06:13:18 +08:00
2569718930@qq.com e1417f607d feat: implement LiveTemperatureThresholdChart and add visibility policy unit tests 2026-05-26 05:46:45 +08:00
2569718930@qq.com 26b6f3ae9b 删除 AI 机场解读 12 个失效测试 2026-05-25 23:14:48 +08:00
2569718930@qq.com ea5c6ec71e 清理市场概览残留:删除 MarketOverviewBanner+refresh_policy 中的 marketOverview 条目 2026-05-25 23:04:40 +08:00
2569718930@qq.com a3db39909d 术语统一:合约/市场/交易 → 阈值/信号/实况路径/多模型预测 2026-05-25 22:51:53 +08:00
2569718930@qq.com de8e92c985 feat: implement ScanTerminalDashboard and LiveTemperatureThresholdChart components 2026-05-25 22:06:54 +08:00
2569718930@qq.com 5202ed06ff 巴黎 AROME 仅在 AEROWEB 为主源时作对比展示,避免与当前温度重复 2026-05-25 21:38:10 +08:00
2569718930@qq.com 0e81b974e7 巴黎推送标明数据源:AEROWEB 实况或 AROME HD 临近预报 2026-05-25 21:28:17 +08:00
2569718930@qq.com 7a10f4b474 统一 METAR 获取:非 HK/深圳城市走同一条 NOAA 路径,前端移除所有流浮山字样 2026-05-25 21:15:14 +08:00
2569718930@qq.com 7b8826dfa1 清理最后一批 Polymarket 注释+死代码 WeatherDecisionBand 2026-05-25 20:53:03 +08:00
2569718930@qq.com 7f0506b897 清理残留 skip_polymarket 参数和 PM 注释 2026-05-25 20:26:26 +08:00
2569718930@qq.com 2cd43b607d 清理时区逻辑:TRADING_REGIONS→REGIONS,移除 detectLocalRegion/TZ fallback,用 CITY_REGION 硬编码替代 2026-05-25 20:23:44 +08:00
2569718930@qq.com 96b8165be1 移除图表 Polymarket 跳转链接,保留城市名称标签 2026-05-25 20:10:56 +08:00
2569718930@qq.com cdd3cd25ae 气象情报终端:移除 Polymarket 市场数据列和 MarketOverviewView
GroupedMarketTable 9列→6列(删Market/Edge/SprLiq)。continent-grouping 删 formatPrice/formatSpreadLiquidity,getGapColor 纯温度语义。KoyfinRowsTable 精简为城市列表。MobileCityCard 市场价格替换为本地时间。侧边栏移除市场概览入口。
2026-05-25 19:42:06 +08:00