Skip to content

Conversation

@RitamNandi
Copy link
Contributor

  • promotion function takes in the day that the person is getting promoted on

  • Enroll anyone who got upgraded on a day to a topic for upgrades for that day

  • After the events for a day conclude, admins can go on the admin site and send a generic notification message to everyone who got a tier upgrade. Probably something like "You got a tier upgrade! Open the app to check your current tier" or something to tell them that they can go redeem a prize. Needs to be generic across tiers, won't have specific notifications for upgrades for certain tiers

  • Please review so hopefully I didn't break leaderboard

Copy link
Collaborator

@Timothy-Gonzalez Timothy-Gonzalez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Core logic looks good but let's reduce the number requests we make to 2 instead of n*2

Copy link
Collaborator

@Timothy-Gonzalez Timothy-Gonzalez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thanks! Ideally we would have tests but that's different pr problem - this code won't change things from working.

@RitamNandi RitamNandi merged commit c0b80f7 into main Sep 15, 2025
5 checks passed
@RitamNandi RitamNandi deleted the tier-upgrade-notifications branch September 15, 2025 23:34
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.

3 participants