Skip to content

Conversation

pan93412
Copy link
Member

No description provided.

@pan93412 pan93412 self-assigned this Oct 13, 2025
Copy link

linear bot commented Oct 13, 2025

Copy link
Contributor

vercel bot commented Oct 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
dbplay-app Ready Ready Preview Comment Oct 13, 2025 5:40pm

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Updates the application to use a new ranking API by replacing individual user statistics queries with ranking queries that return leaderboard data for multiple users. The changes introduce new GraphQL types for ranking functionality and refactor existing ranking components to display comprehensive leaderboards instead of individual user stats.

  • Removes the deprecated verifyRegistration mutation from the schema
  • Adds new ranking query and supporting types to GraphQL schema
  • Replaces individual user queries with ranking queries that fetch top 10 users
  • Updates React components to display ranking tables with multiple users

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
schema.graphql Removes verifyRegistration mutation, adds ranking query and supporting types
gql/graphql.ts Updates generated TypeScript types to match schema changes
gql/gql.ts Updates query mappings to use new ranking queries
app/(app)/statistics/_components/ranking/points.tsx Refactors to use PointsRanking query and display multiple users
app/(app)/statistics/_components/ranking/index.tsx Adds period parameters to ranking components
app/(app)/statistics/_components/ranking/completed-questions.tsx Refactors to use CompletedQuestionRanking query and display multiple users

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@pan93412 pan93412 merged commit cc0deae into main Oct 13, 2025
3 checks passed
@pan93412 pan93412 deleted the pan93412/dbp-90-實作真正的排行榜 branch October 13, 2025 18:06
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