Jk2756/SpinTheWheel#321
Open
jiminkim214 wants to merge 7 commits into
Open
Conversation
Member
|
[diff-counting] Significant lines: 1077. This diff might be too big! Developer leads are invited to review the code. |
3TTemi
requested changes
May 6, 2026
| ADD COLUMN "spinJourneyUnlockAt" TIMESTAMP(3); | ||
| -- AlterTable | ||
| ALTER TABLE "User" | ||
| ADD COLUMN IF NOT EXISTS "lastSpinAt" TIMESTAMP(3), |
Collaborator
There was a problem hiding this comment.
These two seem to just be uneeded "IF NOT EXISTS" duplicates of another
| eventRSVPs EventRSVP[] | ||
| feedbacks Feedback[] | ||
| lastSpinAt DateTime? | ||
| spinJourneyUnlockAt DateTime? |
Collaborator
There was a problem hiding this comment.
This doesn't seem to be used yet. Is this supposed to be how long it takes to be able to respin?
Contributor
Author
There was a problem hiding this comment.
Yeah these are leftover from when I had journey completion unlock the spin. Switched to daily spin instead and forgot to clean up the schema. I'll remove them!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request adds a "Spin the Wheel" page. Players spin a prize wheel to win random wardrobe items instead of buying them with coins. Spins are gated by a cooldown timer: after spinning, the player must either wait 24 hours to spin the wheel again. This gives players an alternative path to unlocking wardrobe items and creates an incentive to complete journeys.
Remaining TODOs:
Test Plan
Breaking Changes