Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Description:
Title: Implement Contributor Contributions Page - Display Pull Requests and Issues for Each Contributor
Description:
This PR addresses the issue of creating a separate page that displays all the pull requests and issues created by a particular contributor within the C2SI organization.
Changes Made:
New Contributor Details Page:
A new page, contributors/:contributorLogin/details, has been created to display all contributions (pull requests and issues) made by a specific contributor.
The page shows:
A list of Pull Requests created by the contributor.
A list of Issues created by the contributor.
Profile Card Redirect:
On the Contributors page, a new "Contributions" button has been added to each contributor's profile card.
Clicking the "Contributions" button redirects the user to contributors/:contributorLogin/details, where all contributions by the selected contributor are displayed.
UI Updates:
HTML Changes:
Modified profile-card.component.html to add a "Contributions" button.
Updated contributors.component.html and contributors.component.ts to handle the redirection to the new details page.
SCSS Styling:
Minor UI/UX improvements were made to contributors.component.scss and projects.component.scss for better alignment and button styling.
Issue Solved: This PR solves the issue of allowing users to view the contributions (pull requests and issues) made by a specific contributor by creating a new, dedicated details page for each contributor in the C2SI organization.
How to Test:
Navigate to the Contributors page.
Click the "Contributions" button on any contributor’s profile card.
Verify that the user is redirected to the contributors/:contributorLogin/details page.
Check that the new page lists all pull requests and issues created by the contributor.
Let me know if further adjustments or additions are needed!