-
Notifications
You must be signed in to change notification settings - Fork 73
[FEAT] Add user profile/settings page #15
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgssoc26GSSoC 2026 contributionGSSoC 2026 contributionlevel2GSSoC Level 2 - Medium complexity (25 points)GSSoC Level 2 - Medium complexity (25 points)mediumMedium difficulty taskMedium difficulty task~4hEstimated 4 hoursEstimated 4 hours
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgssoc26GSSoC 2026 contributionGSSoC 2026 contributionlevel2GSSoC Level 2 - Medium complexity (25 points)GSSoC Level 2 - Medium complexity (25 points)mediumMedium difficulty taskMedium difficulty task~4hEstimated 4 hoursEstimated 4 hours
What Needs to Be Done
Create a
/profilepage where users can view their account info and manage settings:Why This Matters
Users need a way to see what data is stored about them, and a place to manage integrations as we add GitLab support.
Files to Create/Modify
src/app/profile/page.tsx— new pagesrc/components/Navbar.tsx— add nav link to profile (or add to dashboard header)src/app/api/user/route.ts— GET current user info from Supabasesrc/app/api/user/route.ts— DELETE to remove user and all their dataAcceptance Criteria
/profilepage shows GitHub avatar, username, emailTech Context
User data stored in Supabase
userstable. UsegetServerSession(authOptions)for auth in the API route.For deletion:
supabaseAdmin.from('users').delete().eq('github_id', session.githubId)— cascade handles goals/snapshots.