Skip to content

Thank you contributors#125

Merged
zhravan merged 3 commits intozhravan:mainfrom
version0chiro:thank_you_contributors
Apr 26, 2021
Merged

Thank you contributors#125
zhravan merged 3 commits intozhravan:mainfrom
version0chiro:thank_you_contributors

Conversation

@version0chiro
Copy link
Contributor

Added a material UI based thank you card at the bottom of the page. Also extracted the current count of contributors using GitHub's API and displayed top 6 avatars who have contributed to the project. This is how the card looks.

image

I have added a separate component for the card for easy editing and reviewing. Kindly check the Contributors card in the front end directory. I am unsure how to proceed forward with the building of front end to the server, would be great if someone can help me with that, thank you.

@zhravan
Copy link
Owner

zhravan commented Apr 26, 2021

Hi @version0chiro

Thank you for your time to contribute towards our feature request. We will review your code, and accept the PR.

Also, will you please add the screenshot of the whole screen with this component?

@zhravan zhravan added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed Little work This task takes little time to complete. (ETA couple of days) labels Apr 26, 2021
@zhravan zhravan added this to the Release of V2.0 milestone Apr 26, 2021
@zhravan zhravan linked an issue Apr 26, 2021 that may be closed by this pull request
@version0chiro
Copy link
Contributor Author

Hey @Shravan20 , this is how the screen looks with the component, I was a bit unsure about the placement but can easily change if you have any specific place you wanna keep it at.
image

@zhravan
Copy link
Owner

zhravan commented Apr 26, 2021

Hi @version0chiro
Good job on the design!! 😄
Thank you for taking up time for contributing towards the project! We value your contribution! 👏🏻
Cheers!

Copy link
Owner

@zhravan zhravan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor changes requsted.

const ContributorsCard = () => {
const [listOfContributors,setListOfContributors] = useState([]);
useEffect(()=>{
fetch("https://api.github.com/repos/shravan20/github-readme-quotes/contributors?")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move the URL to a urlConfig.js file and export it from there under a new folder called /constants?? This is to ensure that we maintain code quality. Please make the changes by evening, we will have it accepted by evening.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay no problem in that, can i make the folder inside the Contributors Card or do you want it to be in the components?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create a folder /frontend/src/CONSTANTS.
Create a file urlConfig.js. Just move URL to that!

Rest of the things looks neat!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have exported the URL from a new file, kindly check the changes in the latest commit

Copy link
Owner

@zhravan zhravan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed Accepted : PR

@zhravan zhravan merged commit ac89dbc into zhravan:main Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed Little work This task takes little time to complete. (ETA couple of days)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simple Thank You Collaborators Card on the UI

2 participants