Commit Graph

90 Commits

Author SHA1 Message Date
2569718930@qq.com e2bea367a1 校准漂移检测增加日志告警 + 更新架构文档
- core.py:drift.drifted=true 时输出 loguru warning,包含 delta% 和 sample 数量
- data-architecture-review.md:标记 2 项误诊(METAR TTL 实际 600s、轮询已有 AbortController 保护)
- 剩余真正待办:校准自动重训练(需算力)、缓存键细化(低优先级)
2026-05-10 17:06:43 +08:00
2569718930@qq.com 27095025e7 更新数据架构审查文档:标记 8/8 已修复,保留 4 项低优先级待办 2026-05-10 17:02:02 +08:00
2569718930@qq.com c0bb2acf78 修复数据链路 P0 瓶颈:缓存炸弹、Context 重渲染、LGBM 循环、TTL 不匹配
P0-1 sessionStorage 限制:
- writeCityDetailCacheBundle 只保留最近 3 个城市的详情
- 避免 3-10MB JSON 序列化阻塞主线程

P0-2 Context 拆分:
- 新增 CityDetailsContext 独立管理 cityDetailsByName 变更
- 新增 useCityDetails hook,只订阅详情的组件不再因 cities/proAccess 变化重渲染
- DashboardStoreContext 保持不变,向后兼容

P0-3 扫描终端 TTL:
- SCAN_TERMINAL_PAYLOAD_TTL_SEC 30s → 120s
- 匹配 ThreadPoolExecutor(4) x 60 城的实际重算耗时

P0-4 LGBM 循环依赖:
- LGBM 预测值不再作为 DEB 输入参与权重计算
- 保留为独立参考字段 lgbm.prediction 输出给前端展示
- 消除 DEB → LGBM 训练 → DEB 的循环

新增 docs/data-architecture-review.md 完整数据链路审查报告

Tested: npx tsc --noEmit, python -m ruff check .
2026-05-10 16:48:28 +08:00
2569718930@qq.com 8cc7e9a996 移除"已完成"章节:文档只保留待办事项和产品亮点 2026-05-10 16:31:22 +08:00
2569718930@qq.com c9d3a27e88 精简产品审查文档:已解决问题移入"已完成"章节,保留待办 2026-05-10 16:29:10 +08:00
2569718930@qq.com e52f1a46f6 更新产品审查文档:标记修复进度 12/14,账户设置标记为不做 2026-05-10 16:23:37 +08:00
2569718930@qq.com de0f037bf4 产品体验修复:P0 阻塞 + P1/P2 改善(产品审查 14 项中修复 10 项)
P0 阻塞:
- Pro 加载不再阻塞整个看板:只显示精简顶栏 + 加载状态,不再遮盖整个页面
- Scan 失败加重试按钮:所有用户(含免费)均可手动重试
- Detail Panel 同步超时后显示提示:"同步时间较长,当前展示的数据可能不完整"

P1 体验:
- 登录页增加"忘记密码"链接:调用 Supabase 密码重置流程
- 登录失败/邮箱未验证增加明确提示:"如刚注册,请先点击验证链接"
- 公告横幅增加 ✕ 关闭按钮:点击后永久隐藏

P2 改善:
- entitlement-required 页面重设计:品牌化、增加返回首页和登录按钮
- 订阅帮助页中英双语:所有 FAQ 和 UI 文案支持中英文切换
- 新增产品审查文档 docs/product-review-jun-2026.md

Tested: npx tsc --noEmit
2026-05-10 16:13:34 +08:00
2569718930@qq.com 32019c89f5 更新项目文档至 v1.6.0:同步前端设计系统重构成果
- CHANGELOG.md:新增 v1.6.0 条目,完整记录 15 项前端设计审查修复
- CLAUDE.md:新增 CSS Variables First / 避免 !important 代码规范、scan-root-styles.ts 桶文件说明、Quality Gate 增加硬编码颜色检查
- README.md / README_ZH.md:产品状态补充前端设计系统重构摘要
- docs/TECH_DEBT_ZH.md:标记前端工程债务已关闭、更新债务比例 95%→97%、版本号 v1.5.4→v1.6.0
2026-05-10 14:35:36 +08:00
2569718930@qq.com ca0b25d84f 清理冗余文档:移除过期报告、重复文件和 AI 生成配置
- 移除 FRONTEND_REDESIGN_REPORT.md(v1.5.1 旧报告,已被 frontend-ui-design-review.md 取代)
- 移除 docs/TECH_DEBT.md(与 TECH_DEBT_ZH.md 完全重复)
- docs/ 目录集中管理所有项目文档,无需移动

Cleaned: outdated-report, duplicate-doc
2026-05-10 14:31:10 +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 f0436f498a This version of Antigravity is no longer supported. Please upgrade to receive the latest features. 2026-04-29 21:10:56 +08:00
2569718930@qq.com 6da72b5488 This version of Antigravity is no longer supported. Please upgrade to receive the latest features. 2026-04-29 19:10:25 +08:00
2569718930@qq.com 5b32e71f5d This version of Antigravity is no longer supported. Please upgrade to receive the latest features. 2026-04-29 18:52:55 +08:00
2569718930@qq.com 6819787d44 docs: add deep research report documentation 2026-04-27 01:45:44 +08:00
2569718930@qq.com e2ad51ee65 feat: implement AI city forecast streaming service and documentation 2026-04-27 01:38:37 +08:00
2569718930@qq.com 658689bc92 Clarify EMOS local training and rollout docs 2026-04-19 06:11:21 +08:00
2569718930@qq.com 855b1df8dc Add EMOS retraining snapshot limit and verbose logging 2026-04-19 04:25:15 +08:00
2569718930@qq.com 260550763f Support runtime EMOS auto-retrain outputs 2026-04-19 04:16:12 +08:00
2569718930@qq.com 7c3b8ec459 Add EMOS auto retraining and gating 2026-04-19 04:08:48 +08:00
2569718930@qq.com 1892d638fa Promote EMOS to the primary probability engine 2026-04-19 03:36:26 +08:00
2569718930@qq.com fe6477b09c Use existing loading state for sparse detail 2026-04-18 14:40:29 +08:00
2569718930@qq.com 5f0677447e Rename AIFS model group to avoid AI forecast wording 2026-04-17 00:59:10 +08:00
2569718930@qq.com 19169e4bdb Document model stack and DEB deduplication 2026-04-17 00:40:46 +08:00
2569718930@qq.com 373e7cfec6 Shift default prewarm cities from US to Asia and Europe 2026-04-10 11:22:11 +08:00
2569718930@qq.com a5eff0031c Update docs for v1.5.3 release 2026-04-10 08:04:25 +08:00
2569718930@qq.com e32eff6e31 Expand ops admin views for truth history and training data 2026-04-03 01:38:53 +08:00
2569718930@qq.com bbdba2540c Add admin truth history dashboard and training data ops views 2026-04-03 01:27:54 +08:00
2569718930@qq.com 37cd8b8166 Update deep research report for monitoring progress 2026-04-02 23:35:13 +08:00
2569718930@qq.com 90791b6070 Refactor monitoring relay alert dispatch 2026-04-02 23:30:52 +08:00
2569718930@qq.com 95c0c452f1 Finalize SQLite defaults and refresh calibration artifacts 2026-04-02 23:24:38 +08:00
2569718930@qq.com 149452dcc0 Switch market digests to interval-based pushes 2026-04-01 19:23:35 +08:00
2569718930@qq.com 384fd7d1e4 Remove mispricing price cap from market alerts 2026-04-01 18:46:46 +08:00
2569718930@qq.com c9719cf577 Add local peak timing and /markets bot digest 2026-04-01 18:24:50 +08:00
2569718930@qq.com 342ed77283 Document market monitor bot settings and retire wallet activity 2026-04-01 17:53:31 +08:00
2569718930@qq.com a8462e188b Add external monitoring stack and alerting docs 2026-04-01 01:49:58 +08:00
2569718930@qq.com 6626b5472c Update docs for SQLite migration second-phase cleanup 2026-03-31 23:06:19 +08:00
2569718930@qq.com 16404ccf71 Switch repository licensing to AGPL-3.0 2026-03-30 00:46:01 +08:00
2569718930@qq.com 0cc4f4f0d3 Add LightGBM daily high forecasting pipeline 2026-03-29 23:29:17 +08:00
2569718930@qq.com 1dfdd18421 Document TAF signals and expand METAR weather translations 2026-03-24 04:21:23 +08:00
2569718930@qq.com 1461d02488 feat: Integrate TAF data for non-Hong Kong airport cities, enhance intraday structural analysis, and add new Chinese documentation for API, configuration, and deployment. 2026-03-24 04:03:41 +08:00
2569718930@qq.com 06b1e1b9fe Release v1.5.1 and improve mobile dashboard layouts 2026-03-23 17:54:14 +08:00
2569718930@qq.com dd720582d5 Update docs for ops, payments, and deployment guidance 2026-03-21 14:52:25 +08:00
2569718930@qq.com e7e52c0da7 Release v1.5.0 and add ops admin dashboard 2026-03-21 00:40:28 +08:00
2569718930@qq.com e4b8d71653 Refresh docs for observability, payments, and SQLite rollout 2026-03-21 00:03:18 +08:00
2569718930@qq.com 98d36a9174 Fix weekly points display and clarify leaderboard stats 2026-03-20 23:50:40 +08:00
2569718930@qq.com a0b8a3595c feat: Implement payment processing with contract auditing, event loops, and web observability endpoints. 2026-03-20 23:33:50 +08:00
2569718930@qq.com 7225b8bcc7 docs: Add deep research report. 2026-03-20 23:07:15 +08:00
2569718930@qq.com f6771247a6 Add config validation and deployment docs 2026-03-20 22:00:02 +08:00
2569718930@qq.com 3196552c78 Archive probability snapshots and wire them into training 2026-03-20 21:30:52 +08:00
2569718930@qq.com 03dcb4329b Refine EMOS calibration and add Chinese training report 2026-03-20 21:17:37 +08:00