Skip to content

Added Contributor Modal and Button Enhancements#118

Open
PKOOOO wants to merge 7 commits into
Swahilipot-Hub-Engineering:mainfrom
PKOOOO:main
Open

Added Contributor Modal and Button Enhancements#118
PKOOOO wants to merge 7 commits into
Swahilipot-Hub-Engineering:mainfrom
PKOOOO:main

Conversation

@PKOOOO
Copy link
Copy Markdown

@PKOOOO PKOOOO commented Oct 27, 2024

This pull request introduces the Contributor Management feature to the application. It allows users to add, view, and manage contributors, integrating the frontend with the Neon PostgreSQL database for persistent data storage. Below are the key components and functionality implemented in this feature:

Features Implemented:
Database Setup:

Created a contributors table in the Neon PostgreSQL database to store contributor information, including their name and GitHub username.
API Endpoints:

Implemented endpoints to handle contributor data:
POST /api/contributors: Adds a new contributor to the database.
GET /api/contributors: Retrieves the list of contributors.
Frontend Implementation:

Developed a UserCard component to display the list of contributors. This component fetches data from the API and presents each contributor's name and GitHub username as a clickable link.
Form Implementation:

Created a form component to allow users to add new contributors, ensuring input validation and handling API requests.
Testing
Conducted tests for both the API and frontend components, ensuring that contributors are added and retrieved correctly.
Documentation
Updated the project README to include details on adding contributors, running the application, and understanding the database structure.
Markdown
Title: Implement Contributor Management Feature
Description: Introduced features for managing contributors in the application.
Motivation: To enable users to easily add and view contributors.
Labels
Type: feature
Status: in progress
Milestones
Milestone 1: Complete Contributor Management Implementation
Milestone 2: Integrate Frontend and Backend Functionality
Screenshot 2024-10-28 234415
Screenshot 2024-10-28 234210

, and UI renders as expected.

@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
developers-profile ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 27, 2024 10:12pm

- Updated `<img>` tags to Next.js `<Image />` component for optimized image loading and better performance
- Specified width and height for each image to improve layout stability and maintain responsiveness
- Imported `Image` from `next/image` and applied it to all gallery images

This change addresses the LCP and bandwidth warning by leveraging Next.js's image optimization.
@swahilipothub-dev
Copy link
Copy Markdown
Collaborator

swahilipothub-dev commented Oct 28, 2024

@GabrielPlus ensure the form works and resolve conflicts

@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 28, 2024

@GabrielPlus is attempting to deploy a commit to the swahilipothubdev's projects Team on Vercel.

A member of the Team first needs to authorize it.

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