Skip to content

Conversation

@pan93412
Copy link
Member

No description provided.

@pan93412 pan93412 self-assigned this Oct 23, 2025
@linear
Copy link

linear bot commented Oct 23, 2025

@vercel
Copy link

vercel bot commented Oct 23, 2025

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

Project Deployment Preview Comments Updated (UTC)
admin-frontend Ready Ready Preview Comment Oct 23, 2025 5:42pm

Copy link

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

This PR implements user statistics features by adding question solving statistics and points history to user profile pages.

  • Adds translation constants for question difficulty levels
  • Creates new UI components to display user question statistics and points history
  • Updates GraphQL queries to fetch submission statistics and points data
  • Removes unused CreatePointDialogContent query

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
lib/translation.ts Adds Chinese translations for question difficulty levels
gql/graphql.ts Updates generated GraphQL types with new fragments for user statistics and removes unused query
gql/gql.ts Updates GraphQL document definitions to include new user statistics fragments
app/(admin)/(user-management)/users/[id]/_components/user-cards.tsx Integrates new PointsCard and QuestionsCard components into user profile
app/(admin)/(user-management)/users/[id]/_components/questions.tsx Creates component displaying user question solving statistics by difficulty
app/(admin)/(user-management)/users/[id]/_components/points.tsx Creates component showing total points and recent point history

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

Copy link

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

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


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

@pan93412 pan93412 merged commit abb1bfa into main Oct 23, 2025
3 checks passed
@pan93412 pan93412 deleted the pan93412/dbp-127-顯示使用者的做題和積分總數 branch October 23, 2025 17:43
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.

2 participants