Commit Graph

60 Commits

Author SHA1 Message Date
AmandaloveYang 787d04619b feat: revamp points/reward system for inclusive engagement
- /city /deb now free, capped at 10/day each (was 2 pts cost)
- Welcome bonus +20 pts on first-ever valid message
- First-message-of-day bonus +2 pts
- Weekly winner point bonuses reduced (500→200, 300→100, 150→50)
- Weekly participation rewards for all active users (+5 base, +15 for ≥20 pts)
- Pro-day rewards for top 3 unchanged

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 13:35:52 +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 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 6914e6277b feat: implement backend routing, dashboard components, and transaction reconciliation scripts 2026-04-19 20:14:07 +08:00
2569718930@qq.com f98388ce69 Allow trial users to open checkout 2026-04-17 20:01:18 +08:00
2569718930@qq.com 41cfb65b92 Show queued subscription access and fix forecast time plotting 2026-04-13 16:35:22 +08:00
2569718930@qq.com 15022c77c0 Gate checkout overlay by subscription recovery eligibility 2026-04-10 09:00:37 +08:00
2569718930@qq.com fbd1e4ab16 Persist recent payment recovery state across account sessions 2026-04-06 20:40:26 +08:00
2569718930@qq.com ee40045b70 Hardcode Telegram market channel URL and update bot tests 2026-04-01 20:34:41 +08:00
2569718930@qq.com 65688dffd9 Add Telegram market monitor channel link to account center 2026-04-01 20:27:49 +08:00
2569718930@qq.com c29b560401 Add app analytics tracking for paywall and checkout events 2026-03-31 07:15:54 +08:00
2569718930@qq.com 538de5cdd8 Add subscription expiry reminders across account and dashboard 2026-03-30 00:58:43 +08:00
2569718930@qq.com 6feb4ff489 Show weekly points in account center 2026-03-23 21:32:18 +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 d2b27b1020 Add manual payment support note to account page 2026-03-22 20:24:48 +08:00
2569718930@qq.com 7171192ea6 Guard payments to allowed hosts and show checkout context 2026-03-22 13:42:48 +08:00
2569718930@qq.com adf2924a1c Refresh payment config before checkout 2026-03-21 13:49:08 +08:00
2569718930@qq.com b11836a378 Deduplicate detected browser wallet options 2026-03-21 12:44:19 +08:00
2569718930@qq.com f7c5a2f443 Fix wallet deduping and refresh account state after binding 2026-03-21 12:40:11 +08:00
2569718930@qq.com 290dd2b3cf Add EIP-6963 wallet discovery for injected providers 2026-03-21 12:34:36 +08:00
2569718930@qq.com ac03fb74be Fix browser wallet selection for injected providers 2026-03-21 12:27:54 +08:00
2569718930@qq.com 4413b31396 Fix Pro payment recovery and wallet provider selection 2026-03-21 12:19:53 +08:00
2569718930@qq.com 69f24ddc08 Optimize frontend performance and add route-level web vitals tracking 2026-03-18 20:38:43 +08:00
2569718930@qq.com 9ac0a13937 Assess PolyCop copytrade bot info 2026-03-17 19:18:37 +08:00
2569718930@qq.com 7345b70958 Fix vercel link scope error 2026-03-17 15:23:59 +08:00
2569718930@qq.com 5d2ed68cdf Adjust wallet unlink token handling 2026-03-17 15:13:57 +08:00
2569718930@qq.com 7510e0a1e0 feat: implement user account center with authentication, subscription management, and EVM wallet integration. 2026-03-17 14:32:15 +08:00
2569718930@qq.com 217414408c Handle wallet session expiration 2026-03-17 14:18:25 +08:00
2569718930@qq.com 90c998f06d feat: Introduce account center with subscription management and contract-based payment integration. 2026-03-17 13:57:44 +08:00
2569718930@qq.com 609fc8914a feat: Implement user account center with authentication, subscription management, and cryptocurrency payment integration. 2026-03-16 20:30:46 +08:00
2569718930@qq.com 6d1f77cac1 feat: implement user account management and dashboard components. 2026-03-14 13:33:06 +08:00
2569718930@qq.com 02e35a3a5f feat: Implement a new contract-based payment system with wallet binding, payment intents, and subscription plan management. 2026-03-14 10:35:30 +08:00
2569718930@qq.com db2f22509b feat: Add account center with crypto payment checkout and wallet management. 2026-03-13 21:08:57 +08:00
2569718930@qq.com f27970f157 feat: Introduce Pro subscription unlock overlay, paywall, and related account and help pages. 2026-03-13 20:38:10 +08:00
2569718930@qq.com 3d9d4dcd64 feat: implement account center component for user management, subscriptions, and EVM payments. 2026-03-13 20:09:49 +08:00
2569718930@qq.com 80acade251 feat: implement user account center with subscription and EVM wallet payment integration, along with initial project configuration files. 2026-03-13 18:06:08 +08:00
2569718930@qq.com ac9e537070 feat: Implement initial web frontend, comprehensive database management, and a bot-based weekly reward system. 2026-03-13 16:47:25 +08:00
2569718930@qq.com e780830f76 feat: Introduce web application with Supabase authentication, entitlement, and account management. 2026-03-13 15:39:25 +08:00
2569718930@qq.com aa98623cab feat: implement Pro subscription with a frontend unlock overlay and blockchain-based payment integration. 2026-03-13 13:58:41 +08:00
2569718930@qq.com f00360ed56 feat: add account center with subscription management and EVM wallet payment integration. 2026-03-13 13:13:51 +08:00
2569718930@qq.com e798a4f33a feat: Introduce account center for user management and crypto payments; add Telegram push utility. 2026-03-13 13:01:57 +08:00
2569718930@qq.com 50a2202930 feat: Add bot analysis and command services, bot settings, and a frontend account center with subscription and EVM wallet integration. 2026-03-13 12:45:39 +08:00
2569718930@qq.com 04fda60fb4 feat: implement account center for user profile management, payments, and wallet binding. 2026-03-13 11:51:01 +08:00
2569718930@qq.com c031d9caeb feat: add AccountCenter component for user profile, payments, and wallet management. 2026-03-13 11:40:50 +08:00
2569718930@qq.com 534eef4197 feat: implement new AccountCenter component for user profile, authentication, and payment management 2026-03-13 10:52:31 +08:00
2569718930@qq.com e201856700 feat: add AccountCenter component for user account management, payment configurations, and wallet binding. 2026-03-13 10:24:14 +08:00
2569718930@qq.com 74232907a9 feat: Add AccountCenter component for user profile, authentication, and payment management. 2026-03-13 10:19:59 +08:00
2569718930@qq.com 024df2dc5b feat: implement user account center with authentication, payments, and subscriptions. 2026-03-13 10:14:13 +08:00
2569718930@qq.com 9531cc4b64 feat: Implement AccountCenter component for user profile, points, and payment management. 2026-03-13 09:52:06 +08:00
2569718930@qq.com 990182e089 feat: Implement account center for user authentication, subscription, and payment management. 2026-03-13 09:50:04 +08:00