Skip to content

feat: batch queries and added vibe coders leaderboard#36

Merged
mrepol742 merged 3 commits intohallofcodes:masterfrom
mrepol742:master
Mar 21, 2026
Merged

feat: batch queries and added vibe coders leaderboard#36
mrepol742 merged 3 commits intohallofcodes:masterfrom
mrepol742:master

Conversation

@mrepol742
Copy link
Member

No description provided.

- Parallelize Supabase requests with Promise.all in
  Home and leaderboard components
- Destructure result arrays and extract .data/.error from each result
- Default query results with ?? [] and handle absent user safely
- Add type guards to filter top/losser members and ensure non-null
  fields
- Minor import formatting cleanup
- Add VibeCoders component to show vibe coders leaderboard
- Extend TopMember with optional categories and add Category
- Update LosserMembers to consume TopMember type
- Wire VibeCoders into home page and compute topVibeCoders
- Add DB view migration to include categories in top_user_stats
@mrepol742 mrepol742 merged commit 44b75dc into hallofcodes:master Mar 21, 2026
0 of 2 checks passed
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.

1 participant