girlscript / gssoc-website-new

GSSoC'24 Official Website
https://gssoc.girlscript.tech
71 stars 75 forks source link

Give badges according to some milestones #230

Closed sanjay-kv closed 1 month ago

sanjay-kv commented 1 month ago

Planning to roll out badges on weekly basis based on the performance.

image

image

Badges 60 points 140 points 200 points 300 points 500 points  And so on

100 points- participation certi eligible 200 points- exceptional contributor 350+- outstanding contributor Then Top 100 contributors And top 10 contributors

Certificates will be rolled out once the program ends

But badges will be rolled out on weekly basis

Drive Link badge: https://drive.google.com/drive/folders/1PitmAGJ5YmczVXrVTEFlsThqktZlcMxn?usp=drive_link sample badge WhatsApp Image 2024-05-12 at 21 25 11_a9212f8f

khAja13 commented 1 month ago

@sanjay-kv the badges will be rolled out based on PR's? Or on what basis?

sanjay-kv commented 1 month ago

Yes , based on Score board PR

khAja13 commented 1 month ago

image

So, exactly which badge need to show here for every user?

sanjay-kv commented 1 month ago

A person who scores >60 points get the attached badge by default.

Look into this doc: https://docs.google.com/spreadsheets/d/173mtIGnZtVY0FjQsH6z7brZ9rNY6zSAYE1V-zk4fkUU/edit?usp=sharing

sanjay-kv commented 1 month ago

image

Explorer badge

khAja13 commented 1 month ago

image

khAja13 commented 1 month ago

Do you also want me to show the tooltip on hovering on a badge?

sanjay-kv commented 1 month ago

Yes that would be great.

khAja13 commented 1 month ago

image

Is it fine? @sanjay-kv

sanjay-kv commented 1 month ago

yes. its good. I think if the badge background removed it would be more UI friendly. Whats your thought.

+if you available for 1:1 gmeet for 15 min, let me know. your work is great.

khAja13 commented 1 month ago

Yup, we can connect now Sanjay.

sanjay-kv commented 1 month ago

you can join here https://meet.google.com/efw-zwdb-rqc

Im on it.

sanjay-kv commented 1 month ago

I assigned you lables.

sanjay-kv commented 1 month ago

image

@khAja13 Its the response from prev year team.

khAja13 commented 1 month ago

We need the 2024 sheet details and also do we access to the 2023 backend code which was deployed in render?

sanjay-kv commented 1 month ago

I will get back you on this. @khAja13

sanjay-kv commented 1 month ago

@khAja13 this is the reply i got.

there's a repo in same org named gssoc-leaderboard-backend. https://github.com/girlscript/gssoc22-leaderboard-backend It's a simple Node app that runs a cron job & fetches via GitHub octokit api/sdk

json file was used to make the content static so that it dint update after program close

sanjay-kv commented 1 month ago

So they are not using json file they using the above repo to fetch the PR's

khAja13 commented 1 month ago

Since all of the code base is there, then I think we just need to provide the Opensheet URL to it, where it has all the data

khAja13 commented 1 month ago

With that data and doing some changes in the codebase, we can test it

sanjay-kv commented 1 month ago

alright is the list of project sheet you needed to make the opensheet right?

Please check this: https://docs.google.com/spreadsheets/d/1JiqHjGyf43NNkou4PBe7WT4KEyueuFJct2p322nNMNw/edit#gid=0

khAja13 commented 1 month ago

Yup this is the sheet we needed

sanjay-kv commented 1 month ago

Please check if you can pull leaderboard of this year in local system. Then half of problem solved .

khAja13 commented 1 month ago

Do you want me to create a new repo for 2024 leaderboard or let's use that same repo and do the changes needed?

sanjay-kv commented 1 month ago

Let's create new repo for 2024 .

khAja13 commented 1 month ago

Can you tell me the exact gsoc label by which we need to search and also the date range of PR's which needs to be considered?

sanjay-kv commented 1 month ago

gssoc

level1,level2,level3

khAja13 commented 1 month ago

so every repo has to have that gssoc label right?

sanjay-kv commented 1 month ago

yes

khAja13 commented 1 month ago

But I see a repo where it has GSSoC'24, so with this we get empty results

sanjay-kv commented 1 month ago

can we include two labels, i see few repo used GSSoC'24 label.

khAja13 commented 1 month ago

And the dates range which we are considering for PR's?

sanjay-kv commented 1 month ago

starting from 10th May 2024

sanjay-kv commented 1 month ago

@Princegupta101 I will be unavailble for next 7 hours, help @khAja13 with necessary information. Thanks.

khAja13 commented 1 month ago

This is the 2024 leaderboard data(Backend): https://[512f-49-43-224-144.ngrok-free.app/OSLeaderboard](https://512f-49-43-224-144.ngrok-free.app/OSLeaderboard)

This is the frontend: https://b438-49-43-224-218.ngrok-free.app/leaderboard

sanjay-kv commented 1 month ago

Thanks.

I believe we didnt pullled all data. Few of the contributors in my repo are missing. any idea for how to cross check it?

sanjay-kv commented 1 month ago

image

I searched few projects like this, but my repos like scrape ML, StackOverflow are missing. so I hope some other projects will be in missing as well. Whats your thoughts @Princegupta101

khAja13 commented 1 month ago

Thanks.

I believe we didnt pullled all data. Few of the contributors in my repo are missing. any idea for how to cross check it?

Yes, we didn't pulled all data because the given project links are invalid. I do have some list of invalid project links and i did cross check and yes they are invalid. So if we can change in the given sheet itself then all of these things will be sorted.

sanjay-kv commented 1 month ago

@khAja13 I found out the issue.

Right now only fetching labels with gssoc, GSSOC24 or only GSSOC24

but we mainly focus on labels gssoc, so repo with only gssoc is not pulled here.

khAja13 commented 1 month ago

StackOverflow

image

This is how it will look if we remove bg and apply dark mode

sanjay-kv commented 1 month ago

thats not good. i will check withmy graphic team regarding updates.

khAja13 commented 1 month ago

@khAja13 I found out the issue.

Right now only fetching labels with gssoc, GSSOC24 or only GSSOC24

but we mainly focus on labels gssoc, so repo with only gssoc is not pulled here.

In that case give me all the possible labels...now I am fetching the issues with labels gssoc24,GSSoC'24 only

sanjay-kv commented 1 month ago

gssoc24,GSSoC'24, gssoc

These are the labels.

with level1,level2, level3

khAja13 commented 1 month ago

https://github.com/Counselllor https://github.com/jaibhedia/NPB_LandRecordManagement https://github.com/jaibhedia/NPB_VOTE_WEB3 https://github.com/Satyam1923/Spring https://github.com/amupedia2021 https://github.com/Indie-Kart https://github.com/itsmohit097/mern_stack_hospital_management_system https://github.com/Gagan-Space/Cansat-Ground-Station.git https://github.com/SB2318/UltimateHealth.git https://github.com/abhay-raj19/FitBody.git https://github.com/Chit-Chat-Org https://github.com/XceeDesigns/Website.git https://github.com/open-xyz/GlamourSaver

These are the repos for which I can't able to fetch anything

khAja13 commented 1 month ago

Thanks.

I believe we didnt pullled all data. Few of the contributors in my repo are missing. any idea for how to cross check it?

Can you tell me your repo details so that I can check?

sanjay-kv commented 1 month ago

https://github.com/Recode-Hive/Stackoverflow-Analysis

https://github.com/Recode-Hive/Scrape-ML

regarding those project not able to fetch I will check and update you.

khAja13 commented 1 month ago

https://github.com/Recode-Hive/Stackoverflow-Analysis

https://github.com/Recode-Hive/Scrape-ML

regarding those project not able to fetch I will check and update you.

Mostly those repo's names have been changed and some moved to other

khAja13 commented 1 month ago

Recode-Hive/Scrape-ML

After adding gssoc label (which I didn't added before) I was able to get the data of these 2 repos

sanjay-kv commented 1 month ago

Thanks, because i was only using gssoc labels.

My graphics team is working on the logos I will get back with you on updates.

sanjay-kv commented 1 month ago

@khAja13 When you free can i get simillar frontend with updated gssoc labels.

I want to see how many people made into leaderboard.