Skip to content

feat: add public contributor profile page with projects and ratings#258

Open
Opulencechuks wants to merge 2 commits into
samieazubike:mainfrom
Opulencechuks:feature/public-contributor-profile
Open

feat: add public contributor profile page with projects and ratings#258
Opulencechuks wants to merge 2 commits into
samieazubike:mainfrom
Opulencechuks:feature/public-contributor-profile

Conversation

@Opulencechuks

Copy link
Copy Markdown

This PR closes #212

Overview

This PR introduces a public contributor profile feature accessible at /u/[username]. The new page displays a contributor’s basic profile information, a list of their approved projects, and the ratings they have given to other projects.

Key Changes

  1. API Endpoints

    • /api/users/[username] – Returns public profile data (username, join date, social links, etc.).
    • /api/ratings/user/[username] – Returns all ratings submitted by the specified user.
    • Updated /api/projects to support filtering by author (username) for fetching a user’s submitted projects.
  2. Frontend

    • web/src/app/u/[username]/page.tsx – New Next.js page that:
      • Fetches profile, projects, and ratings in parallel.
      • Renders a styled, animated UI showcasing:
        • Username and join date.
        • Submitted projects using existing ProjectCard component.
        • Ratings given, with project titles, scores, and dates.
    • SEO metadata added for better discoverability.
  3. Supporting Files

    • Added route files for the new API endpoints.
    • Updated implementation_plan.md to reflect these changes.

Design Highlights

  • Premium UI: Utilizes the app’s glassmorphism style, smooth animations, and clean typography for a polished look.
  • Responsive Layout: Grid and flex utilities ensure a great experience on all screen sizes.
  • Performance: Parallel data fetching reduces load times.

Testing

  • Verified that the new page renders correctly for existing users.
  • Confirmed that projects and ratings are correctly filtered by username.
  • Ran git status and built the app locally with npm run dev – no TypeScript or runtime errors.

Impact

  • Enables community members to view any contributor’s activity without authentication.
  • Improves discoverability of contributors and their work, fostering engagement.

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

@Opulencechuks is attempting to deploy a commit to the webverse Team on Vercel.

A member of the Team first needs to authorize it.

@samieazubike

Copy link
Copy Markdown
Owner
image Fix error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Public contributor profiles at /u/[username]

2 participants