-
Notifications
You must be signed in to change notification settings - Fork 1
Jk2756/Quiz Feature #285
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
base: master
Are you sure you want to change the base?
Jk2756/Quiz Feature #285
Conversation
…l-go into jk2756/longer-descp
… display and removed PointBreakdownPage as it is no longer needed
|
[diff-counting] Significant lines: 3537. This diff might be too big! Developer leads are invited to review the code. |
jjasonguo
left a comment
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.
Look good and make sense. Frontend designed nicely. Take a look at the line you uncommented and make sure that should be uncommented. E2E tests not passing on my end but it could be a me issue. @3TTemi check it out?
|
|
||
| // Note: Uncomment if you want to log all events (gets pretty spammy) | ||
| // print(ev); | ||
| print(ev); |
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.
do we want to keep this uncommented?
| @@unique([userId, questionId]) // Enforce one attempt per question | ||
| @@map("UserQuizAnswer") | ||
| } |
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.
good work!
| } | ||
| } | ||
|
|
||
| /// Reusable button row widget for arrival dialog |
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.
nice!
Summary
This PR implements quiz feature with backend integration, real-time score updates, and separate tracking for standalone challenges and journeys. It also adds a complete quiz system allowing users to answer trivia questions for bonus points (+10 per correct answer) with shuffle capabilities, confetti celebrations, and integrated score tracking across the app.
Features Added
Frontend
Backend
Real-time Updates
Remaining TODOs:
Depends on #{283} Quiz Frontend and Unit Testing
Depends on #{278} Quiz Backend
Test Plan
Screen.Recording.2025-11-29.at.8.59.52.PM.mov
Screen.Recording.2025-11-29.at.9.03.11.PM.mov
Notes: Simulator Tests for single challenge and journeys (multiple challenges)
Breaking Changes