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
c96a630d1b
账户页添加本地错误边界,支付崩溃时提示钱包冲突排查
...
用户反馈点击"立即订阅并激活服务"后页面崩溃。
新增 account/error.tsx 本地错误边界,支付流程出错时提示:
- 常见原因:多钱包插件冲突(MetaMask + Rabby 同时开启)
- 建议操作:关闭其他钱包插件后刷新重试
Error boundary is scoped to /account route only, won't affect dashboard.
Scope-risk: LOW — TypeScript 零错误
Tested: npx tsc --noEmit (0 errors)
2026-05-15 00:35:34 +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
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
357e01be3c
feat: add monitor panel component with consolidated CSS root styles
2026-05-14 01:51:55 +08:00
2569718930@qq.com
c006d13fea
MonitorPanel 从独立 API 改为复用 DashboardStore 数据,砍掉 /api/m 和 /m/json
2026-05-14 00:43:19 +08:00
2569718930@qq.com
2202f8e211
砍掉 /m HTML 页面,只保留 /m/json 给 React 组件用
2026-05-14 00:23:03 +08:00
2569718930@qq.com
fc48795299
监控页从 iframe 改为原生 React 组件:无加载延迟,30s JSON 轮询
2026-05-14 00:18:26 +08:00
2569718930@qq.com
5e653c2ec1
前端接入监控页面:新增 Monitor 标签页 + /api/m 代理
2026-05-14 00:04:26 +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
AmandaloveYang
ff4c8b0139
修复手机端无法滚动:添加 viewport meta 标签并在移动端允许根容器垂直滚动
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-12 10:06:12 +08:00
2569718930@qq.com
78cdb006e5
subscription-help: 添加 dynamic=force-dynamic 跳过预渲染
2026-05-10 20:48:20 +08:00
2569718930@qq.com
2ad4c7f1b4
修复 subscription-help 构建:拆分为服务端页面 + 客户端组件避免 prerender 报错
2026-05-10 20:29:54 +08:00
2569718930@qq.com
341825747f
UX 审查 P2 修复:X轴标签密度、极端温度视觉强化
...
- AiCityTemperatureChart:X轴标签从每4个→每3个显示,maxTicksLimit 6→8
- globals.css:新增 temp-extreme-hot(≥40°C)和 temp-extreme-cold(≤-5°C)样式
- PanelSections:Hero 温度值自动应用极端温度 CSS 类(橙色辉光/蓝色辉光)
- 华氏度自动适配:≥104°F 为极热,≤23°F 为极冷
Tested: npx tsc --noEmit
2026-05-10 17:39:22 +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
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
118d4e44df
This version of Antigravity is no longer supported. Please upgrade to receive the latest features.
2026-05-01 11:37:09 +08:00
2569718930@qq.com
1ccc275a23
Make mobile account surfaces readable
...
Mobile review found that account payment rows could collapse labels vertically and several secondary links had small touch targets on narrow phones. The patch keeps the existing visual system but allows account rows to stack on mobile, improves tap height, and tightens the Scan Terminal narrow-screen container.
Constraint: Must keep the current desktop layout and avoid adding dependencies
Rejected: Rebuild the account page layout wholesale | too broad for a targeted mobile audit
Confidence: high
Scope-risk: narrow
Directive: Keep long account/payment identifiers breakable on narrow screens
Tested: iPhone SE and iPhone 12 Playwright mobile audits show no horizontal overflow on checked pages
Tested: npx tsc --noEmit --pretty false --project frontend/tsconfig.json
Tested: npm run build
Tested: npm run test:business
Not-tested: Authenticated /ops data state because local Supabase/admin gating redirects to the public shell
2026-04-29 12:40:37 +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
d46e0c2e81
feat: implement AI-powered pinned city forecast dashboard with real-time METAR and market analysis integration
2026-04-27 00:19:52 +08:00
2569718930@qq.com
ef8ef833b9
feat: implement AI-driven METAR summary service and dashboard UI components
2026-04-26 14:03:13 +08:00
2569718930@qq.com
f39f59f47a
feat: implement AI city forecasting and market scan hooks with backend API integration for the scan terminal dashboard
2026-04-26 11:28:36 +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
3237f95e8c
feat: implement scan terminal dashboard with real-time opportunity tracking and visualization components
2026-04-26 00:24:11 +08:00
2569718930@qq.com
d5fb40a544
feat: implement weather dashboard components, state management, and API routes for terminal scanning and assistant chat
2026-04-25 06:42:24 +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
379a4b9e45
Fix intraday modal hook order
2026-04-24 13:04:27 +08:00
2569718930@qq.com
467f736602
feat: implement dashboard store and API routes for city market scanning and analysis
2026-04-24 12:46:44 +08:00
2569718930@qq.com
ddc0180ae6
Implement EMOS scan terminal with REST-only market data
2026-04-23 23:49:52 +08:00
2569718930@qq.com
79a4333aaf
feat: implement PolyWeather dashboard layout with integrated map, weather visualization, and detail panels
2026-04-23 22:35:34 +08:00
2569718930@qq.com
54b326ff42
feat: implement comprehensive Polymarket weather analysis service with frontend dashboard and market scanning capabilities
2026-04-23 20:45:32 +08:00
2569718930@qq.com
4f57d4ed1a
feat: implement PolyWeather dashboard core components, state management, and API integration
2026-04-23 19:40:38 +08:00
2569718930@qq.com
b65bdd010d
Add pro AI assistant to homepage
2026-04-23 08:44:10 +08:00
2569718930@qq.com
c3ca20c849
Hydrate homepage market data
2026-04-23 00:02:25 +08:00
2569718930@qq.com
5dcf98b810
Normalize market scan field in city proxy
2026-04-22 23:52:59 +08:00
2569718930@qq.com
a615b2f7c1
Remove probability hub page
2026-04-22 05:04:15 +08:00
2569718930@qq.com
46d8ecb372
为城市详情接口添加摘要回退响应
2026-04-22 03:39:11 +08:00
2569718930@qq.com
1765f383e4
增强页头概率页入口并优化概率标签
2026-04-22 02:59:12 +08:00
2569718930@qq.com
42dd0a7c6d
feat: implement FutureForecastModal component and market-scan API integration
2026-04-21 23:01:38 +08:00