LoginRadius / cascade

Create your internal developers' portal
MIT License
2 stars 13 forks source link

Create a heatmap of github commits for each profile in developer portal. #9

Open mohammed786 opened 3 years ago

mohammed786 commented 3 years ago

Need to create a heatmap of GitHub commits in developer portal using the public API of Github https://api.github.com/users/<USERNAME>/events.

OmkarPh commented 3 years ago

Hi @mohammed786, I would like to work on this issue and might need some help meanwhile.

OmkarPh commented 3 years ago

What must be the extent of heatmap, for this year or this month or something else...?

OmkarPh commented 3 years ago

Hi @mohammed786 I went through various modules for facilitating heatmaps, but none of them supported Typescript, I am very confused what to do, Can you suggest me some good npm modules that support TypeScript for Heatmap.

Sorry to bother you, but I don't know much about TypeScript, hence am in need of some help.

mohammed786 commented 3 years ago

Hey @OmkarPh

For heatmap you can use cal-heatmap package, it also supports typescript for that you need to install the types - https://www.npmjs.com/package/@types/cal-heatmap.

Then you can use it in this project.

mohammed786 commented 3 years ago

As part of hacktoberfest, LoginRadius is also giving free swags and goodies to its contributors. Please check out our Hacktoberfest Page and fill the form mentioned there to become eligible for free swags. :)

OmkarPh commented 3 years ago

Thanks brother, I filled the form too :)

OmkarPh commented 3 years ago

Hi @mohammed786 Sorry to disturb you again, but am not able to use this cal-heatmap in the project. I found a lot of blogs and docs for javascript, but couldn't find any docs about usage in Typescript. Can you send me some links if you have, I tried a lot but couldn't find anything helpful.

Pardon me if I ask anything irrelevant :)

wassimbj commented 3 years ago

Can i work on this too ? or its assigned

OmkarPh commented 3 years ago

Hi @wassimbj I approached this issue first, but I suggest you to work on this issue too. I couldn't find docs for cal-heatmap in JavaScript so it's good if you could find and work on it.

I wouldn't mind if you complete work before, but please send me the link for cal-heatmap docs for Typescript, I've been searching for them eagerly.

mohammed786 commented 3 years ago

Hey @wassimbj ,

Sure you can work on this.

As part of hacktoberfest, LoginRadius is also giving free swags and goodies to its contributors. Please check out our Hacktoberfest Page and fill the form mentioned there to become eligible for free swags. :)

wassimbj commented 3 years ago

@OmkarPh yea sure i will !

OmkarPh commented 3 years ago

Hi @wassimbj Did you get any docs for cal-heatmap package in Typescript?

wassimbj commented 3 years ago

just install @type/cal-heatmap and cal-heatmap npm packages ! im actually now working on a project, i didnt have to time to do it

On Sun, 4 Oct 2020 at 15:55, Omkar Phansopkar notifications@github.com wrote:

Hi @wassimbj https://github.com/wassimbj Did you get any docs for cal-heatmap package in Typescript?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LoginRadius/cascade/issues/9#issuecomment-703267321, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI5GSYK3TEKAFZIARQCNBQLSJCEHLANCNFSM4R6UDCKA .

wassimbj commented 3 years ago

https://www.npmjs.com/package/@types/cal-heatmap https://www.npmjs.com/package/cal-heatmap

On Sun, 4 Oct 2020 at 16:07, wasim wassimbenjdida@gmail.com wrote:

just install @type/cal-heatmap and cal-heatmap npm packages ! im actually now working on a project, i didnt have to time to do it

On Sun, 4 Oct 2020 at 15:55, Omkar Phansopkar notifications@github.com wrote:

Hi @wassimbj https://github.com/wassimbj Did you get any docs for cal-heatmap package in Typescript?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LoginRadius/cascade/issues/9#issuecomment-703267321, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI5GSYK3TEKAFZIARQCNBQLSJCEHLANCNFSM4R6UDCKA .

OmkarPh commented 3 years ago

Sorry to bother you, but I still couldn't find Typescript specific docs, can you send exact link? 😁🙏

mohammed786 commented 3 years ago

Hey @OmkarPh You can follow the same doc which is there for Javascript, all other things will be handled by @types/cal-heatmap

OmkarPh commented 3 years ago

I tried but couldn't work ahead with it I am newbie in Typescript, maybe that's a reason, I'll see @wassimbj code later There's a lot of room to learn 😄

mohammed786 commented 3 years ago

Hey @wassimbj , assiging this isssue to you.

wassimbj commented 3 years ago

@mohammed786 i finished creating the heat map, if you can take a look at the pull request