Commit Graph

16 Commits

Author SHA1 Message Date
shaw
6eae292922 fix(admin-spa): 修正时区计算双重偏移问题
- 重写getSystemTimezoneDay函数,修复之前的双重偏移错误
- 简化时间计算逻辑,直接使用Date.UTC创建系统时区时间
- 移除不必要的getDateInSystemTimezone调用

问题原因:
之前的实现在计算系统时区日期时进行了双重偏移,导致时间范围错误

修复后:
- 正确计算系统时区某一天的起止UTC时间
- "昨天"选项现在正确显示系统时区的完整一天(如29号0:00到29号23:59)
- 适配所有时区的用户,不依赖用户浏览器时区

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 11:01:51 +08:00
shaw
a265ebf335 fix(admin-spa): 修复仪表板图表时区处理问题
- 修复前端时间计算逻辑,正确处理不同时区用户的时间范围选择
- 添加系统时区信息到dashboard API响应
- 修改getSystemTimezoneDay函数,确保正确处理系统时区的日期转换
- 修复"昨天"和"前天"时间范围计算,基于系统时区而非用户时区
- 添加后端调试日志以便追踪时间转换问题

问题描述:
- 选择"昨天"时显示29号7:00到30号6:00(错误)
- 选择"近24小时"时显示29号17:00到30号17:00(错误)

修复后:
- "昨天"正确显示完整一天(如29号0:00到29号23:59)
- "近24小时"正确显示从当前时间往前24小时
- 支持所有时区的用户,不再硬编码UTC+8偏移

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 10:52:26 +08:00
shaw
496569d110 修复仪表板折线图时间范围计算错误(UTC+8时区) 2025-07-30 10:34:20 +08:00
KevinLiao
0516547285 fix: 优化ClaudeConsole账号模型选择提示 2025-07-30 09:42:02 +08:00
KevinLiao
34dca961ef fix: 1. 修复调度优先级以及手动禁止调度逻辑的问题
2. 优化列表优先级显示
2025-07-30 09:30:11 +08:00
KevinLiao
fddd5ee3e9 feat: 新增标准Claude Console API账号支持 2025-07-30 08:19:44 +08:00
github-actions[bot]
864c7c76e6 chore: sync VERSION file with release v1.1.49 and rebuild frontend [skip ci] 2025-07-29 11:22:36 +00:00
shaw
d761e89925 fix(admin-spa): 替换原生确认弹窗为自定义弹窗并修复按钮样式
- 替换API Key删除确认弹窗为自定义ConfirmDialog组件
- 替换API Key创建成功后关闭确认弹窗为自定义弹窗
- 修复'我已保存'按钮样式,增加背景色对比度和边框
- 添加降级方案以确保兼容性
2025-07-29 19:21:01 +08:00
github-actions[bot]
96520bca57 chore: sync VERSION file with release v1.1.48 and rebuild frontend [skip ci] 2025-07-29 10:37:16 +00:00
github-actions[bot]
7a9e04f169 chore: sync VERSION file with release v1.1.47 and rebuild frontend [skip ci] 2025-07-29 09:06:30 +00:00
github-actions[bot]
514d2f5377 chore: sync VERSION file with release v1.1.46 and rebuild frontend [skip ci] 2025-07-29 08:38:31 +00:00
github-actions[bot]
31ccf48b00 chore: sync VERSION file with release v1.1.45 and rebuild frontend [skip ci] 2025-07-29 08:14:59 +00:00
github-actions[bot]
f23b9bd222 chore: sync VERSION file with release v1.1.44 and rebuild frontend [skip ci] 2025-07-29 07:50:00 +00:00
shaw
ff6a361720 fix(admin-spa): 完善账户管理代理信息显示功能
- 修复账户列表中代理信息显示,支持用户名密码部分隐藏
- 修复编辑账户时自动勾选代理设置并正确显示代理信息
- 改进代理密码输入框使用密码类型
- 将 admin-spa/dist 目录加入 .gitignore 并从版本控制中移除

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 15:49:15 +08:00
github-actions[bot]
5795e8cdef chore: sync VERSION file with release v1.1.43 and rebuild frontend [skip ci] 2025-07-29 07:12:23 +00:00
github-actions[bot]
5a6740cce7 chore: sync VERSION file with release v1.1.42 and rebuild frontend [skip ci] 2025-07-29 06:23:07 +00:00