Skip to content

feat(ranking): add local API key leaderboards - #392

Open
Willxup wants to merge 4 commits into
mainfrom
worktree/ranking-local-ui-demo
Open

feat(ranking): add local API key leaderboards#392
Willxup wants to merge 4 commits into
mainfrom
worktree/ranking-local-ui-demo

Conversation

@Willxup

@Willxup Willxup commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • add admin-only local API key leaderboards for today, yesterday, current month, and previous month
  • aggregate current-day usage every five minutes into lightweight daily and monthly per-key statistics
  • add persisted Local and Community switching while keeping Community participation isolated
  • keep the ranking header stable while period data refreshes

Validation

  • full project local verification after merging the latest main
  • all Go tests
  • frontend: 108 test files, 983 tests, lint, typecheck, and build
  • local ranking timezone tests under UTC and Asia/Shanghai

Willxup added 4 commits July 31, 2026 01:46
Add persistent Local and Community selection and reorganize the metric and period controls in the ranking header. Keep participation actions community-only and preserve the responsive toolbar and mobile profile layouts.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 336226d1f3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread internal/ranking/local_service.go
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