Add users/contributors map to the dashboard #7
a0m0rajab
started this conversation in
Feature request
Replies: 1 comment 4 replies
-
I think if this could be put together as a proof of concept in a separate repo, we could evaluate it. You provide a few different options that I'd love to see as a solution. I would lean towards using the https://github.com/open-sauced/api.opensauced.pizza to support this. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
due to the conversation in this thread at discord: https://discord.com/channels/714698561081704529/928693344358514698/threads/1102364402583339180
I wanted to know if this is a feature that should be implemented for open sauced.
The map could be a heat map like this one:
or could be a pin map like this:
https://githubcampus.expert/
For the technical details we have the next:
The action is generating the heat map: https://github.com/tunaitis/contributor-map is using a database to map the users with the related country and has a normalisation function for some type of the locations.
OpenSauced insights is showing the users logins/usernames which we can use for the call to GitHub GraphQL to get the location and use them, the issue here is that I do not think we can do it on the frontend on realtime without a need to have a database check on the backend.
As for the pin map, it's using leaflet which requires the latitude and longitude of the users.
Here is another library that we can use for the heatmap though: https://datamaps.github.io/
Beta Was this translation helpful? Give feedback.
All reactions