Review Challenge — House of Legends
Documented: 2026-05-11 Doc Status: Excellent | ✓ All 6 checks passedOverview
Guests are encouraged to leave Google reviews in exchange for comp rewards. They submit a screenshot of their review, staff approves it, and the guest receives a reward.Challenge Flow
Guest enjoys experience, then opens “Review Challenge” in app.
Staff reviews in admin dashboard:
- APPROVED — Guest gets comp reward
- REJECTED — Guest notified, can resubmit
Tables
Challenge Config
- “Search for House of Legends on Google Maps”
- “Tap ‘Write a review’”
- “Add stars and your thoughts”
- “Take a screenshot of your review”
- “Submit it here”
Admin Review
Staff sees pending submissions in/dashboard/challenges:
- Guest name + profile
- Screenshot image
- Submitted at
- Approve / Reject buttons
status—APPROVEDreviewedBy— staff user IDreviewedAt— timestamp- Comp item added to guest’s order
Components
| Component | Purpose |
|---|---|
challenge-card.tsx | Display challenge info |
screenshot-upload.tsx | Upload review screenshot |
challenge-status.tsx | Show pending/approved/rejected |
challenge-steps.tsx | Step-by-step instructions |
Backend Functions
| Function | Purpose |
|---|---|
minigames.submitChallenge | Submit screenshot |
minigames.approveChallenge | Staff approval |
minigames.rejectChallenge | Staff rejection |
minigames.getChallengeStatus | Check submission status |