Commit Graph

25 Commits

Author SHA1 Message Date
2569718930@qq.com c2fe8caddf docs: refresh v1.8.1 release docs 2026-05-28 20:46:35 +08:00
2569718930@qq.com 5ee416bd0a 从最新 logo 重新生成所有尺寸 favicon 和 PWA 图标 2026-05-25 02:11:06 +08:00
2569718930@qq.com 6672f02989 新增终端城市大洲分组设计文档
覆盖桌面端 9 列分区分组表格、移动端 Tab+卡片流布局方案。所有数据字段已就绪,无需后端改动。
2026-05-25 01:36:00 +08:00
2569718930@qq.com 8b93f8ff54 仪表盘顶栏品牌图标替换为新 logo
HeaderBar 用 apple-touch-icon 替代 CloudSun 图标,新增 static 静态资源目录。
2026-05-25 01:09:10 +08:00
2569718930@qq.com c9cff88452 更新浏览器图标为新品牌 logo
基于 public/logo.png 重新生成所有尺寸的 favicon 和 PWA 图标。
Tested: npm run build 通过
2026-05-25 00:53:39 +08:00
2569718930@qq.com a4d8c1aa39 终端升级:MiniSparkline 替换为 Recharts 交互图表,新增概率分布柱状对比图 2026-05-25 00:45:50 +08:00
2569718930@qq.com 23f7e29acc Update payment token configuration examples to show dual USDC/USDC.e setup 2026-05-20 09:25:54 +08:00
2569718930@qq.com c4b1844a67 fix: stabilize pro checkout loading 2026-05-15 00:58:40 +08:00
2569718930@qq.com 6c08a68413 @
性能与用户体验全面优化

    前端性能:
    - 移除 Three.js 依赖(~600KB),天气粒子改为纯 CSS 动画 + Canvas 2D
    - Google Fonts 切换为 next/font 自托管,消除跨域字体请求
    - 合并 ScanTerminalLightTheme.module.css (37KB) 到主 CSS,亮/暗主题统一用 CSS 变量
    - 新增 /api/dashboard/init 聚合端点,首次加载 4 次往返 → 1 次
    - 添加 Service Worker 静态资源缓存,修复 PWA manifest 配置

    用户体验:
    - 新增全局错误边界 error.tsx / global-error.tsx,崩溃不再白屏
    - 决策卡和城市详情的更新时间改为相对时间("15秒前"),每秒自动刷新
    - 数据陈旧时状态标签从青色切换为琥珀色提示

    DEB 算法增强:
    - 市场扫描路径接入 Open-Meteo 多模型数据(ECMWF/GFS/ICON/JMA/HRDPS 等)
    - MAE 计算加入时间衰减(decay_factor=0.85),近期模型误差权重更高

    Scope-risk: MEDIUM — 全量 170 测试通过,前端 TypeScript/build 通过,ruff 零告警
    Tested: python -m pytest -q (170 passed), npx tsc --noEmit (0 errors), npm run build (success), ruff check .
@
2026-05-14 21:31:05 +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 1ae9b55509 Add RP5 forecast scraping support 2026-03-17 23:15:13 +08:00
2569718930@qq.com 54544e40b9 feat: Implement core data models, backend services for weather and market data, and initial dashboard components. 2026-03-17 13:21:14 +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 1958b2764b feat: Implement core PolyWeather application with city weather query service, trend analysis, data collection, and dashboard UI. 2026-03-11 10:49:35 +08:00
2569718930@qq.com 283a935f24 feat: Implement initial weather dashboard with interactive map, city details, and API integration. 2026-03-09 10:36:03 +08:00
2569718930@qq.com d162b91ed9 feat: implement initial PolyWeather application frontend with map, city list, detailed weather panel, and guide modals. 2026-03-09 05:56:22 +08:00
2569718930@qq.com d45ee8a981 feat: embed the legacy PolyWeather dashboard into the main application page using an iframe. 2026-03-09 04:52:25 +08:00
2569718930@qq.com d184bc323c feat: introduce PolyWeather web map API and frontend with integrated weather data collection and analysis. 2026-03-09 04:41:24 +08:00
2569718930@qq.com b53f1f74bd feat: Add initial PolyWeather legacy dashboard application with map, detail panel, and temperature charts. 2026-03-08 13:24:34 +08:00
2569718930@qq.com 0417387c0b feat: introduce PolyWeather web API and frontend for interactive weather data display, centralizing data collection and analysis. 2026-03-08 12:59:45 +08:00
2569718930@qq.com 43b7c1b480 feat: Implement PolyWeather application with a map-based frontend, Python web services, market alert engine, and supporting utilities. 2026-03-06 12:31:15 +08:00
2569718930@qq.com 1e9b8a0d11 feat: Implement new Next.js frontend with an embedded Leaflet map dashboard, city markers, and Polymarket API integration. 2026-03-06 11:49:56 +08:00
2569718930@qq.com a00ef8f81e feat: Implement PolyWeather web frontend with dark theme, map, and city list UI. 2026-03-06 11:26:36 +08:00
2569718930@qq.com d9876256b3 feat: Implement initial PolyWeather application with interactive map UI, backend API, and Polymarket data client. 2026-03-06 09:38:28 +08:00
2569718930@qq.com b308709edb feat: Introduce a new Next.js modern frontend with a history API route and include legacy static assets. 2026-03-06 09:14:58 +08:00