feat: add Supabase caching for project-admin tracker & PA role on homepage#10
feat: add Supabase caching for project-admin tracker & PA role on homepage#10Ixotic27 wants to merge 16 commits into
Conversation
…nonicalize login matching, and encode URL components
…arify labeling points rules in UI
… and remove display tilde prefixes
…epage - project-admin-tracker.ts: Added Supabase delta-sync with date-filtering to bypass 1000 PR GitHub API limit. Uses pa_repos and pa_pull_requests tables with 1-minute cache stampede prevention. Falls back to direct GitHub API when Supabase is not configured. - page.tsx: Added 'Project Admin' role card to the home page. PAs enter owner/repo format (or paste GitHub URL) to navigate to /project-admin/owner/repo. Includes repo validation, indigo theming for PA role, and appropriate placeholder/icon changes.
|
@Ixotic27 is attempting to deploy a commit to the prodhoshvs2025-8980's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@Ixotic27 thanks for raising the pr and next up pls add pagination for the below part and update the points system u used in this pop up Thanks! |
@Ixotic27 Ok i will check also can you please share the website link from where you have got the formulas so that i can cross check |
…ate scoring guide
|
@Ixotic27 scroll thru the end of the leaderboard in gssoc website. its ther |
ok |
…ain to refresh instead of going home
…sues boost to GSSoC-specific issues
|
@PRODHOSH thanks for the review! I've updated the PR with all the requested fixes:
|
Hey, i dont think u commited in this pr man |
…d to integrate project admin page and activity tracking
|
@Ixotic27 now ur commits are reflected here |
sorry i force pushed into closed pr |
|
@PRODHOSH fixed the merge conflict |
|
@PRODHOSH any updates? |
|
hi so i think for project admins the best thing is we move into a seperate app since contributors are the main thing here let this app live alone for them @Ixotic27 |
|
so basically with ur updated changes from my side, i will put a project admin to redirect to urs |








Summary
Adds Supabase-backed caching to the Project Admin tracker and introduces a Project Admin role on the homepage, so PAs can enter their repo and see contributor stats.
Changes
src/lib/project-admin-tracker.ts
pa_reposandpa_pull_requeststables with 1-minute stampede prevention (mirrorspr-tracker.tspattern)src/app/page.tsx
FolderGit2iconowner/repoplaceholder, validates against GitHub repos APIowner/repoand full GitHub URLsSupabase Tables Needed
Testing
/project-admin/owner/repo