Skip to content

feat: add admin controls for lightweight account refresh#1411

Open
Lyy22223 wants to merge 2 commits intoWei-Shaw:mainfrom
Lyy22223:pr/admin-lightweight-settings
Open

feat: add admin controls for lightweight account refresh#1411
Lyy22223 wants to merge 2 commits intoWei-Shaw:mainfrom
Lyy22223:pr/admin-lightweight-settings

Conversation

@Lyy22223
Copy link
Copy Markdown

Summary

  • add opt-in extreme performance admin settings so large account lists can disable automatic usage and today-stats refreshes
  • update the admin accounts page and usage cell to respect the new settings while preserving manual usage inspection
  • align the new settings card with the existing gateway settings UI and correct the embedded version file to 0.1.106

Test Plan

  • cd frontend && pnpm typecheck
  • cd frontend && pnpm exec vitest run src/stores/__tests__/adminSettings.spec.ts src/components/account/__tests__/AccountUsageCell.spec.ts
  • docker run --rm -e GOPROXY=https://goproxy.cn,direct -e GOSUMDB=sum.golang.google.cn -v <worktree>:/repo -w /repo/backend --entrypoint bash golang:1.26.1 -lc \"/usr/local/go/bin/go test ./internal/handler/admin ./internal/service ./internal/repository -count=1\"

🤖 Generated with Claude Code

Lyy22223 and others added 2 commits March 31, 2026 18:25
Add opt-in extreme performance settings for admin pages so large account lists can
skip automatic usage and today-stats refreshes while preserving manual usage access.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Update the embedded VERSION file so builds based on the v0.1.106 tag report the
correct runtime version instead of 0.1.105.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
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