-
Notifications
You must be signed in to change notification settings - Fork 0
feat(users): implement question statistics and points history #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The head ref may contain hidden characters: "pan93412/dbp-127-\u986F\u793A\u4F7F\u7528\u8005\u7684\u505A\u984C\u548C\u7A4D\u5206\u7E3D\u6578"
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this 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.
There was a problem hiding this 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.
No description provided.