Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Total Issue Contributions lead to Author's Issues page instead of the user's issues #63

Open
ShreeluSantosh opened this issue Jun 1, 2024 · 0 comments

Comments

@ShreeluSantosh
Copy link

ShreeluSantosh commented Jun 1, 2024

Issue

In the user's stats page, the link icon besides Total Issue Contributions leads to the repo author's Issues page (https://github.com/issues?utf8=✓&q=is%3Aissue+author%3Asingodiyashubham87) instead of the supposed URL (https://github.com/issues?utf8=✓&q=is%3Aissue+author%3_[inputusername]_)

The issue is because the current URL has the author's username hardcoded in the /src/components/ContributionSummary.jsx file

Screenshots
The URL redirecting to the author's Issues page
image

The relevant code showing the author's username hardcoded into the URL:
image

Solution
Correct the code above to replace the hardcoded username with userDetails.username variable

@ShreeluSantosh ShreeluSantosh changed the title [BUG] Total Issue Contributions lead to Author's Issues page instead of the user's issues (SSOC) [BUG] Total Issue Contributions lead to Author's Issues page instead of the user's issues Jun 7, 2024
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

No branches or pull requests

1 participant