Skip to content

YsWS project counts#57

Draft
dhamariT wants to merge 2 commits intoenhance-dashboardfrom
cursor/ysws-project-counts-f73b
Draft

YsWS project counts#57
dhamariT wants to merge 2 commits intoenhance-dashboardfrom
cursor/ysws-project-counts-f73b

Conversation

@dhamariT
Copy link
Copy Markdown
Collaborator

@dhamariT dhamariT commented Mar 6, 2026

Adds YSWS project count integration, syncing data from Airtable and displaying it on ship certification review pages.


Open in Web Open in Cursor 

dhamariT and others added 2 commits March 6, 2026 18:25
- Install airtable npm package for official API access
- Add HcSubmitterStats Prisma model (email -> projectCount)
- Create Airtable client utility (src/lib/airtable.ts)
- Add cron route at /api/cron/sync-hc-stats to sync counts
- Look up submitter email via Slack API, query stats in cert detail API
- Show 'X projects across Hack Club YSWS programs' in review banner
- Also includes FT type label improvements (New project / Seen before / Resubmitted)

Co-authored-by: dhamari <dhamari@hackclub.com>
@cursor
Copy link
Copy Markdown

cursor bot commented Mar 6, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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