Skip to content

feat: add group quota summary#2325

Open
MiaoZang wants to merge 3 commits into
Wei-Shaw:mainfrom
MiaoZang:upstream/group-quota-summary
Open

feat: add group quota summary#2325
MiaoZang wants to merge 3 commits into
Wei-Shaw:mainfrom
MiaoZang:upstream/group-quota-summary

Conversation

@MiaoZang
Copy link
Copy Markdown

@MiaoZang MiaoZang commented May 9, 2026

Summary

  • add an OpenAI group quota summary endpoint and route
  • show 5H / 7D usage buckets in the admin group table
  • include all account statuses when repository support is available, so disabled/error accounts with snapshots are included in the summary
  • include small Windows compile fixes needed for local Go test runs on Windows

Tests

  • go test ./internal/service ./internal/handler/admin ./internal/repository -run 'TestAdminService_GetGroupQuotaSummary|TestGroupHandler|TestAccountRepoSuite/TestListByGroup' -count=1 -p 1
  • pnpm exec vitest run src/components/admin/group/tests/GroupQuotaSummaryModal.spec.ts src/views/admin/tests/GroupsView.spec.ts
  • git diff --cached --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant