 WrBugandClaude Opus 4.7
|
8ab8ae5205
|
style: 全局将 USDC 展示替换为 $ 符号
前端所有金额展示从 "100.00 USDC" 改为 "$100.00" 格式,
后端 Telegram 通知模板和错误提示同步更新。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-04-28 22:23:49 +08:00 |
|
WrBug
|
40081c2464
|
feat: 为所有数值显示添加千分位分隔符
- 重构 formatNumber 和 formatUSDC 函数,默认添加千分位分隔符
- 更新 Statistics.tsx、CopyTradingStatistics.tsx 等统计页面
- 更新 PositionList.tsx 持仓列表的数值显示
- 更新 AccountList.tsx 账户列表的余额显示
- 所有数值(金额、数量、价格等)现在默认显示千分位
- 示例:1234567.89 显示为 1,234,567.89
影响范围:
- 工具函数:utils/index.ts
- 统计页面:Statistics.tsx, CopyTradingStatistics.tsx
- 业务页面:PositionList.tsx, AccountList.tsx
Changes:
- Refactored formatNumber and formatUSDC to include thousand separators by default
- Updated statistics pages to display numbers with commas
- Updated position list and account list for better readability
- Example: 1234567.89 now displays as 1,234,567.89
|
2026-01-31 00:52:42 +08:00 |
|
WrBug
|
1a9407c544
|
feat: 完成前端多语言支持和菜单优化
- 缩短菜单标题,解决显示不全问题
- 添加跟随系统语言选项,作为默认选项
- 移除语言切换时的页面刷新,实现无刷新切换
- 完成主要页面的多语言替换:
* ConfigPage - 全局配置页面
* ResetPassword - 重置密码页面
* LeaderList - Leader 列表页面
* UserList - 用户列表页面
* Statistics - 统计信息页面
* OrderList - 订单列表页面
* TemplateList - 模板列表页面
* CopyTradingList - 跟单配置列表页面
- 添加简体中文、繁体中文和英文的完整翻译键
- 优化语言设置页面,支持跟随系统语言
|
2025-12-04 10:36:28 +08:00 |
|
WrBug
|
719b01508a
|
feat: 完成统计功能实现并修复 WebSocket 并发问题
- 实现全局统计接口(/api/copy-trading/statistics/global)
- 实现 Leader 统计接口(/api/copy-trading/statistics/leader)
- 实现分类统计接口(/api/copy-trading/statistics/category)
- 优化前端统计页面,支持时间范围筛选和响应式布局
- 修复 WebSocket 并发发送消息导致的状态冲突问题
- 为每个会话添加同步锁,确保消息按顺序发送
- 优化错误处理,避免 TEXT_PARTIAL_WRITING 异常
|
2025-12-03 02:02:18 +08:00 |
|
WrBug
|
4d322424c1
|
feat: 统一USDC金额格式化,添加formatUSDC工具函数
- 新增 formatUSDC 函数:最多显示4位小数,自动去除尾随零(截断,不四舍五入)
- 统一导出所有工具函数到 utils/index.ts
- 替换所有页面中的USDC显示为 formatUSDC 函数
- TemplateList.tsx
- CopyTradingAdd.tsx
- PositionList.tsx
- AccountList.tsx
- AccountDetail.tsx
- OrderList.tsx
- Statistics.tsx
- 更新前端开发规范,添加USDC格式化规范说明
- 统一工具函数导入方式(从 ../utils 导入)
|
2025-12-01 23:22:18 +08:00 |
|
WrBug
|
389a758c89
|
fix: 修复交易统计和L2认证问题
- 修复交易统计数据计算逻辑(总订单数、已完成订单数、持仓数量)
- 修复L2认证签名生成,支持URL-safe base64格式的secret
- 添加标准HTTP请求头以匹配clob-client行为
- 移除数据库加密(私人应用,明文存储)
- 添加自动获取API Key功能
- 优化持仓数量统计(包括正负仓位)
- 添加EIP-712签名和L1认证支持
- 更新前端账户管理界面
|
2025-11-26 22:26:50 +08:00 |
|
WrBug
|
4f7fef145f
|
Initial commit: Polymarket copy trading bot
- Backend: Spring Boot + Kotlin implementation
- Account management with private key import
- Leader management
- Copy trading configuration
- Order synchronization
- Balance and position queries via Polymarket API
- Ethereum RPC integration for USDC balance
- Proxy address calculation
- Frontend: React + TypeScript
- Account management UI
- Mobile responsive design
- Account import with private key/mnemonic support
- Balance display and account details modal
- Database: MySQL with Flyway migrations
- API Integration: Polymarket CLOB API, Data API, Ethereum RPC
|
2025-11-21 04:32:08 +08:00 |
|