-
Notifications
You must be signed in to change notification settings - Fork 0
DBP-36: question page #7
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
Conversation
pan93412
commented
Sep 24, 2025
- chore: upgrade dependencies
- refactor: restructure challenge components
- refactor: restructure statistics components
- feat: partially implement challenge page
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
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 a question page feature for the SQL practice application, including dependency upgrades, component restructuring, and partial challenge page implementation.
- Adds new GraphQL schema types for database structure and question submission tracking
- Implements a complete question practice IDE with SQL editor, answer comparison, and submission history
- Restructures existing challenge and statistics components into organized module directories
Reviewed Changes
Copilot reviewed 30 out of 39 changed files in this pull request and generated 4 comments.
Show a summary per file
File | Description |
---|---|
schema.graphql | Adds database structure types and lastSubmission field to Question type |
package.json | Updates dependencies including CodeMirror SQL support and React tabs |
lib/solved-status.ts | Moves SolvedStatus type definition from model file |
lib/csv-utils.ts | Adds CSV conversion and comparison utilities for answer verification |
lib/apollo.rsc.ts | Creates server-side Apollo client configuration |
gql/graphql.ts | Adds GraphQL queries and mutations for question page functionality |
components/ui/tabs.tsx | Implements Radix UI tabs component |
components/question/*.tsx | Creates reusable question-related components |
components/answer/table.tsx | Adds answer display table component |
app/(app)/challenges/[id] | Implements complete question practice page with IDE |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>