- 08 Mar, 2026 9 commits
-
-
erio authored
Display daily/weekly/total quota utilization as progress bars in the usage window column for API Key accounts, providing visual feedback consistent with other account types (OAuth/Gemini). - Daily quota: "1d" label with reset countdown - Weekly quota: "7d" label with reset countdown - Total quota: "total" label (no reset)
-
Wesley Liddick authored
feat(ui): 使用记录页面点击用户邮箱可查看用户信息和充值记录
-
Wesley Liddick authored
feat(ui): 优化分组选择器、交互体验和样式遮挡体验问题
-
Wesley Liddick authored
fix: 修复 OpenAI WS 用量窗口刷新与限额状态不同步
-
Wesley Liddick authored
feat(account): 为 API Key 账号新增日/周周期性配额限制
-
Wesley Liddick authored
fix: 简易模式仅提升管理员默认并发到 30
-
bayma888 authored
- UsageTable 用户邮箱改为可点击链接,点击弹出余额变动记录 - 复用 UserBalanceHistoryModal 组件,通过 getById API 获取完整用户信息 - 新增 hideActions prop 隐藏充值/退款按钮(Usage 页面仅查看) - i18n: 新增 clickToViewBalance、failedToLoadUser 词条 (en/zh)
-
bayma888 authored
- 分组下拉添加搜索框,支持按名称/描述快速筛选 - 新建/编辑密钥弹窗的分组选择也支持搜索 - 智能弹出方向:底部空间不足时自动向上弹出 - 倍率独立为平台配色的圆角标签,更醒目 - 分组名称加粗,名称与描述之间增加间距 - 分组选项之间添加分隔线,视觉更清晰 - 切换图标旁增加"选择分组"文字提示 - 下拉宽度自适应内容长度 - i18n: 新增 searchGroup、noGroupFound 词条 (en/zh)
-
bayma888 authored
- Increase Select dropdown max-width from 320px to 480px for better content display - Change KeysView group selector from fixed 256px to adaptive 280-480px width - Make group switch icon always visible (60% opacity, 100% on hover) - Allow group description to wrap to 2 lines instead of truncating - Improve user experience for group selection in API keys page
-
- 07 Mar, 2026 31 commits
-
-
神乐 authored
-
erio authored
Show a semi-transparent blue rectangle overlay while dragging to select rows, matching the project's primary color theme with dark mode support. The box spans the full table width from drag start to current mouse position. Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
-
erio authored
-
神乐 authored
-
神乐 authored
-
神乐 authored
-
神乐 authored
-
shaw authored
Align struct field assignments and fix indentation detected by golangci-lint v2.9's gofmt checker.
-
shaw authored
v2.10.1 introduced a recursive markDepsForAnalyzingSource change that causes all transitive dependencies (including 132K lines of ent generated code) to be analyzed from source instead of compiled export data, leading to >30 min CI timeout. v2.9.0 is the first version with Go 1.26 support (PR #6271, merged Feb 10 2026) and does not have this performance regression.
-
shaw authored
-
神乐 authored
-
神乐 authored
-
神乐 authored
-
神乐 authored
-
erio authored
The recent upstream commit added allow_messages_dispatch to the Group DTO but did not update the API contract test expectation. Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
-
erio authored
Extend the existing total quota limit with daily and weekly periodic dimensions. Each dimension is independently configurable and uses lazy reset — when the period expires, usage is automatically reset to zero on the next increment. Any dimension exceeding its limit will pause the account from scheduling. Backend: - Add GetQuotaDailyLimit/Used, GetQuotaWeeklyLimit/Used, HasAnyQuotaLimit - Rewrite IncrementQuotaUsed with atomic CTE SQL for 3-dimension update - Rewrite ResetQuotaUsed to clear all dimensions and period timestamps - Update postUsageBilling to use HasAnyQuotaLimit() - Preserve daily/weekly used values on account edit Frontend: - Refactor QuotaLimitCard from single v-model to 3-dimension props - Add QuotaBadge component for compact D/W/$ display - Update AccountCapacityCell with per-dimension badges - Update Create/Edit modals with daily/weekly quota fields - Update AccountActionMenu hasQuotaLimit to check all dimensions - Add i18n strings for daily/weekly/total quota labels Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
-
神乐 authored
-
shaw authored
-
Wesley Liddick authored
fix(openai): 统一官方 Codex 客户端识别逻辑
-
shaw authored
-
shaw authored
-
shaw authored
- 移除staticcheck 470+冗余检查项,all已包含全部 - unused: generated-is-used改为true,跳过ent 13万行生成代码分析 - unused: exported-fields-are-used改为true,避免全项目导出字段引用追踪 - unused: field-writes-are-uses改为true
-
shaw authored
-
admin authored
-
shaw authored
后端UpdateAccountRequest.Status的oneof验证缺少error状态, 前端编辑表单也未处理error状态,导致编辑异常账号时无法保存
-
shaw authored
-
shaw authored
-
shaw authored
-
shaw authored
-
shaw authored
-
shaw authored
golangci-lint v2.7 was built with Go 1.25 and cannot lint Go 1.26 targets. v2.8+ added Go 1.26 support.
-