Skip to content

Conversation

pan93412
Copy link
Member

@pan93412 pan93412 commented Oct 13, 2025

CleanShot 2025-10-14 at 03 03 50@2x

@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 7:08pm

@pan93412 pan93412 force-pushed the pan93412/dbp-107-需要顯示點數增加數 branch from 152ab80 to a45de58 Compare October 13, 2025 19:04
@pan93412 pan93412 requested a review from Copilot October 13, 2025 19:05
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

This PR adds score rendering functionality to the RankingEdge GraphQL type to display ranking changes in the statistics interface. The changes enable the display of score differences (positive/negative changes) alongside existing ranking data for both points and completed questions rankings.

  • Added a required score field to the RankingEdge GraphQL schema
  • Updated GraphQL queries to include the score field in ranking operations
  • Created a ScoreDiff component to visually display score changes with appropriate styling

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
schema.graphql Added required score field to RankingEdge type
gql/graphql.ts Updated generated TypeScript types and query documents to include score field
gql/gql.ts Updated GraphQL query strings and type mappings for ranking queries
app/(app)/statistics/_components/ranking/score.tsx New component for rendering score differences with color-coded styling
app/(app)/statistics/_components/ranking/points.tsx Integrated ScoreDiff component into points ranking display
app/(app)/statistics/_components/ranking/completed-questions.tsx Integrated ScoreDiff component into completed questions ranking display

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

@pan93412 pan93412 requested a review from Copilot October 13, 2025 19:06
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

Copilot reviewed 6 out of 6 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 7153276 into main Oct 13, 2025
2 of 3 checks passed
@pan93412 pan93412 deleted the pan93412/dbp-107-需要顯示點數增加數 branch October 13, 2025 19:07
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