Skip to content

Conversation

pan93412
Copy link
Member

  • chore: upgrade dependencies
  • refactor: restructure challenge components
  • refactor: restructure statistics components
  • feat: partially implement challenge page

@pan93412 pan93412 self-assigned this Sep 24, 2025
Copy link

linear bot commented Sep 24, 2025

DBP-36 Question Page

Copy link
Contributor

vercel bot commented Sep 24, 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 Sep 24, 2025 3:03pm

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
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 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.

@pan93412 pan93412 merged commit fced4d9 into main Sep 24, 2025
4 checks passed
@pan93412 pan93412 deleted the pan93412/dbp-36-question-page branch September 24, 2025 15:20
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