Skip to content

Conversation

@KingofLakemoor
Copy link

No description provided.

This commit introduces a push notification that is sent at the end of each month to announce the winners of the monthly campaign.

The notification is sent to all users and includes the names of the winners for the "Longest Chain" and "Most Wins" categories, along with their winning stats.

The logic is added to the `createMonthlyCampaign` internal action, which is triggered by a monthly cron job.

The notification message is formatted to handle cases where there are two different winners or a single winner for both categories.
This commit introduces a new backend feature to fetch and store the top 50 PGA players from the Official World Golf Rankings.

- A new `pgaPlayers` table has been added to the database schema.
- A new Convex action `getPGAPlayers` has been created to scrape the player data from the PGA Tour website using `got` and `cheerio`.
- A new Convex mutation `storePGAPlayers` has been created to store the player data in the database.
- A new daily cron job has been added to `convex/crons.ts` to keep the player rankings up to date.
- The `got` and `cheerio` dependencies have been added to `package.json`.
@vercel
Copy link

vercel bot commented Sep 6, 2025

@google-labs-jules[bot] is attempting to deploy a commit to the Mercs Team on Vercel.

A member of the Team first needs to authorize it.

@unmonk
Copy link
Owner

unmonk commented Sep 6, 2025

This seems to be the wrong commit for the PR title.

@KingofLakemoor
Copy link
Author

This seems to be the wrong commit for the PR title.

I think they got stacked up

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.

2 participants