GitHub-Battle icon indicating copy to clipboard operation
GitHub-Battle copied to clipboard

Add a personal profile section.

Open rajat2502 opened this issue 5 years ago • 32 comments

A personalized section where users can see their contribution graphs and other stats will look good in this project.

rajat2502 avatar Nov 27 '19 08:11 rajat2502

I want to work on this issue for KWoC 2019. For login I have to use Oauth right? then display information regarding stars, followers etc?

dsaharia avatar Dec 01 '19 10:12 dsaharia

@dsaharia don't include login signup for now, just add a profile link to the navbar and in that component add a input box to enter your profile and then use the GitHub's API to show stats.

rajat2502 avatar Dec 01 '19 14:12 rajat2502

For reference about what to show in that component you can have a look at https://github.com/rajat2502/GitHub-Finder this app. Keep showing your progress in small steps so that I can approve and you can work further.

rajat2502 avatar Dec 01 '19 14:12 rajat2502

Yes, Sure. I'll keep you posted by Email?

dsaharia avatar Dec 02 '19 10:12 dsaharia

Sure!!! but you can also join the Gitter channel from the KWoC website.

rajat2502 avatar Dec 02 '19 10:12 rajat2502

Are you working?

rajat2502 avatar Dec 14 '19 19:12 rajat2502

Yes started today. As you have heard internet is cut in many places in Assam now

Dhiraj Saharia


From: Rajat Verma [email protected] Sent: Sunday, December 15, 2019 12:54:10 AM To: rajat2502/GitHub-Battle [email protected] Cc: Dhiraj Saharia [email protected]; Assign [email protected] Subject: Re: [rajat2502/GitHub-Battle] Add a personal profile section. (#2)

Are you working?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://github.com/rajat2502/GitHub-Battle/issues/2?email_source=notifications&email_token=AHB5EFKDHJ2KJX3IV37C6TDQYUXFVA5CNFSM4JSDQNHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG4JJ2Q#issuecomment-565744874, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHB5EFLKTZ5FQM37BYBG6QLQYUXFVANCNFSM4JSDQNHA.

dsaharia avatar Dec 14 '19 19:12 dsaharia

Ok take your time.

rajat2502 avatar Dec 15 '19 01:12 rajat2502

Internet is back here. I am working on it... I will create a Profile section and then ask for the username of the user right then show him his stats. Right?

Regards, Dhiraj Saharia, B.Tech, CSE (3rd Year), Tezpur University, Napaam, Assam - 784028

On 15-Dec-2019, at 7:02 AM, Rajat Verma <[email protected]mailto:[email protected]> wrote:

Ok take your time.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://github.com/rajat2502/GitHub-Battle/issues/2?email_source=notifications&email_token=AHB5EFPMRTGNS65RLKG55FLQYWCJRA5CNFSM4JSDQNHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG4PDMY#issuecomment-565768627, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHB5EFMMNAHKWFQ4TUCKXYTQYWCJRANCNFSM4JSDQNHA.

dsaharia avatar Dec 17 '19 12:12 dsaharia

@dsaharia Yeah that's cool. For showing, loading add a loader. Use the same input button as used in the battle component. Add the profile route to the main navbar

rajat2502 avatar Dec 17 '19 15:12 rajat2502

I added the route and currently trying to display the results. I have pushed code.. Should I do a PR now ? for my evaluations?

On 17-Dec-2019, at 9:10 PM, Rajat Verma <[email protected]mailto:[email protected]> wrote:

@dsahariahttps://github.com/dsaharia Yeah that's cool. For showing, loading add a loader. Use the same input button as used in the battle component. Add the profile route to the main navbar

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/rajat2502/GitHub-Battle/issues/2?email_source=notifications&email_token=AHB5EFPKDCXVIIHU5QWQAWDQZDXGHA5CNFSM4JSDQNHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHCZEHQ#issuecomment-566596126, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHB5EFKED6XFYRBGTPBQ6DTQZDXGHANCNFSM4JSDQNHA.

dsaharia avatar Dec 17 '19 18:12 dsaharia

Just show me that by hosting.

rajat2502 avatar Dec 18 '19 02:12 rajat2502

hosting using netlify and my account?

On 18-Dec-2019, at 8:08 AM, Rajat Verma <[email protected]mailto:[email protected]> wrote:

Just show me that by hosting.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/rajat2502/GitHub-Battle/issues/2?email_source=notifications&email_token=AHB5EFN2V4C5CEUFW32YXZLQZGEI5A5CNFSM4JSDQNHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHEU2NQ#issuecomment-566840630, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHB5EFLHQHSOMV2KQHSFZQ3QZGEI5ANCNFSM4JSDQNHA.

dsaharia avatar Dec 18 '19 06:12 dsaharia

I have some doubts.

  1. The RepoCard component takes data.owner.avatar_url. Why is there owner in between? When I try to use this component for profile section it gives error because there is no owner attribute in the data. What should I do?

dsaharia avatar Dec 18 '19 13:12 dsaharia

Yeah, you can use netlify to host. Well about the owner thing I am not sure, maybe there are some changes in GitHub's API If it's working without owner use it that way.

rajat2502 avatar Dec 18 '19 18:12 rajat2502

It is working without using the owner. Should I host or send you screenshots of it? Because hosting will take time, and it is already hosted right?

dsaharia avatar Dec 18 '19 19:12 dsaharia

Host your version of website, it's easy try and read about Netlify hosting.

rajat2502 avatar Dec 18 '19 22:12 rajat2502

I did some changes and added a profile section. It needs UI improvements, working on it. Also hosted it LINK : https://fervent-lamarr-9bf0e5.netlify.com/ How is it?

dsaharia avatar Dec 20 '19 15:12 dsaharia

Well many UI improvements are needed image Also, none of the icons are loading. Please see to it.

rajat2502 avatar Dec 21 '19 03:12 rajat2502

It is loading in my pc. I have tested it. Please see Screenshot 2019-12-21 at 6 46 37 PM

dsaharia avatar Dec 21 '19 13:12 dsaharia

Not loading!!!

rajat2502 avatar Dec 21 '19 18:12 rajat2502

It should load. I have tested it in chrome as well as Firefox. Both loading fine.

dsaharia avatar Dec 21 '19 19:12 dsaharia

It should load. I have tested it in chrome as well as Firefox. Both loading fine.

@dsaharia please check issue #11

Neilblaze avatar Dec 22 '19 05:12 Neilblaze

There might be a issue. But I checked in Safari, Chrome and firefox. All the emoji's were loading fine.

dsaharia avatar Dec 22 '19 06:12 dsaharia

How can I check, any clues?

dsaharia avatar Dec 23 '19 16:12 dsaharia

Okay try to use any emoji service like fontawesome.

rajat2502 avatar Dec 23 '19 17:12 rajat2502

Done. Integrated FontAwesome for profile badges. link: https://fervent-lamarr-9bf0e5.netlify.com Should I open a PR now?

dsaharia avatar Dec 24 '19 16:12 dsaharia

Well the profile component needs some better design (the design should match with the design of the rest of the page.) Also, this component should also include some charts and analysis with data. If the work is more I can divide into more than one person. For now, you can just work on the styling of the component. Also, if possible try SVG for icons as font-awesome is a heavy library.

rajat2502 avatar Dec 25 '19 14:12 rajat2502

Yeah I am currently working on the styling and 1 more person would be good to do the charts and analysis, so that we would discuss it and then do it.

dsaharia avatar Dec 26 '19 14:12 dsaharia

Okay you work on the styling for now.

rajat2502 avatar Dec 28 '19 08:12 rajat2502